2023-09-08 17:03:49 +00:00
|
|
|
using BotSharp.Abstraction.Instructs.Models;
|
|
|
|
|
|
2023-09-01 22:26:25 +00:00
|
|
|
namespace BotSharp.Abstraction.Instructs;
|
|
|
|
|
|
|
|
|
|
public interface IInstructService
|
|
|
|
|
{
|
2023-09-08 17:03:49 +00:00
|
|
|
Task<InstructResult> ExecuteInstruction(Agent agent,
|
|
|
|
|
RoleDialogModel message,
|
2023-09-01 22:26:25 +00:00
|
|
|
Func<RoleDialogModel, Task> onMessageReceived,
|
|
|
|
|
Func<RoleDialogModel, Task> onFunctionExecuting,
|
|
|
|
|
Func<RoleDialogModel, Task> onFunctionExecuted);
|
|
|
|
|
}
|