CreateResponseRequest Constructor
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.
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.