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

18 lines
555 B
C#
Raw Normal View History

2023-09-22 20:38:58 +00:00
using BotSharp.Abstraction.Functions.Models;
namespace BotSharp.Abstraction.Routing;
public interface IRoutingHandler
{
string Name { get; }
string Description { get; }
bool IsReasoning { get; }
bool RequireAgent { get; }
List<string> Parameters { get; }
void SetRouter(Agent router);
void SetDialogs(List<RoleDialogModel> dialogs);
Task<FunctionCallFromLlm> GetNextInstructionFromReasoner(string prompt);
Task<RoleDialogModel> GetResponseFromReasoner();
Task<RoleDialogModel> Handle(FunctionCallFromLlm inst);
}