AgentResponseItem<TMessage>(TMessage, AgentThread) 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 the AgentResponseItem<TMessage> class.
public AgentResponseItem(TMessage message, Microsoft.SemanticKernel.Agents.AgentThread thread);
new Microsoft.SemanticKernel.Agents.AgentResponseItem<'Message> : 'Message * Microsoft.SemanticKernel.Agents.AgentThread -> Microsoft.SemanticKernel.Agents.AgentResponseItem<'Message>
Public Sub New (message As TMessage, thread As AgentThread)
Parameters
- message
- TMessage
The chat message content.
- thread
- AgentThread
The conversation thread associated with the response.