Share via


AgentResponseItem<TMessage>(TMessage, AgentThread) Constructor

Definition

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.

Applies to