Share via


IPineconeMemoryStore.ListNamespacesAsync(String, CancellationToken) Method

Definition

List Namespaces

public System.Collections.Generic.IAsyncEnumerable<string?> ListNamespacesAsync (string indexName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListNamespacesAsync : string * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<string>
Public Function ListNamespacesAsync (indexName As String, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of String)

Parameters

indexName
String

The name of the index.

cancellationToken
CancellationToken

Cancellation Token to cancel the request.

Returns

A list of namespaces.

Remarks

This operation returns a list of all namespaces in the given index.

Applies to