@microsoft/opentelemetry
    Preparing search index...

    Interface ChatMessage

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

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

    Hierarchy (View Summary)

    Index
    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).