IOpenAIClient.ModifyAssistantAsync
IOpenAIClient.ModifyAssistantAsync method
Modifies an existing assistant asynchronously.
public Task<AssistantResponse> ModifyAssistantAsync(string assistantId,
AssistantModifyRequest assistantModifyRequest, CancellationToken? cancellationToken = default)
Parameter | Type | Description |
---|---|---|
assistantId | String | The ID of the assistant to modify. |
assistantModifyRequest | AssistantModifyRequest | The request object containing modification details. |
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 modification.
Exceptions
exception | condition |
---|---|
AIClientException | Thrown when the assistant Id is null or empty. |
See Also
- class AssistantResponse
- class AssistantModifyRequest
- interface IOpenAIClient
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF