dd-trace
    Preparing search index...

    Interface Message

    Represents a single LLM chat model message

    interface Message {
        audioParts?: AudioPart[];
        content: string;
        role?: string;
        toolCalls?: llmobs.ToolCall[];
    }
    Index
    audioParts?: AudioPart[]

    Audio segments attached to the message (e.g. speech input/output)

    content: string

    Content of the message.

    role?: string

    Role of the message (ie system, user, ai)

    toolCalls?: llmobs.ToolCall[]

    Tool calls of the message