Table of Contents

Method BuildCreateSql

Namespace
Qavren.Edge.Sqlite.Vec
Assembly
Qavren.Edge.Sqlite.dll

BuildCreateSql(string, int, VecMetric?, VecElementType, IEnumerable<VecAuxColumn>?, IEnumerable<VecMetadataColumn>?, IEnumerable<VecPartitionKey>?, int?, string)

public static string BuildCreateSql(string name, int dims, VecMetric? metric = VecMetric.Cosine, VecElementType elementType = VecElementType.Float32, IEnumerable<VecAuxColumn>? aux = null, IEnumerable<VecMetadataColumn>? metadata = null, IEnumerable<VecPartitionKey>? partitions = null, int? chunkSize = null, string vectorColumn = "embedding")

Parameters

name string
dims int
metric VecMetric?
elementType VecElementType
aux IEnumerable<VecAuxColumn>
metadata IEnumerable<VecMetadataColumn>
partitions IEnumerable<VecPartitionKey>
chunkSize int?
vectorColumn string

Returns

string