ResponseResultExtensions.CreateResponseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<System.ClientModel.ClientResult<OpenAI.Responses.ResponseResult>> CreateResponseAsync(this OpenAI.Responses.ResponsesClient responseClient, Azure.AI.Projects.OpenAI.ProjectConversation conversation, Azure.AI.Projects.OpenAI.AgentReference agentRef, System.Threading.CancellationToken cancellationToken = default);
static member CreateResponseAsync : OpenAI.Responses.ResponsesClient * Azure.AI.Projects.OpenAI.ProjectConversation * Azure.AI.Projects.OpenAI.AgentReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.ClientModel.ClientResult<OpenAI.Responses.ResponseResult>>
<Extension()>
Public Function CreateResponseAsync (responseClient As ResponsesClient, conversation As ProjectConversation, agentRef As AgentReference, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClientResult(Of ResponseResult))
Parameters
- responseClient
- OpenAI.Responses.ResponsesClient
- conversation
- ProjectConversation
- agentRef
- AgentReference
- cancellationToken
- CancellationToken