> For the complete documentation index, see [llms.txt](https://modai-2.gitbook.io/modai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://modai-2.gitbook.io/modai/the-a.i..md).

# The A.I.

Understanding the AI: How ModAI Answers Tickets

### The "Brain": The Knowledge Base

The most important thing to understand is that the ModAI bot doesn't just "know" things from the internet. Its knowledge comes from the **Knowledge Base** found in your dashboard.&#x20;

* Think of it like a digital employee who has carefully studied a specific set of instructions, guides, Frequently Asked Questions (FAQs), and documents provided by the server team.
* It **only** knows what it has been taught through this knowledge base

### How It Works Step-by-Step

When you ask a question in a place where the AI is active (like a ticket channel):

1. **It Listens:** The AI reads and analyzes the question to understand what customer is asking for.
2. **It Searches:** It then searches through its dedicated Knowledge Base for relevant information that matches your query.
3. **It Answers (If Possible):** If it finds a clear and relevant answer in the Knowledge Base, it will generate a response for you based *strictly* on that information. It aims to provide the official, approved answer.
4. **It Knows When to Stop:** If the AI *cannot* find a confident answer in its Knowledge Base, or if your question is too complex or requires human judgment, it won't just guess! Instead, it will usually do one of the following (depending on server setup):
   * Auto Escalate to alert the human support team that you need help in your ticket.
   * Suggest creating a ticket if you asked in a public channel.
   * Simply state that it doesn't have the information and that a team member will assist.

### Where You Might Interact with the AI

* **Inside Support Tickets:** Often, the AI will provide the first response in a ticket, trying to resolve common issues instantly.
* **Q\&A Channels:** Some servers might have a dedicated channel where you can ask questions, and the AI will attempt to answer from the Knowledge Base.
* **Public Mentions (Optional):** If enabled, mentioning the bot in other channels might trigger an AI response if it finds a relevant answer.

### Why Use an AI?

* **Speed:** Get instant answers to common questions, 24/7, without waiting for a human.
* **Accuracy:** Answers are based on the official information provided by the server team.
* **Efficiency:** Frees up the human support team to handle more complex issues, while the AI handles the routine questions.

**In short:** ModAI uses its specialized training to give your customers fast, accurate support based on this server's specific knowledge, and it knows when to step aside and let a human take over.
