dd-trace
    Preparing search index...

    Interface TextMessage

    A standard conversational message exchanged with a Large Language Model (LLM).

    interface TextMessage {
        content: string;
        role: string;
    }
    Index

    Properties

    Properties

    content: string

    The textual content of the message.

    role: string

    The role of the message sender in the conversation (e.g.: 'system', 'user', 'assistant').