Udostępnij za pośrednictwem


OpenAIAssistantAgent.DeleteAsync(CancellationToken) Method

Definition

Delete the assistant definition.

public System.Threading.Tasks.Task<bool> DeleteAsync (System.Threading.CancellationToken cancellationToken = default);
member this.DeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DeleteAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

True if assistant definition has been deleted

Remarks

Assistant based agent will not be useable after deletion.

Applies to