AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options when creating a AzureCosmosDBMongoDBVectorStoreRecordCollection<TRecord>.
public sealed class AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord> where TRecord : class
type AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<'Record (requires 'Record : null)> = class
Public NotInheritable Class AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions(Of TRecord)
Type Parameters
- TRecord
- Inheritance
-
AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord>
Constructors
AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord>() |
Properties
BsonDocumentCustomMapper |
Gets or sets an optional custom mapper to use when converting between the data model and the Azure CosmosDB MongoDB BSON object. |
EfConstruction |
The size of the dynamic candidate list for constructing the graph (64 by default, minimum value is 4, maximum value is 1000). Higher ef_construction will result in better index quality and higher accuracy, but it will also increase the time required to build the index. EfConstruction has to be at least 2 * m |
NumLists |
This integer is the number of clusters that the inverted file (IVF) index uses to group the vector data. Default is 1. We recommend that numLists is set to documentCount/1000 for up to 1 million documents and to sqrt(documentCount) for more than 1 million documents. Using a numLists value of 1 is akin to performing brute-force search, which has limited performance. |
VectorStoreRecordDefinition |
Gets or sets an optional record definition that defines the schema of the record type. |