次の方法で共有


RedisVectorStore Class

Definition

Class for accessing the list of collections in a Redis vector store.

public sealed class RedisVectorStore : Microsoft.SemanticKernel.Data.IVectorStore
type RedisVectorStore = class
    interface IVectorStore
Public NotInheritable Class RedisVectorStore
Implements IVectorStore
Inheritance
RedisVectorStore
Implements

Remarks

This class can be used with collections of any schema type, but requires you to provide schema information when getting a collection.

Constructors

RedisVectorStore(IDatabase, RedisVectorStoreOptions)

Initializes a new instance of the RedisVectorStore class.

Methods

GetCollection<TKey,TRecord>(String, VectorStoreRecordDefinition)

Get a collection from the vector store.

ListCollectionNamesAsync(CancellationToken)

Retrieve the names of all the collections in the vector store.

Applies to