@microsoft/opentelemetry
    Preparing search index...

    Interface OutputMessage

    An output message produced by a model (OTEL gen-ai semantic conventions). finish_reason defaults to "stop" per OTel spec when not provided.

    interface OutputMessage {
        finish_reason?: string;
        name?: string;
        parts: MessagePart[];
        role: string;
    }

    Hierarchy (View Summary)

    Index
    finish_reason?: string

    Reason the model stopped generating this message. Defaults to "stop".

    name?: string

    Optional display name of the message author.

    parts: MessagePart[]

    Ordered list of content parts that make up the message.

    role: string

    Role of the message author (e.g. user, assistant).