# Chat

## Overview[​](http://localhost:3000/docs/product-features/chat#overview) <a href="#overview" id="overview"></a>

The ‘Chat’ module is the primary interface to query your data.

* Simply ask questions in plain language.
* Latency depends on your connection type and query complexity.
  * Simple questions: \~10-15 seconds
  * Complex queries: up to 30-45 second

{% hint style="info" %}
To learn more about the types of questions that can be asked, view [Question Types](http://localhost:3000/docs/using-lumi/question-types).
{% endhint %}

{% hint style="info" %}
Learn more about [Prompting Best Practices](/using-lumi/best-practices/prompting-best-practices.md) and [Limitations](broken://pages/vFTmUOiCASDaeSVUodko).
{% endhint %}

{% embed url="<https://youtu.be/nAHdDgPXG2U>" %}

## Start Chat[​](http://localhost:3000/docs/product-features/chat#start-chat) <a href="#start-chat" id="start-chat"></a>

To start a chat, you must first select the knowledge base.

<figure><img src="/files/c4WDpeg98VYiyvgmrXLE" alt=""><figcaption></figcaption></figure>

### Analysis​ and Contextualization

A key capability Lumi provides is transparency into how it performs structured, data-driven decision-making. It begins by translating your question into a form the LLM can interpret, then identifies and isolates the exact data needed to run the analysis.

<figure><img src="/files/G7uJylAfCcx6wq7gIOxJ" alt=""><figcaption></figcaption></figure>

### Explained Overview

Explanation is a very helpful view of the steps that Lumi took to generate the returned data. This is useful to check overall logic.

<figure><img src="/files/LGIl0lzREAnFtF8IsU3B" alt=""><figcaption></figcaption></figure>

### SQL Code

Local Code defines the query that was run to generate the returned data. This is critical for technical understanding and validating the returned data.

<figure><img src="/files/tPVeTL6tZpf14QJ5hZD6" alt=""><figcaption></figcaption></figure>

## Data Display (Tables and Charts) <a href="#start-chat" id="start-chat"></a>

Upon returning data from a given query, an interactive display is available to understand returned data. Data can be viewed in both a Table or Chart form. Data can also be downloaded for full accessibility as well as copied to clipboard.

<figure><img src="/files/te1uWPhGkvWY7JcpZIQM" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lumi-ai.com/product-features/chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
