Share via


RedisKernelBuilderExtensions Class

Definition

Extension methods to register Redis Microsoft.Extensions.VectorData.IVectorStore instances on the IKernelBuilder.

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

Methods

AddRedisHashSetVectorStoreRecordCollection<TRecord>(IKernelBuilder, String, RedisHashSetVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Redis Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 with the specified service ID and where the Redis StackExchange.Redis.IDatabase is retrieved from the dependency injection container.

AddRedisHashSetVectorStoreRecordCollection<TRecord>(IKernelBuilder, String, String, RedisHashSetVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Redis Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 with the specified service ID and where the Redis StackExchange.Redis.IDatabase is constructed using the provided redisConnectionConfiguration.

AddRedisJsonVectorStoreRecordCollection<TRecord>(IKernelBuilder, String, RedisJsonVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Redis Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 with the specified service ID and where the Redis StackExchange.Redis.IDatabase is retrieved from the dependency injection container.

AddRedisJsonVectorStoreRecordCollection<TRecord>(IKernelBuilder, String, String, RedisJsonVectorStoreRecordCollectionOptions<TRecord>, String)

Register a Redis Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2 with the specified service ID and where the Redis StackExchange.Redis.IDatabase is constructed using the provided redisConnectionConfiguration.

AddRedisVectorStore(IKernelBuilder, RedisVectorStoreOptions, String)

Register a Redis Microsoft.Extensions.VectorData.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 Microsoft.Extensions.VectorData.IVectorStore with the specified service ID and where the Redis StackExchange.Redis.IDatabase is constructed using the provided redisConnectionConfiguration.

Applies to