OpenAIClient.CreateAssistantAsync
OpenAIClient.CreateAssistantAsync method
Creates a new assistant asynchronously.
public Task<AssistantResponse> CreateAssistantAsync(AssistantCreateRequest assistantCreateRequest,
CancellationToken? cancellationToken = default)
Parameter | Type | Description |
---|---|---|
assistantCreateRequest | AssistantCreateRequest | The request object containing details for creating the assistant. |
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 assistant creation.
See Also
- class AssistantResponse
- class AssistantCreateRequest
- class OpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF