react-native-nitro-sqlite-vecInterfaces
CreateVectorTableOptions
TypeScriptSource files: TypeScript
Settings for a vec0 virtual table created by createVectorTable.
Properties
column?
optional column?: string
Defined in: index.ts:28
Trusted SQL column identifier. Defaults to 'embedding'.
dimensions
dimensions: number
Defined in: index.ts:22
Number of dimensions passed to vec0 for the vector column.
distanceMetric?
optional distanceMetric?: VectorDistanceMetric
Defined in: index.ts:26
Distance metric. Omit to use sqlite-vec's default (L2).
type?
optional type?: VectorColumnType
Defined in: index.ts:24
Vector storage type. Defaults to 'float' (float32).