CreateResponseRequest Constructor

Definition

Initializes a new instance of CreateResponseRequest.

public CreateResponseRequest(Azure.AI.AgentServer.Responses.Models.ResponseObject response, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.OutputItem>? inputItems, System.Collections.Generic.IEnumerable<string>? historyItemIds);
new Azure.AI.AgentServer.Responses.CreateResponseRequest : Azure.AI.AgentServer.Responses.Models.ResponseObject * seq<Azure.AI.AgentServer.Responses.Models.OutputItem> * seq<string> -> Azure.AI.AgentServer.Responses.CreateResponseRequest
Public Sub New (response As ResponseObject, inputItems As IEnumerable(Of OutputItem), historyItemIds As IEnumerable(Of String))

Parameters

response
ResponseObject

The response snapshot to store. Must not be null.

inputItems
IEnumerable<OutputItem>

The resolved input items for this response, or null for empty.

historyItemIds
IEnumerable<String>

The resolved history item IDs, or null for empty.

Exceptions

Thrown when response is null.

Applies to