CreateResponseExtensions.GetConversationExpanded(CreateResponse) 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.
Expands the Conversation BinaryData into a typed ConversationParam. A plain string is treated as the conversation ID.
public static Azure.AI.AgentServer.Responses.Models.ConversationParam? GetConversationExpanded(this Azure.AI.AgentServer.Responses.Models.CreateResponse request);
static member GetConversationExpanded : Azure.AI.AgentServer.Responses.Models.CreateResponse -> Azure.AI.AgentServer.Responses.Models.ConversationParam
<Extension()>
Public Function GetConversationExpanded (request As CreateResponse) As ConversationParam
Parameters
- request
- CreateResponse
The create-response request.
Returns
The typed conversation parameter, or null if no conversation is set.
Exceptions
request is null.