mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 22:48:42 +00:00
Layout
This commit is contained in:
@@ -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