Partager via


RedisJsonVectorStoreRecordCollectionOptions<TRecord>.JsonNodeCustomMapper Property

Definition

Gets or sets an optional custom mapper to use when converting between the data model and the Redis record.

public Microsoft.SemanticKernel.Data.IVectorStoreRecordMapper<TRecord,(string Key, System.Text.Json.Nodes.JsonNode Node)>? JsonNodeCustomMapper { get; init; }
member this.JsonNodeCustomMapper : Microsoft.SemanticKernel.Data.IVectorStoreRecordMapper<'Record, ValueTuple<string, System.Text.Json.Nodes.JsonNode> (requires 'Record : null)> with get, set
Public Property JsonNodeCustomMapper As IVectorStoreRecordMapper(Of TRecord, ValueTuple(Of String, JsonNode))

Property Value

Remarks

If not set, the default built in mapper will be used, which uses record attrigutes or the provided VectorStoreRecordDefinition to map the record.

Applies to