Udostępnij za pośrednictwem


AzureCosmosDBMongoDBVectorStoreRecordCollectionOptions<TRecord>.BsonDocumentCustomMapper Property

Definition

Gets or sets an optional custom mapper to use when converting between the data model and the Azure CosmosDB MongoDB BSON object.

public Microsoft.Extensions.VectorData.IVectorStoreRecordMapper<TRecord,MongoDB.Bson.BsonDocument>? BsonDocumentCustomMapper { get; init; }
member this.BsonDocumentCustomMapper : Microsoft.Extensions.VectorData.IVectorStoreRecordMapper<'Record, MongoDB.Bson.BsonDocument> with get, set
Public Property BsonDocumentCustomMapper As IVectorStoreRecordMapper(Of TRecord, BsonDocument)

Property Value

IVectorStoreRecordMapper<TRecord,MongoDB.Bson.BsonDocument>

Applies to