Share via


ChatMessageExtensions Class

Definition

Contains extension methods for ChatMessage

public static class ChatMessageExtensions
type ChatMessageExtensions = class
Public Module ChatMessageExtensions
Inheritance
ChatMessageExtensions

Methods

Name Description
GetAgentRequestMessageSourceId(ChatMessage)

Gets the source id of the provided ChatMessage in the context of messages passed into an agent run.

GetAgentRequestMessageSourceType(ChatMessage)

Gets the source type of the provided ChatMessage in the context of messages passed into an agent run.

WithAgentRequestMessageSource(ChatMessage, AgentRequestMessageSourceType, String)

Ensure that the provided message is tagged with the provided source type and source id in the context of a specific agent run.

Applies to