ChatHistoryChannel Class

Definition

A AgentChannel specialization for that acts upon a ChatHistoryKernelAgent.

public sealed class ChatHistoryChannel : Microsoft.SemanticKernel.Agents.AgentChannel
type ChatHistoryChannel = class
    inherit AgentChannel
Public NotInheritable Class ChatHistoryChannel
Inherits AgentChannel
Inheritance
ChatHistoryChannel

Constructors

ChatHistoryChannel()

Initializes a new instance of the ChatHistoryChannel class.

Properties

Logger

The ILogger associated with the AgentChannel.

(Inherited from AgentChannel)

Methods

GetHistoryAsync(CancellationToken)

Retrieve the message history specific to this channel.

(Inherited from AgentChannel)
InvokeAsync(Agent, CancellationToken)

Perform a discrete incremental interaction between a single Agent and AgentChat.

(Inherited from AgentChannel)
InvokeStreamingAsync(Agent, IList<ChatMessageContent>, CancellationToken)

Perform a discrete incremental interaction between a single Agent and AgentChat with streaming results.

(Inherited from AgentChannel)
ReceiveAsync(IEnumerable<ChatMessageContent>, CancellationToken)

Receive the conversation messages. Used when joining a conversation and also during each agent interaction..

(Inherited from AgentChannel)
ResetAsync(CancellationToken)

Reset any persistent state associated with the channel.

(Inherited from AgentChannel)

Applies to