claudius-chat-widget
    Preparing search index...

    Interface ChatMessage

    A single chat message exchanged between the user and the assistant.

    interface ChatMessage {
        content: string;
        id: string;
        role: "user" | "assistant";
        sources?: Source[];
    }
    Index

    Properties

    Properties

    content: string

    Plain-text message body.

    id: string

    Stable unique identifier, used as the React list key.

    role: "user" | "assistant"

    Who authored the message.

    sources?: Source[]

    Sources cited by the assistant for this message, when any.