BotSharp/src/Infrastructure/BotSharp.OpenAPI/ViewModels/Embeddings/EmbeddingInputModel.cs

13 lines
324 B
C#
Raw Normal View History

2024-07-01 02:14:02 +00:00
using System.Text.Json.Serialization;
namespace BotSharp.OpenAPI.ViewModels.Embeddings;
public class EmbeddingInputModel : MessageConfig
{
[JsonPropertyName("texts")]
public IEnumerable<string> Texts { get; set; } = new List<string>();
[JsonPropertyName("dimension")]
public int Dimension { get; set; }
}