Optional
dimensionThe dimension of the vectors stored in the collections.
If service
is not provided, this must be set. Otherwise, the necessity of this being set comes on a per-model
basis:
You can find out more information about each model in the DataStax docs, or through DbAdmin.findEmbeddingProviders.
Optional
metricThe similarity metric to use for the vector search.
See intro to vector databases for more details.
Optional
serviceThe options for defining the embedding service used for vectorize, to automatically transform your text into a vector ready for semantic vector searching.
You can find out more information about each provider/model in the DataStax docs, or through DbAdmin.findEmbeddingProviders.
Optional
sourceConfigures the index with the fastest settings for a given source of embeddings vectors.
As of time of writing, example sourceModel
s include 'openai-v3-large'
, 'cohere-v3'
, 'bert'
, and a handful of others.
If no source model if provided, this setting will default to 'other'
.
Represents the options for the vector search.
Field
dimension - The dimension of the vectors.
Field
metric - The similarity metric to use for the vector search.
Field
service - Options related to configuring the automatic embedding service (vectorize)