BotSharp/src/Infrastructure/BotSharp.Abstraction/Routing/Planning/IExecutor.cs

13 lines
351 B
C#
Raw Normal View History

2023-10-28 20:59:26 +00:00
using BotSharp.Abstraction.Functions.Models;
namespace BotSharp.Abstraction.Routing.Planning;
2023-10-28 20:59:26 +00:00
public interface IExecutor
{
Task<RoleDialogModel> Execute(IRoutingService routing,
2023-10-28 20:59:26 +00:00
FunctionCallFromLlm inst,
2023-10-30 16:48:18 +00:00
RoleDialogModel message,
2024-04-30 21:25:58 +00:00
List<RoleDialogModel> dialogs,
Func<RoleDialogModel, Task> onFunctionExecuting);
2023-10-28 20:59:26 +00:00
}