Compartilhar via


OutputMessage Class

Definition

An output message produced by a model (OTEL gen-ai semantic conventions).

public class OutputMessage : Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Messages.ChatMessage
type OutputMessage = class
    inherit ChatMessage
Public Class OutputMessage
Inherits ChatMessage
Inheritance
OutputMessage

Constructors

Name Description
OutputMessage(MessageRole, IReadOnlyList<IMessagePart>, String, String)

Initializes a new instance of the OutputMessage class.

Properties

Name Description
FinishReason

Gets the optional reason the model stopped generating.

Name

Gets the optional participant name.

(Inherited from ChatMessage)
Parts

Gets the message parts.

(Inherited from ChatMessage)
Role

Gets the role of the message sender.

(Inherited from ChatMessage)

Applies to