OptionalcreateNumber of dimensions in the embedding vectors.
OptionaldistanceDistance metric for vector similarity.
Embedding function to generate embeddings from text. Can be a LangChain Embeddings instance or a function.
OptionalfieldsFields to extract text from for embedding generation. Uses JSON path syntax. Defaults to ["$"] (entire document).
OptionalhnswHNSW-specific configuration parameters. Only used when indexType is 'hnsw'.
OptionalindexVector index type to use.
OptionalivfflatIVFFlat-specific configuration parameters. Only used when indexType is 'ivfflat'.
Whether to create indexes for all distance metrics. If false, only creates index for the specified distanceMetric.