The four-step process
When you send Ana a message, she works through four stages before responding. 1. Understand the question Ana reads your prompt and identifies the business concept (revenue, users, churn), the time frame, any filters you mentioned, and the format you seem to want. If your question is ambiguous, she will make a reasonable assumption and tell you what she assumed — or ask a clarifying question if the ambiguity is too significant to resolve on her own. 2. Select the right tools Ana picks the right combination of tools based on what your question requires. A question like “what were our top 10 customers last quarter?” goes straight to Text-to-SQL. A question like “build a cohort retention chart” goes to SQL first, then Python for the visualization. A question like “what are competitors charging?” goes to Web Search. 3. Retrieve and process data Ana writes and runs the query, processes the results, and checks whether they make sense. If a query returns zero rows or an unexpected shape, she will often try a different approach before surfacing the result to you. 4. Generate the output Ana formats the response based on what you asked for — a table, a chart, a written summary, or a combination — and explains what she did and any assumptions she made.What Ana sees — and what she doesn’t
In scope for a given chat:- Connected connectors — the data warehouses or databases active when the chat starts. Ana can only query data from connectors that are selected for the session.
- Context library — business rules, metric definitions, SQL examples, and documentation your admin has uploaded.
- Ontology — pre-defined metrics and dimensions with consistent calculation logic.
- Current thread history — everything said in the current conversation.
- Previous conversations — Ana has no memory across threads.
- Other users’ threads — Ana does not see what your colleagues have asked.
- Undefined business logic — if your company has a specific definition for a metric (e.g., “active user,” “churn,” “GMV”), Ana won’t know it unless it’s in the context library or ontology. Without a definition, she’ll make a reasonable guess that may not match your internal standard.
- Data outside connected connectors — if a table isn’t in a connected warehouse, Ana can’t see it. CSV files uploaded directly into a chat only persist for that session.
When Ana uses SQL vs. Python vs. web search
Ana chooses her tools based on what the question requires, but you can also nudge her explicitly:| Tool | When Ana uses it | How to nudge her |
|---|---|---|
| Text-to-SQL | Fetching data from your warehouse, filtering, aggregating, joining tables. Results are automatically loaded into the Python sandbox. | ”Query the database for…” or “Pull from the orders table…” |
| Python | Calculations beyond SQL, visualizations, statistical analysis, file exports | ”Build a chart showing…”, “Calculate the 30-day rolling average…” |
| Web Search | Current events, competitor research, external benchmarks — anything not in your data | ”Search for…”, “What does the market say about…” |