> For the complete documentation index, see [llms.txt](https://docs.lumi-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lumi-ai.com/product-features/chat.md).

# 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 [Lumi Use Cases](/using-lumi/lumi-use-cases.md).
{% endhint %}

{% hint style="info" %}
Learn more about [Prompting Best Practices](/using-lumi/best-practices/prompting-best-practices.md).
{% 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>
