AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Interface RepairPromptInput

    interface RepairPromptInput {
        allowImpossible?: boolean;
        dialect: DialectInfo;
        failedSql: string;
        failure: string;
        question: string;
        schemaText: string;
    }
    Index
    allowImpossible?: boolean

    Lets the model abstain instead of correcting. Set only where the failure means the schema may genuinely not hold the answer: ordering a correction there is what turns "no answer here" into an invented one.

    dialect: DialectInfo
    failedSql: string
    failure: string
    question: string
    schemaText: string