# Conversations

> Talk to the agent in the Chat tab: ask a question, attach files, pick the model, stop or regenerate an answer.

Source: https://opendb.tools/en/docs/conversations

## Start a conversation

Open a project's **Chat** tab and write your request. The first message creates the conversation. Its title is generated by the AI in the background, in the language of your message.

`Alt` + `N` starts a new chat from anywhere in the project.

![A conversation in the Chat tab](/images/docs/en/chat.webp)

## What you see in an answer

The agent answers as it goes. An answer can contain:

- **text**, with tables, lists and code blocks;
- the model's **reasoning**, when it produces one;
- **tool calls**, each with its status. Click a call to see its parameters and its result;
- **artifacts**: result tables, key figures, charts, record sheets, execution plans. See [Artifacts](/en/docs/artifacts);
- the provider and model that answered, under the answer.

The agent answers in the language of the interface.

## The input field

| Action | How |
|---|---|
| Mention a project file | Type `@` then the file name |
| Attach a file | The `+` button or `Ctrl` + `U` |
| Switch access mode | The **Read-only** / **Read-write** selector or `Ctrl` + `.` |
| Change the reasoning effort | The **Standard** / **High** selector or `Ctrl` + `Shift` + `D` |
| Pick the model | The model selector or `Ctrl` + `'` |

Files mentioned with `@` are those of the project's working folder. The agent can read them in both modes, and change them only in read-write mode.

## Stop and regenerate

- **Stop**: halts the answer in progress. The steps already done are kept and the answer is marked as stopped.
- **Regenerate**: asks for the answer again. The previous answer and everything after it are forgotten.

Leaving the page during an answer stops it too.

## Find a conversation

The sidebar lists your recent conversations. Search (`Alt` + `K`) covers titles **and** message content.

From a conversation's menu, you can rename, archive or delete it. Archived conversations are found in [Project settings → Archives](/en/docs/project-settings).

Your conversations are **private**: each user only sees their own, even on a shared project. Not even the root account can read other people's conversations.

## Things to ask

```text
Which columns does the orders table have?
Show the database diagram
Give me the KPIs: total revenue, average basket, number of customers
Chart the revenue by month
Profile the customers table
Why is this query slow?
Export the last 40 orders as CSV
Remember that amounts in orders are in cents
```

## From the other tabs

The other workspaces open a conversation with a prepared question:

- **Ask the chat**, from a row or a selection in the Tables grid;
- **Analyze in the chat**, from a result in the SQL editor;
- **Explain**, from the ERD schema.

## Limit the length of an answer

Two settings in **Settings → AI agent** bound the agent's work.

| Setting | Range | Purpose |
|---|---|---|
| Steps per answer | 3 to 50 | Maximum number of tool calls to answer one message |
| Rows read per query | 10 to 1,000 | Maximum number of rows a query returns to the model |

The higher the row limit, the more tokens an answer costs.

## When the provider fails

Common errors are shown in plain words: rate limit reached, service overloaded, insufficient credits, connection impossible. Any other error is hidden, because it could contain details that should not be shown.
