# Multi-Threading

Our conversational analytics is augmented with what we refer to as **"Multi-Threading"**, which refers to LumiAI's ability to break down complex, vague, or broad-spanning questions into a set of inner prompts that are explored in parallel and summarized at the end. Through this methodology, workflows are executed recursively to find a comprehensive answer to a user's question.\
\
Multi-Threading is invoked automatically based on the nature of the prompt, but users can also direct it by incorporating investigative prompts, such as:

* "Explore...."
* "Explain why..."
* "Breakdown..."

## Benefits for Utilizing Multi-Threading

* <mark style="color:$success;">**Increases Creativity and Diversity**</mark> by starting Wide and Exploring Many Angles
* <mark style="color:$success;">**Avoids Single-Path Failures**</mark> where one path can lead to a reasoning blind spot or flawed conclusion
* <mark style="color:$success;">**Improves Accuracy**</mark> by evaluating contradictory paths and refining its previous reasoning
* <mark style="color:$success;">**Promotes Visibility and Traceability**</mark> by providing clear insight to how a final output was derived
* <mark style="color:$success;">**Integrates Strongest Ideas**</mark> from all the individual paths into one coherent answer

## How to Trigger Multi-Threading

**Step 1:** Begin by selecting the primary KPI or metric you want to analyze. This establishes the focus for the entire workflow.

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

**Step 2:** When you apply one of the investigative prompts (e.g., “Investigate the root cause…”), Lumi automatically launches multiple reasoning paths in the background. In the screenshot below, you can see five distinct analysis threads generated in response to the prompt.

<div align="left" data-full-width="false" data-with-frame="true"><figure><img src="/files/C9paWmGZAfzba3pj7EqM" alt=""><figcaption></figcaption></figure></div>

**Step 3:** You can drill into the details of any thread by clicking the gray LumiAi icon next to it. For example, in the screenshot below, we expand the “Analyze shipping carrier performance… external logistics issues” thread to understand how carrier behavior influences the higher-order KPI (e.g., On-Time Delivery %).

<div data-with-frame="true"><figure><img src="/files/QZlby3fVr10jyj6qIaSv" alt=""><figcaption></figcaption></figure></div>

**Step 4:** At the end of the workflow, provides a unified summary that synthesizes insights from all reasoning paths into one cohesive output. This consolidated view allows you to quickly understand key findings and consider next steps.

<div data-with-frame="true"><figure><img src="/files/T9wv10A2Oe0VcOqfNlsW" alt=""><figcaption></figcaption></figure></div>


---

# 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/multi-threading.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.
