BotSharp/src/Infrastructure/BotSharp.Abstraction/Instructs/IInstructService.cs

11 lines
352 B
C#
Raw Normal View History

2023-09-01 22:26:25 +00:00
namespace BotSharp.Abstraction.Instructs;
public interface IInstructService
{
Task<bool> ExecuteInstructionRecursively(Agent agent,
List<RoleDialogModel> wholeDialogs,
Func<RoleDialogModel, Task> onMessageReceived,
Func<RoleDialogModel, Task> onFunctionExecuting,
Func<RoleDialogModel, Task> onFunctionExecuted);
}