Partager via


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.SemanticKernel.Data.IVectorStoreRecordMapper<TRecord,MongoDB.Bson.BsonDocument>? BsonDocumentCustomMapper { get; init; }
member this.BsonDocumentCustomMapper : Microsoft.SemanticKernel.Data.IVectorStoreRecordMapper<'Record, MongoDB.Bson.BsonDocument (requires 'Record : null)> with get, set
Public Property BsonDocumentCustomMapper As IVectorStoreRecordMapper(Of TRecord, BsonDocument)

Property Value

IVectorStoreRecordMapper<TRecord,MongoDB.Bson.BsonDocument>

Applies to