Class CreateAutoEmbeddingVectorSearchIndexModel<TDocument>
Defines a vector index model for an auto-embedding vector index using strongly-typed C# APIs.
public sealed class CreateAutoEmbeddingVectorSearchIndexModel<TDocument> : CreateVectorSearchIndexModelBase<TDocument>
Type Parameters
TDocument
- Inheritance
-
CreateVectorSearchIndexModelBase<TDocument>CreateAutoEmbeddingVectorSearchIndexModel<TDocument>
- Inherited Members
Constructors
- CreateAutoEmbeddingVectorSearchIndexModel(FieldDefinition<TDocument>, string, string, params FieldDefinition<TDocument>[])
Initializes a new instance of the CreateAutoEmbeddingVectorSearchIndexModel<TDocument> for a vector index that will automatically create embeddings from a given field in the document. The embedding model to use must be passed to this constructor.
- CreateAutoEmbeddingVectorSearchIndexModel(Expression<Func<TDocument, object>>, string, string, params Expression<Func<TDocument, object>>[])
Initializes a new instance of the CreateAutoEmbeddingVectorSearchIndexModel<TDocument> for a vector index that will automatically create embeddings from a given field in the document. The embedding model to use must be passed to this constructor.
Properties
- AutoEmbeddingModelName
The name of the embedding model to use, such as "voyage-4", "voyage-4-large", etc.
- Modality
Indicates the type of data that will be embedded for an auto-embedding index.