IOpenAIClient.ModifyVectorStoreAsync

IOpenAIClient.ModifyVectorStoreAsync method

Modifies an existing vector store asynchronously.

public Task<VectorStoreResponse> ModifyVectorStoreAsync(string vectorStoreId, 
    VectorStoreModifyRequest vectorStoreModifyRequest, 
    CancellationToken? cancellationToken = default)
ParameterTypeDescription
vectorStoreIdStringThe ID of the vector store to modify.
vectorStoreModifyRequestVectorStoreModifyRequestThe request object containing modification details.
cancellationTokenNullable`1A token to cancel the operation.

Return Value

A task that represents the asynchronous operation. The task result contains the response from the vector store modification.

Exceptions

exceptioncondition
AIClientExceptionThrown when the vector store Id is null or empty.

See Also