AgentResponseItem<TMessage>.Implicit Operator
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.
Implicitly converts an AgentResponseItem<TMessage> to a ChatMessageContent or StreamingChatMessageContent.
public static implicit operator TMessage(Microsoft.SemanticKernel.Agents.AgentResponseItem<TMessage> responseItem);
static member op_Implicit : Microsoft.SemanticKernel.Agents.AgentResponseItem<'Message> -> 'Message
Public Shared Widening Operator CType (responseItem As AgentResponseItem(Of TMessage)) As TMessage
Parameters
- responseItem
- AgentResponseItem<TMessage>
Returns
TMessage