dd-trace
    Preparing search index...

    Interface Message

    Represents a single LLM chat model message

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

    Properties

    content: string

    Content of the message.

    role?: string

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

    toolCalls?: llmobs.ToolCall[]

    Tool calls of the message