2023-09-27 12:51:15 +00:00
|
|
|
using BotSharp.Abstraction.Functions.Models;
|
|
|
|
|
|
2023-09-03 04:11:53 +00:00
|
|
|
namespace BotSharp.Abstraction.Routing;
|
|
|
|
|
|
|
|
|
|
public interface IRoutingService
|
|
|
|
|
{
|
2023-09-19 12:17:50 +00:00
|
|
|
List<RoleDialogModel> Dialogs { get; }
|
2023-09-27 12:51:15 +00:00
|
|
|
Task<FunctionCallFromLlm> GetNextInstruction(string prompt);
|
|
|
|
|
Task<RoleDialogModel> InvokeAgent(string agentId);
|
2023-09-25 22:46:00 +00:00
|
|
|
Task<RoleDialogModel> InstructLoop();
|
2023-09-23 21:33:05 +00:00
|
|
|
Task<RoleDialogModel> ExecuteOnce(Agent agent);
|
2023-09-03 04:11:53 +00:00
|
|
|
}
|