Partager via


RedisKernelBuilderExtensions Class

Definition

Extension methods to register Redis IVectorStore instances on the IKernelBuilder.

public static class RedisKernelBuilderExtensions
type RedisKernelBuilderExtensions = class
Public Module RedisKernelBuilderExtensions
Inheritance
RedisKernelBuilderExtensions

Methods

AddRedisVectorStore(IKernelBuilder, 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(IKernelBuilder, 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