Partager via


AzureCosmosDBNoSQLVectorStore Class

Definition

Class for accessing the list of collections in a Azure CosmosDB NoSQL vector store.

public sealed class AzureCosmosDBNoSQLVectorStore : Microsoft.SemanticKernel.Data.IVectorStore
type AzureCosmosDBNoSQLVectorStore = class
    interface IVectorStore
Public NotInheritable Class AzureCosmosDBNoSQLVectorStore
Implements IVectorStore
Inheritance
AzureCosmosDBNoSQLVectorStore
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

AzureCosmosDBNoSQLVectorStore(Database, AzureCosmosDBNoSQLVectorStoreOptions)

Initializes a new instance of the AzureCosmosDBNoSQLVectorStore 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