BotSharp/src/Infrastructure/BotSharp.Abstraction/Functions/Models/FunctionCallFromLlm.cs

18 lines
389 B
C#
Raw Normal View History

2023-08-28 03:50:10 +00:00
using BotSharp.Abstraction.Routing.Models;
namespace BotSharp.Abstraction.Functions.Models;
public class FunctionCallFromLlm
{
[JsonPropertyName("function")]
public string Function { get; set; }
[JsonPropertyName("parameters")]
public RetrievalArgs Parameters { get; set; }
2023-09-19 12:17:50 +00:00
public override string ToString()
{
2023-09-20 10:31:50 +00:00
return $"{Function} {Parameters}";
2023-09-19 12:17:50 +00:00
}
2023-08-28 03:50:10 +00:00
}