You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel.Qdrant/Models/Requests/CreateCollectionReqeust.cs

24 lines
689 B

namespace ZeroLevel.Qdrant.Models.Requests
{
internal sealed class CreateCollectionParameters
{
public string name { get; set; }
public string distance { get; set; }
public int vector_size { get; set; }
}
internal sealed class CreateCollectionReqeust
{
public CreateCollectionParameters create_collection { get; set; }
public CreateCollectionReqeust(string name, string distance, int vector_size)
{
create_collection = new CreateCollectionParameters
{
name = name,
distance = distance,
vector_size = vector_size
};
}
}
}

Powered by TurnKey Linux.