EmbeddingGenerator

This property specifies the default embedding generator to use for generating vector embeddings when working with the vector store.

Declaration

// C#
public IEmbeddingGenerator? EmbeddingGenerator { get; set; }

Property Value

The default embedding generator to use for generating vector embeddings when working with the vector store.

Remarks

When embedding is specified, the collections under this vector store uses the EmbeddingGenerator to generate embeddings. The default property value is null. When the embedding generator is provided, the vector store automatically generates the embedding during both upsert and search operations, eliminating the need for the application to generate and provide the embedding.