claudius-chat-widget
    Preparing search index...

    Interface ChatRequest

    Request payload sent to the Worker POST /api/chat endpoint.

    interface ChatRequest {
        citations?: boolean;
        messages: ChatMessage[];
    }
    Index

    Properties

    Properties

    citations?: boolean

    Ask the worker to number its retrieved excerpts to match sources and to have the model cite them as [n]. Sent by widgets with citations on.

    messages: ChatMessage[]

    The full conversation so far, oldest message first.