Partager via


RedisJsonVectorStoreRecordCollectionOptions<TRecord> Class

Definition

public sealed class RedisJsonVectorStoreRecordCollectionOptions<TRecord> where TRecord : class
type RedisJsonVectorStoreRecordCollectionOptions<'Record (requires 'Record : null)> = class
Public NotInheritable Class RedisJsonVectorStoreRecordCollectionOptions(Of TRecord)

Type Parameters

TRecord
Inheritance
RedisJsonVectorStoreRecordCollectionOptions<TRecord>

Constructors

RedisJsonVectorStoreRecordCollectionOptions<TRecord>()

Properties

JsonNodeCustomMapper

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

JsonSerializerOptions

Gets or sets the JSON serializer options to use when converting between the data model and the Redis record.

PrefixCollectionNameToKeyNames

Gets or sets a value indicating whether the collection name should be prefixed to the key names before reading or writing to the Redis store. Default is true.

VectorStoreRecordDefinition

Gets or sets an optional record definition that defines the schema of the record type.

Applies to