BotSharp/src/Infrastructure/BotSharp.Abstraction/Knowledges/IKnowledgeService.cs

11 lines
541 B
C#
Raw Normal View History

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-15 03:46:01 +00:00
Task<IEnumerable<KnowledgeSearchResult>> SearchKnowledge(string collectionName, KnowledgeSearchOptions options);
2024-08-09 22:39:54 +00:00
Task FeedKnowledge(string collectionName, KnowledgeCreationModel model);
2024-08-15 03:46:01 +00:00
Task<StringIdPagedItems<KnowledgeSearchResult>> 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
}