Compartilhar via


Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.Messages Namespace

Classes

Name Description
BlobPart

Inline binary data (base64-encoded).

ChatMessage

An input message sent to a model (OTEL gen-ai semantic conventions).

FilePart

Reference to a pre-uploaded file.

GenericPart

Extensible part for custom / future types.

InputMessages

Versioned wrapper for input messages.

MessageConstants

Schema version embedded in serialized message payloads.

OutputMessage

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

OutputMessages

Versioned wrapper for output messages.

ReasoningPart

Model reasoning / chain-of-thought content.

ServerToolCallPart

Server-side tool invocation.

ServerToolCallResponsePart

Server-side tool response.

TextPart

Plain text content part.

ToolCallRequestPart

A tool call requested by the model.

ToolCallResponsePart

Result of a tool call.

UriPart

External URI reference.

Interfaces

Name Description
IMessagePart

Marker interface for all message part types per OTEL gen-ai semantic conventions.

Enums

Name Description
FinishReason

Reason a model stopped generating per OTEL gen-ai semantic conventions.

MessageRole

Role of a message participant per OTEL gen-ai semantic conventions.

Modality

Media modality for blob, file, and URI parts.