@squidcloud/client
    Preparing search index...

    Interface GenerateGlossaryRequest

    Request to generate terms for a glossary draft. Nothing is saved.

    interface GenerateGlossaryRequest {
        excludedNames?: string[];
        generatedFrom?: Record<string, string>;
        glossary: GlossaryInput;
        instructions?: string;
        mode?: GlossaryGenerationMode;
        terms?: GlossaryTermInput[];
    }
    Index
    excludedNames?: string[]

    Names to skip besides those the glossary remembers, such as terms dropped from the current draft.

    generatedFrom?: Record<string, string>

    The generatedFrom of the draft; an update whose sources match it returns the draft unchanged.

    glossary: GlossaryInput

    The glossary, saved or not.

    instructions?: string

    Extra instructions for this run only, such as "Add terms for our loyalty program". They are not saved; the glossary's own instructions still apply. A run with them always calls the model.

    Default: update.

    The current draft of the terms; defaults to the saved terms. Ignored by regenerate.