diff --git a/src/Infrastructure/BotSharp.Abstraction/Instructs/IInstructService.cs b/src/Infrastructure/BotSharp.Abstraction/Instructs/IInstructService.cs index f1d17b93..7e59ecea 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Instructs/IInstructService.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Instructs/IInstructService.cs @@ -14,6 +14,13 @@ public interface IInstructService /// Task Execute(string agentId, RoleDialogModel message, string? templateName = null, string? instruction = null); - + /// + /// A generic way to execute completion by using specified instruction or template + /// + /// + /// + /// + /// + /// Task Instruct(string instruction, string agentId, InstructOptions options) where T : class; }