Share via


RedisServiceCollectionExtensions Class

Definition

Extension methods to register Redis IVectorStore instances on an IServiceCollection.

public static class RedisServiceCollectionExtensions
type RedisServiceCollectionExtensions = class
Public Module 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