BotSharp/src/Infrastructure/BotSharp.OpenAPI/ViewModels/Knowledges/Request/CreateVectorCollectionRequest.cs

22 lines
540 B
C#
Raw Normal View History

2024-09-09 19:16:09 +00:00
using System.Text.Json.Serialization;
namespace BotSharp.OpenAPI.ViewModels.Knowledges;
public class CreateVectorCollectionRequest
{
[JsonPropertyName("collection_name")]
public string CollectionName { get; set; }
[JsonPropertyName("collection_type")]
public string CollectionType { get; set; }
[JsonPropertyName("provider")]
public string Provider { get; set; }
[JsonPropertyName("model")]
public string Model { get; set; }
[JsonPropertyName("dimension")]
public int Dimension { get; set; }
}