Freigeben über


RedisVectorStoreOptions.VectorStoreCollectionFactory Property

Definition

Caution

To control how collections are instantiated, extend your provider's IVectorStore implementation and override GetCollection()

An optional factory to use for constructing RedisJsonVectorStoreRecordCollection<TRecord> instances, if a custom record collection is required.

[System.Obsolete("To control how collections are instantiated, extend your provider's IVectorStore implementation and override GetCollection()")]
public Microsoft.SemanticKernel.Connectors.Redis.IRedisVectorStoreRecordCollectionFactory? VectorStoreCollectionFactory { get; init; }
[<System.Obsolete("To control how collections are instantiated, extend your provider's IVectorStore implementation and override GetCollection()")>]
member this.VectorStoreCollectionFactory : Microsoft.SemanticKernel.Connectors.Redis.IRedisVectorStoreRecordCollectionFactory with get, set
Public Property VectorStoreCollectionFactory As IRedisVectorStoreRecordCollectionFactory

Property Value

Attributes

Applies to