RedisVectorStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |