13 lines
386 B
C#
13 lines
386 B
C#
using BotSharp.Abstraction.Instructs.Models;
|
|
|
|
namespace BotSharp.Abstraction.Instructs;
|
|
|
|
public interface IInstructService
|
|
{
|
|
Task<InstructResult> ExecuteInstruction(Agent agent,
|
|
RoleDialogModel message,
|
|
Func<RoleDialogModel, Task> onMessageReceived,
|
|
Func<RoleDialogModel, Task> onFunctionExecuting,
|
|
Func<RoleDialogModel, Task> onFunctionExecuted);
|
|
}
|