BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/FunctionDef.cs

16 lines
330 B
C#
Raw Normal View History

2023-07-26 21:05:30 +00:00
using System.Text.Json;
namespace BotSharp.Abstraction.Conversations.Models;
public class FunctionDef
{
public string Name { get; set; }
public string Description { get; set; }
public JsonDocument Parameters { get; set; }
2023-07-27 21:56:57 +00:00
public override string ToString()
{
return $"{Name}: {Description}";
}
2023-07-26 21:05:30 +00:00
}