RedisServiceCollectionExtensions Class

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.

Extension methods to register Redis IVectorStore instances on an IServiceCollection.

C#
public static class RedisServiceCollectionExtensions
Inheritance
RedisServiceCollectionExtensions

Methods

AddRedisVectorStore(IServiceCollection, RedisVectorStoreOptions, String)

Register a Redis IVectorStore with the specified service ID and where the Redis StackExchange.Redis.IDatabase is retrieved from the dependency injection container.

AddRedisVectorStore(IServiceCollection, String, RedisVectorStoreOptions, String)

Register a Redis IVectorStore with the specified service ID and where the Redis StackExchange.Redis.IDatabase is constructed using the provided redisConnectionConfiguration.

Applies to

Proizvod Verzije
Semantic Kernel Dotnet Latest