Trevixal API
    Preparing search index...
    interface AssistRequest {
        action: AssistAction;
        language?: string;
        text: string;
    }
    Index
    action: AssistAction
    language?: string

    For translate: the language to translate into, as a BCP 47 code.

    text: string

    The text to work on: the selection, or for continue the text before the caret.