2023-06-17 02:42:35 +00:00
|
|
|
namespace BotSharp.Abstraction.Knowledges;
|
|
|
|
|
|
|
|
|
|
public interface IKnowledgeService
|
|
|
|
|
{
|
2024-08-13 18:26:57 +00:00
|
|
|
Task<IEnumerable<string>> GetKnowledgeCollections();
|
2024-08-09 22:39:54 +00:00
|
|
|
Task<IEnumerable<KnowledgeRetrievalResult>> SearchKnowledge(string collectionName, KnowledgeRetrievalOptions options);
|
|
|
|
|
Task FeedKnowledge(string collectionName, KnowledgeCreationModel model);
|
2024-08-07 16:50:23 +00:00
|
|
|
Task<StringIdPagedItems<KnowledgeCollectionData>> GetKnowledgeCollectionData(string collectionName, KnowledgeFilter filter);
|
2024-08-08 22:15:51 +00:00
|
|
|
Task<bool> DeleteKnowledgeCollectionData(string collectionName, string id);
|
2023-06-17 02:42:35 +00:00
|
|
|
}
|