> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How Visualize This works

> How Visualize This turns a natural-language request into a visualization — the cube context and system prompt sent to the LLM, and how the assistant builds widgets from the data model.

> [!NOTE]
>
> ### Atoti Intelligence Essentials
>
> This is part of the Atoti Intelligence Essentials offer.

Visualize This is an AI assistant in the Atoti UI that turns natural-language requests into
visualizations. Understanding what it sends to the LLM clarifies why configuration improves results.

> [!NOTE]
>
> To try Visualize This, first enable it: see [Set up Visualize This in Java](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/visualize-this/setup-java.md) or
> [Set up Visualize This in Python](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/visualize-this/setup-python.md), then [Configure Visualize This](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/visualize-this/configuration.md)
> to supply cube context.

## How a request is answered

1. **The user describes what they want** in natural language in the Atoti UI (for example, "show revenue by country for last year").
2. **Atoti builds the context** sent to the LLM: the cube's data model (dimensions, hierarchies, levels, measures) plus any descriptions and system prompt you configured.
3. **The LLM interprets the request** against that context and produces a query and a widget definition.
4. **Atoti renders the visualization** from the result, using the same query engine as the rest of the UI, so the numbers are consistent with everything else.

## Why context matters

The LLM only knows what it is told about your cube. The more business meaning you provide — clear
cube, dimension, and measure descriptions, and a focused system prompt — the more accurately it maps
a request to the right members and measures. This is what the [configuration](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/visualize-this/configuration.md) step
supplies.

The LLM runs on the provider you configured (see [Set up an LLM](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/configure-and-start/set-up-an-llm.md)),
so responses stay grounded in your data rather than general knowledge.

## Related reading

* [Configure Visualize This](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/enable-ai-tools/visualize-this/configuration.md) to supply cube context
* [How to use Visualize This](https://docs.activeviam.com/atoti-intelligence/6.2/user-guide/chat.md) in the Atoti UI
