Share via


ChatHistoryProvider.InvokingContext Class

Definition

public sealed class ChatHistoryProvider.InvokingContext
type ChatHistoryProvider.InvokingContext = class
Public NotInheritable Class ChatHistoryProvider.InvokingContext
Inheritance
ChatHistoryProvider.InvokingContext

Remarks

This class provides context about the invocation including the new messages that will be used. A ChatHistoryProvider can use this information to determine what messages should be provided for the invocation.

Constructors

Name Description
ChatHistoryProvider.InvokingContext(AIAgent, AgentSession, IEnumerable<ChatMessage>)

Initializes a new instance of the ChatHistoryProvider.InvokingContext class with the specified request messages.

Properties

Name Description
Agent

Gets the agent that is being invoked.

RequestMessages

Gets the messages that will be used by the agent for this invocation. ChatHistoryProvider instances can modify and return or return a new message list to add additional messages for the invocation.

Session

Gets the agent session associated with the agent invocation.

Applies to