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

    Interface MongoAskConfig

    interface MongoAskConfig {
        allowDataInPrompt?: boolean;
        connector: MongoConnector;
        customInstructions?: string;
        glossary?: readonly GlossaryEntry[];
        llm?: LlmSettings;
        model: ModelLike;
        onEvent?: (event: EngineEvent) => void;
        policy?: Partial<MongoGuardPolicy>;
        pruner?: PrunerSettings;
    }
    Index
    allowDataInPrompt?: boolean

    Send sampled field values to the model. Off by default: only the schema leaves the machine.

    connector: MongoConnector
    customInstructions?: string
    glossary?: readonly GlossaryEntry[]
    model: ModelLike
    onEvent?: (event: EngineEvent) => void
    policy?: Partial<MongoGuardPolicy>