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

28 lines
834 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; }
public bool? on_disk_payload { get; set; }
}
internal sealed class CreateCollectionReqeust
{
public CreateCollectionParameters create_collection { get; set; }
public CreateCollectionReqeust(string name, string distance, int vector_size,
bool? on_disk_payload = null)
{
create_collection = new CreateCollectionParameters
{
name = name,
distance = distance,
vector_size = vector_size,
on_disk_payload = on_disk_payload
};
}
}
}

Powered by TurnKey Linux.