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

12 lines
489 B
C#
Raw Normal View History

2023-06-17 02:42:35 +00:00
using BotSharp.Abstraction.Knowledges.Models;
namespace BotSharp.Abstraction.Knowledges;
public interface IKnowledgeService
{
Task<IEnumerable<KnowledgeRetrievalResult>> SearchKnowledge(KnowledgeRetrievalModel model);
Task FeedKnowledge(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
}