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 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. |