22 lines
540 B
C#
22 lines
540 B
C#
|
|
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; }
|
||
|
|
}
|