Partager via


IPineconeClient.DoesIndexExistAsync(String, CancellationToken) Method

Definition

Check if a vector collection exists.

public System.Threading.Tasks.Task<bool> DoesIndexExistAsync (string indexName, System.Threading.CancellationToken cancellationToken = default);
abstract member DoesIndexExistAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DoesIndexExistAsync (indexName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

indexName
String

The name assigned to a collection of vectors.

cancellationToken
CancellationToken

Cancellation Token.

Returns

Applies to