ART Framework API Docs
    Preparing search index...

    Interface ConversationMessage

    Represents a single message within a conversation thread.

    ConversationMessage

    interface ConversationMessage {
        content: string;
        messageId: string;
        metadata?: Record<string, any>;
        role: MessageRole;
        threadId: string;
        timestamp: number;
    }
    Index

    Properties

    content: string

    The textual content of the message.

    messageId: string

    A unique identifier for this specific message.

    metadata?: Record<string, any>

    Optional metadata associated with the message (e.g., related observation IDs, tool call info, UI state).

    The role of the sender (User, AI, System, or Tool).

    threadId: string

    The identifier of the conversation thread this message belongs to.

    timestamp: number

    A Unix timestamp (in milliseconds) indicating when the message was created.