> 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.

### 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://modai-2.gitbook.io/modai/the-a.i..md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
