mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-03-31 18:38:22 +00:00
LLM
This commit is contained in:
22
Esiur/Schema/Llm/LlmFunctionModel.cs
Normal file
22
Esiur/Schema/Llm/LlmFunctionModel.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Esiur.Schema.Llm
|
||||
{
|
||||
public sealed class LlmFunctionModel
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("returns")]
|
||||
public string Returns { get; set; } = "void";
|
||||
|
||||
[JsonPropertyName("parameters")]
|
||||
public List<LlmParameterModel> Parameters { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("annotation")]
|
||||
public string? Annotation { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user