> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flarebot.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# AI

> Give your server an intelligent, interactive personality powered by advanced AI.

## Overview

Flare's AI module transforms the bot from a command processor into an interactive community member. There are two ways to interact with Flare's AI:

1. **Mention AI** — Mention `@Flare` in any channel to start a conversation.
2. **Ask Command** — Use `/ask <question>` for a quick, one-shot answer.

***

## Mention AI

Simply tag Flare in any message:

```
@Flare how do I set up logging?
```

Flare will read your message, consider the context, and respond naturally. It remembers the last few messages for natural back-and-forth dialogue.

<Info>
  Mention AI is available to all servers. Premium servers get faster responses, higher rate limits, and access to advanced models.
</Info>

***

## Ask Command

For quick, one-shot questions:

```bash theme={null}
/ask who are you?
```

**Aliases:** `ai`\
**Max Length:** 200 characters

***

## Rate Limits

| Plan        | Per User   | Per Server |
| ----------- | ---------- | ---------- |
| **Free**    | 5 req/min  | 15 req/min |
| **Premium** | 15 req/min | 50 req/min |

***

## Privacy

<Warning>
  Flare does **not** store or log your messages. AI context is held temporarily in RAM and is wiped after 5 minutes of inactivity. No message data is ever sent to third parties beyond the AI model provider for processing.
</Warning>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Flare isn't responding to mentions">
    Check that the channel isn't ignored (`/ignore list`), and that Flare has `View Channel` and `Send Messages` permissions.
  </Accordion>

  <Accordion title="Flare says 'Feature currently unavailable'">
    All AI API keys are rate-limited. During peak hours, the bot may temporarily run out of capacity. Try again in a few minutes.
  </Accordion>
</AccordionGroup>

## Related Pages

* [Mention AI Deep Dive](/ai/mention-ai)
* [Ask Command](/ai/ask-command)
* [AI Privacy](/ai/privacy)
