Use AI with explicit context and review
Configure an approved provider, inspect what will be disclosed, and review explanations or SQL drafts before using them.
When to use this
The workspace assistant can explain structures and errors, draft queries/CRUD/test data, compare mentioned structures and suggest JOINs. Provider access, data disclosure, text insertion and database execution have separate boundaries.
Use it for an advisory draft with approved nonsensitive context. You can explore the controls with an unsent fictional prompt; no AI call or database write is needed for that walkthrough.
Before you start
Check the actual provider/endpoint, required authentication, model and consent. SqlOtter Official needs a confirmed supported location, account access, an available offering and sufficient available prepaid AI wallet credit; the service denies Official AI in mainland China and when location is unknown. Hong Kong, Macao and Taiwan are outside this location restriction. A desktop subscription or trial grants no AI wallet credit. Privacy-level labels are not uniformly enforced across the reviewed chat/table paths, so inspect and minimize actual context.
Steps
- Open AI Settings and verify Provider, model/effort, endpoint protocol, output/network options and local limits; distinguish official account/wallet access from direct or local providers.
- Read the global AI agreement. Inspect messages, prior history, SQL, mentions, sample rows/statistics, file contents and original names/paths before approving external processing.
- Choose a specific table/field or minimal SQL instead of broad connection context. Table action OK and editor AI menu actions can submit immediately after consent.
- Compose a focused request. Enter sends, Shift+Enter inserts a newline, and a suggestion popup consumes Enter for selection. During generation a nonempty submit queues a follow-up.
- Review the complete answer and any failure/cancellation note. Use Copy, Send to SqlEditor or Replace SqlEditor content deliberately, then check the editor target.
- Keep generation and insertion separate from execution. For the safe fictional walkthrough, stop before Send/OK, benchmark/regeneration or any SQL run action.
How to verify the result
You can identify the provider, likely disclosure scope, queue/cancellation behavior and manual review controls. A draft or copied/inserted code is not evidence of a database change or correct SQL.
Troubleshooting
- Panel or service unavailable: check agreement acceptance, actual provider/endpoint/model/authentication, current catalog status and network. A local “AI service not available. Your message…” echo is not a model answer.
- Official credit or model error: check the same signed-in account, available versus reserved wallet credit, current model/effort and service status. A trial or desktop recharge does not fund AI usage.
- Custom endpoint 404 or protocol error: verify Base/Full URL and Wire API together; prefer an exact Full URL for Responses. Confirm the selected custom provider and installed local model.
- Unexpected context: remove broad mentions, selected rows, SQL literals and attachments; inspect parent-table metadata and old turns. Start a clean chat rather than assuming a privacy label removes that content.
- Attachment rejected or stale: check the supported extension, nonempty readable file, captured text truncation and provider image/payload limits. Reattach changed text; inspect pasted paths.
- Stop seems ineffective: clear/remove queued messages separately, empty the composer to expose Stop, and inspect other active conversations. Official settlement can continue after client cancellation.
- Answer or generated code is wrong: retain the draft, check dialect/metadata/keys/parameters manually, and do not run it to repair the documentation example.
Limits
- Schema only, Ask each time, Full data, Local only and Enable AI features are not a uniform security boundary in the reviewed flows. No guaranteed all-path redaction, per-message confirmation or offline mode is established.
- Table actions can include visible sample rows and statistics; a field mention can include parent-table metadata. Whole-database/connection mentions can be much broader, and cached context may be incomplete or stale.
- Attachments are images plus SQL/JSON/TXT only; text is captured/truncated, original names/paths can be sent, and model image support is not guaranteed. Unsupported pasted paths can still become prompt text.
- Official wallet credit is separate from desktop access. The service reserves before forwarding; Stop does not guarantee a refund or release of an uncertain reservation. Local daily estimates are not a strict billing cap.
- AI replies, safety/risk labels, requested row counts and read-only prompt rules are advisory. SQL may be wrong or unsafe; generated SQL/system commands are not automatically executed.
- Extra insert/replace risk confirmation is conditional on dangerous workspace templates and the local classifier. It is not a universal preview or permission check.
- Local application history can retain augmented context and file metadata; previous turns or compacted memory can be sent again. Local deletion does not erase external records or guarantee secure erasure.
- Six supplied images cover AI Settings, an empty welcome panel, a partial HIGH-risk CRUD answer, the test-data request form, generation in progress and a partial test-data answer. Both answer screenshots have incomplete prompt/SQL coverage; they do not establish execution or correctness. Consent, queue/cancellation outcomes, other task results and history states remain text-only. Keyboard/workflow/provider/engine acceptance and an identified release remain pending.