Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/ai-assistant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Every message carries a system prompt built from **Settings > AI > Context**, so

| Setting | Default | What it sends |
|---------|---------|---------------|
| Include database schema | On | Columns and foreign keys for up to **Max schema tables** tables |
| Include database schema | On | Columns and foreign keys for up to **Max schema tables** tables, the ones your question and current query use first |
| Include current query | On | The editor's text, truncated at 2,000 characters |
| Include query results | Off | The rows in the results grid |
| Max schema tables | 20 | |
Expand Down
2 changes: 1 addition & 1 deletion security/privacy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ One provider is marked active and answers inline suggestions and the editor acti
A chat turn carries:

- The database type and the name of the database you are connected to.
- The schema, while **Include database schema** is on (the default): table names, estimated row counts, column names and types, primary key and NOT NULL flags, DEFAULT values, and foreign keys, for up to **Max schema tables** tables (20 by default).
- The schema, while **Include database schema** is on (the default): table names, estimated row counts, column names and types, primary key and NOT NULL flags, DEFAULT values, and foreign keys, for up to **Max schema tables** tables (20 by default). With more tables than that, the ones your question and current query use come first, and the rest are sent as a count, not by name.
- The query in the current tab, while **Include current query** is on (the default), truncated at 2,000 characters.
- Result rows, only if you turn on **Include query results**, which is off by default. It attaches the first 10 rows of the current result, each value cut at 200 characters.
- The connection's [AI Rules](/features/ai-assistant#per-connection-ai-rules) text, if you wrote any.
Expand Down
Loading