다음을 통해 공유


RedisVectorStore Class

Definition

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

public class RedisVectorStore : Microsoft.Extensions.VectorData.IVectorStore
type RedisVectorStore = class
    interface IVectorStore
Public Class RedisVectorStore
Implements IVectorStore
Inheritance
RedisVectorStore
Implements
Microsoft.Extensions.VectorData.IVectorStore

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) Microsoft.Extensions.VectorData.IVectorStore.GetCollection``2(System.String,Microsoft.Extensions.VectorData.VectorStoreRecordDefinition)
ListCollectionNamesAsync(CancellationToken) Microsoft.Extensions.VectorData.IVectorStore.ListCollectionNamesAsync(System.Threading.CancellationToken)

Applies to