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

14 lines
341 B
C#
Raw Normal View History

2023-07-30 18:22:07 +00:00
namespace BotSharp.Abstraction.Functions.Models;
2023-07-26 21:05:30 +00:00
public class FunctionDef
{
public string Name { get; set; }
public string Description { get; set; }
2023-09-28 03:31:58 +00:00
public FunctionParametersDef Parameters { get; set; } = new FunctionParametersDef();
2023-07-27 21:56:57 +00:00
public override string ToString()
{
return $"{Name}: {Description}";
}
2023-07-26 21:05:30 +00:00
}