Update KnowledgeBasePlugin.cs

This commit is contained in:
AaronWar 2025-02-05 07:51:39 +08:00 committed by GitHub
parent 52f7e01002
commit 63fb9c2e34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,8 @@ public class KnowledgeBasePlugin : IBotSharpPlugin
services.AddSingleton<IPdf2TextConverter, PigPdf2TextConverter>();
services.AddScoped<IAgentUtilityHook, KnowledgeBaseUtilityHook>();
services.AddScoped<IKnowledgeService, KnowledgeService>();
services.AddScoped<IKnowledgeHook, KnowledgeHook>();
}
public bool AttachMenu(List<PluginMenuDef> menu)