BotSharp/src/Infrastructure/BotSharp.Abstraction/Routing/IRoutingService.cs

11 lines
355 B
C#
Raw Normal View History

2023-09-03 04:11:53 +00:00
namespace BotSharp.Abstraction.Routing;
public interface IRoutingService
{
2023-10-30 16:48:18 +00:00
Agent Router { get; }
void ResetRecursiveCounter();
2023-10-30 16:48:18 +00:00
Task<bool> InvokeAgent(string agentId, List<RoleDialogModel> dialogs);
Task<RoleDialogModel> InstructLoop(RoleDialogModel message);
Task<RoleDialogModel> ExecuteOnce(Agent agent, RoleDialogModel message);
2023-09-03 04:11:53 +00:00
}