How to Turn a Query into a Dashboard: An AI Assistant for Geoanalytics in 2GIS Pro

2 Jun 2026

Problem

2GIS Pro is a BI platform for geoanalytics where the map is the main interface. To get one result, a user must choose data, add a layer, pick a territory, set filters, choose a visualization and assemble widgets. An experienced analyst does this routinely, but a new or occasional user finds it hard. A plain LLM chat does not help: it gives general advice, not a result built on current data.

Example from the article: the request "Show cafes in the Arbat district, Moscow, with a rating above 3" should produce a filtered layer on the map, not a text about what makes a good cafe.

Solution in brief

The team built an assistant as a layer over the product: an LLM-based agent that reads the dashboard context and calls product operations through the backend API. The LLM only turns the phrase into tool calls. Data, filtering and drawing stay in the existing product. A separate RAG branch over the documentation answers questions about the product, and switchable settings limit which actions the agent may perform.

Questions this case answers
  • How to shorten the multi-step path from a business question to a configured analytical view for users who are not experts in a feature-rich BI product
  • How to build an LLM agent that performs actions in an existing product through its backend API instead of generating answers from the model's own knowledge
  • How to let non-expert users get a ready dashboard from a plain-language request in a BI or GIS product?
  • How to connect an LLM to product data and actions so that it does not answer from general knowledge?

Tools and methods

  • ReAct agent — alternates reasoning about the next step with a tool or API call until it can answer
  • Tool calling (create_layer) — turns the user's phrase into structured parameters for a product operation
  • Product backend API — executes layers, filters, accessibility zones, aggregation and widgets
  • RAG over documentation — separate branch for questions about how the product works
Continue reading — it's free

Google or a one-time email code. No password.