IOpenAIClient.CreateVectorStoreAsync
IOpenAIClient.CreateVectorStoreAsync method
Creates a new vector store asynchronously.
public Task<VectorStoreResponse> CreateVectorStoreAsync(
VectorStoreCreateRequest vectorStoreCreateRequest,
CancellationToken? cancellationToken = default)
Parameter | Type | Description |
---|---|---|
vectorStoreCreateRequest | VectorStoreCreateRequest | The request object containing details for creating the vector store. |
cancellationToken | Nullable`1 | A token to cancel the operation. |
Return Value
A task that represents the asynchronous operation. The task result contains the response from the vector store creation.
See Also
- class VectorStoreResponse
- class VectorStoreCreateRequest
- interface IOpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF