Partager via


RedisVectorStore(IDatabase, RedisVectorStoreOptions) Constructor

Definition

Initializes a new instance of the RedisVectorStore class.

public RedisVectorStore (StackExchange.Redis.IDatabase database, Microsoft.SemanticKernel.Connectors.Redis.RedisVectorStoreOptions? options = default);
new Microsoft.SemanticKernel.Connectors.Redis.RedisVectorStore : StackExchange.Redis.IDatabase * Microsoft.SemanticKernel.Connectors.Redis.RedisVectorStoreOptions -> Microsoft.SemanticKernel.Connectors.Redis.RedisVectorStore
Public Sub New (database As IDatabase, Optional options As RedisVectorStoreOptions = Nothing)

Parameters

database
StackExchange.Redis.IDatabase

The redis database to read/write indices from.

options
RedisVectorStoreOptions

Optional configuration options for this class.

Applies to