ResponsesProvider.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.
Persists a newly created response along with its resolved input items and history item IDs.
public abstract System.Threading.Tasks.Task CreateResponseAsync(Azure.AI.AgentServer.Responses.CreateResponseRequest request, Azure.AI.AgentServer.Core.IsolationContext isolation, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateResponseAsync : Azure.AI.AgentServer.Responses.CreateResponseRequest * Azure.AI.AgentServer.Core.IsolationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function CreateResponseAsync (request As CreateResponseRequest, isolation As IsolationContext, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- request
- CreateResponseRequest
The create-response request containing the response snapshot, input items, and history item IDs.
- isolation
- IsolationContext
The platform isolation context. Use Empty when not applicable.
- cancellationToken
- CancellationToken
A token to cancel the operation.