2023-10-28 20:59:26 +00:00
|
|
|
using BotSharp.Abstraction.Functions.Models;
|
|
|
|
|
|
2024-01-29 18:08:49 +00:00
|
|
|
namespace BotSharp.Abstraction.Routing.Planning;
|
2023-10-28 20:59:26 +00:00
|
|
|
|
|
|
|
|
public interface IExecutor
|
|
|
|
|
{
|
2024-01-29 18:08:49 +00:00
|
|
|
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
|
|
|
}
|