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

23 lines
654 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; }
2023-09-23 21:33:05 +00:00
bool IsReasoning { get => false; }
bool Enabled { get => true; }
List<string> Parameters { get => new List<string>(); }
void SetRouter(Agent router) { }
void SetDialogs(List<RoleDialogModel> dialogs) { }
Task<FunctionCallFromLlm> GetNextInstructionFromReasoner(string prompt)
=> throw new NotImplementedException("");
Task<RoleDialogModel> Handle(FunctionCallFromLlm inst)
=> throw new NotImplementedException("");
2023-09-22 20:38:58 +00:00
}