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

# AI Chat

Ask questions about your bookings, invoices, customers and fleet, and set up automations, using the Loopit Assistant.

### About AI Chat

AI Chat lets you ask the **Loopit Assistant** questions about your bookings, invoices, customers and fleet in plain language, and set up automations without building them by hand.

The assistant knows which page you are on. If you open it from a booking, an invoice, a customer or a vehicle, you can ask about "this booking" or "this customer" without searching for it first.

### Opening AI Chat

To open AI Chat:

1. Select **Ask AI** in the top bar, next to the search.

   <div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-83634f31410790a4941810595470493bc3a47c2c%2Fai-chat-ask-ai-button.png?alt=media" alt="The Ask AI button in the top bar" width="563"><figcaption></figcaption></figure></div>
2. The chat panel opens on the right of the page and shows **How can I help?** with a few **Suggestions** for the page you are on.

   <div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-9c0be328e72d1a9b27f8fec31211d9937c0a961b%2Fai-chat-empty-panel.png?alt=media" alt="The AI Chat panel with suggestions" width="563"><figcaption></figcaption></figure></div>
3. Select a suggestion, or type your own question in the box and press **Enter**.

   Press **Shift + Enter** to start a new line without sending.

<div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-3d863fcd441f00db8791fa98e226c1a476882440%2Fai-chat-suggestion.gif?alt=media" alt="Asking a question in AI Chat" width="563"><figcaption></figcaption></figure></div>

You can keep working on the page while the panel is open. Drag the left edge of the panel to make it wider or narrower. To close it, select **Ask AI** again, select the **X** or press **Esc**.

### What You Can Do with AI Chat

* [**Ask questions**](https://docs.loopit.co/getting-started/ai-chat/asking-questions.md) about bookings, invoices, people, companies and fleet, such as "Which bookings need attention right now?" or "Why hasn't this invoice been paid yet?"
* [**Email an invoice**](https://docs.loopit.co/getting-started/ai-chat/asking-questions.md#emailing-an-invoice) to the customer.
* [**Create automations**](https://docs.loopit.co/getting-started/ai-chat/creating-automations-with-ai.md), such as "Create an automation to chase overdue invoices".
* [**Pick up past chats and rate answers**](https://docs.loopit.co/getting-started/ai-chat/chat-history-and-feedback.md).
* [**Write email and SMS templates with AI**](https://docs.loopit.co/getting-started/ai-chat/writing-templates-with-ai.md).

### Important Things to Note

* The assistant can make mistakes. Check important figures before you act on them, as the reminder under the chat box says.
* The assistant only shows what your role is allowed to see. If your role can't view invoices, for example, it will tell you it doesn't have permission.
* It can't edit or delete your records. The only changes it makes are emailing an invoice and creating an automation.
* It answers questions about bookings, invoices, customers, fleet and automations. Other topics are politely declined.

### Eligibility and Limitations

* AI Chat is available for workspaces where Loopit support has enabled it, and only for the users it has been turned on for.
* Each message can be up to **2,000 characters**.
* If you send a lot of messages very quickly, you'll see **You're sending messages too quickly. Please wait a moment.** Wait a few seconds and try again.
* You can't attach files to a chat.
