RedisJsonVectorStoreRecordCollectionOptions<TRecord>.JsonNodeCustomMapper Property
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.
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.