# Using AI Chatbot for Quick Modifications

### AI Bot for Chart Customization

Infinity features a built-in **AI Chatbot** designed to simplify the customization and editing of charts through natural language commands. Users can quickly modify chart types, colors, data series, and more by simply typing their instructions into the chat interface.

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

#### How to Use:

* Type clear, simple instructions in natural language.
  * Examples:
    * `"Change this to a bar chart"`
    * `"Add another line for number of orders"`
    * `"Change color of bar to red"`
* The AI will attempt to interpret and apply these instructions automatically, instantly modifying your chart.

#### ⚠️ Important Warning:

* **Always verify the results generated by AI**.
  * AI-generated modifications may occasionally misunderstand instructions or generate unintended configurations.
  * Specifically verify:
    * **SQL queries**: ensure they correctly pull the intended data.
    * **Data components**: validate that data fields and aggregations are correct.
    * **Visualization**: confirm the chart accurately reflects the underlying data.

#### Best Practices:

* Provide clear and concise commands.
* Perform step-by-step instructions for complex modifications.
* Regularly save and test your chart as you iterate.

Use the AI Bot as a convenient tool for quickly prototyping visualizations, but always thoroughly review any chart before publishing or sharing widely.


---

# 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.getinfinity.app/user-guide/comprehensive-user-guide/2.-charts/chart-customization/using-ai-chatbot-for-quick-modifications.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.
