Share via


VectorStores.GetVectorStoreFileBatch Method

Definition

Retrieve a vector store file batch.

public virtual Azure.Response<Azure.AI.Agents.Persistent.VectorStoreFileBatch> GetVectorStoreFileBatch(string vectorStoreId, string batchId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVectorStoreFileBatch : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Agents.Persistent.VectorStoreFileBatch>
override this.GetVectorStoreFileBatch : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Agents.Persistent.VectorStoreFileBatch>
Public Overridable Function GetVectorStoreFileBatch (vectorStoreId As String, batchId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VectorStoreFileBatch)

Parameters

vectorStoreId
String

Identifier of the vector store.

batchId
String

Identifier of the file batch.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vectorStoreId or batchId is null.

vectorStoreId or batchId is an empty string, and was expected to be non-empty.

Applies to