> For the complete documentation index, see [llms.txt](https://docs.rbot.site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rbot.site/discord-en/talking-to-the-ai/how-to-talk-to-the-ai.md).

# How to Talk to the AI?

## Basics

### The simplest way

To start a conversation with the AI, simply ping the bot. You can put your message before or after the ping. For example, "Hello"

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FFqy4y8OLNF54P3VG2zHH%2Fimage.png?alt=media&#x26;token=d7c188a6-7205-474b-8c6a-514cb655d263" alt=""><figcaption></figcaption></figure>

After that you can reply to its messages without pinging it

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F813E4aYyNYdKm76b6yZo%2Fimage.png?alt=media&#x26;token=68f2a5cf-89ec-4649-bb96-62b6d2a1f6a8" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If the bot doesn't have the `Send Messages` and `Read Message History` permissions, it will message the owner about the need to add these permissions
{% endhint %}

### Clearing the chat

The bot can remember all messages created while talking with the AI, from one ping to the next. In other words, the chat is cleared whenever you ping it again

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F0fEB6DsH7eez3m3jAriX%2Fimage.png?alt=media&#x26;token=bd406385-4563-491c-ba4e-3823d2b1b135" alt=""><figcaption></figcaption></figure>

Also, if you delete a message during the conversation, the bot will forget it from the chat history

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FfFfu6ROYk6yiZYTth5Md%2Fimage.png?alt=media&#x26;token=2a07ecdb-f75f-4247-b87e-b77cb91bbbff" alt=""><figcaption></figcaption></figure>

### Chatting in DMs

You can message the bot in DMs for private conversations. If this is your first time messaging it in DMs, you should see this

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FstCSZFVPblLQTXXobgZY%2Fimage.png?alt=media&#x26;token=e75ab6e9-2f42-45b9-a621-37f10cb659f4" alt=""><figcaption></figcaption></figure>

Don't worry, just ping the bot once more. Using AI chat in DMs is no different from chatting on a server

## Additional features

### Image generation

Ask the AI to generate an image anywhere in the conversation — at the start or in the middle, it doesn't matter. Be sure to specify what you want generated

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FsEx5GWjU39Gz3JNanzIV%2Fimage.png?alt=media&#x26;token=f2c78f76-2eee-4b38-bebd-ac166c960252" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Prompts for image generation through AI chat are composed by the AI itself, based on your messages
{% endhint %}

{% hint style="success" %}
To write the prompt yourself, use /generate\_image
{% endhint %}

{% hint style="warning" %}
Generation of inappropriate images will be declined by the bot

<img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FQRcvoVHR0r6PnZ1bjPZo%2Fimage.png?alt=media&#x26;token=e8251e2f-9599-4fd7-a704-44708c97f6a5" alt="" data-size="original">
{% endhint %}

This feature can be used once every 5 minutes

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F2FuOAetPWOXtztBmcsG6%2Fimage.png?alt=media&#x26;token=feda1c99-d1ba-41a5-a207-53068aba1f08" alt=""><figcaption></figcaption></figure>

### Coding

{% hint style="danger" %}
This feature is deprecated and has been removed from the bot
{% endhint %}

{% hint style="success" %}
We recommend using claude-haiku-4.5 for coding tasks
{% endhint %}

Ask for any code anywhere in the conversation — at the start or in the middle

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2Fct4BJzg9ArpF0QPpBLsC%2Fimage.png?alt=media&#x26;token=da502172-b0e3-44c7-be10-7f28ada44bee" alt=""><figcaption></figcaption></figure>

Sometimes Russian characters may look garbled. This is because Discord most likely detected a different file encoding

### Web search

The bot has built-in search support. You can ask it to look something up, for example, the news

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FAC1eC8X7bKQBJNKO3tl1%2Fimage.png?alt=media&#x26;token=3bc1ddaa-69b0-463f-b614-5f138fc2adde" alt=""><figcaption></figcaption></figure>

Sometimes the bot might not search the internet, and you'll need to start your message with the word "search" to activate search mode

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F9kMSSZJP63HI6l5SyDGt%2Fimage.png?alt=media&#x26;token=13ddcbc0-39cc-4792-83e4-be9651bbae0a" alt=""><figcaption></figcaption></figure>

### Extended memory

RBot has memory that isn't cleared after every ping — instead, it's stored permanently. You can tell it, for example: "Remember that you should greet me"

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F3qCZ9tdZeyWTqtCuh0XC%2Fimage.png?alt=media&#x26;token=e8cfdbcd-7d09-4240-9da8-8d8c22f14a11" alt=""><figcaption></figcaption></figure>

If your memory already contains more than 1000 characters, it won't save your new requests

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2Fpy3W6i54IrJdFKApqs1r%2Fimage.png?alt=media&#x26;token=ba0abcd5-ab36-4a88-96dc-6740015ef900" alt=""><figcaption></figcaption></figure>

To clear your memory, go to /profile

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F6glDMYuIpgYMZZu4Pb62%2Fimage.png?alt=media&#x26;token=1a17e61a-9872-44ab-be60-b3f7f7947eee" alt=""><figcaption></figcaption></figure>

In the "What the AI remembers about you" section, find the clear button and click it

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2F5W85gemvCH4gVTzpWymL%2Fimage.png?alt=media&#x26;token=3e2929a2-779f-445c-90c8-2e3c096c3b15" alt=""><figcaption></figcaption></figure>

### Model selection

You can set which model to use for AI chat via the /change\_model command

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FPJlHTsEY9kQFa3SgyU3M%2Fimage.png?alt=media&#x26;token=da056dd6-a3b5-4ba6-8752-2ec460b1f2a3" alt=""><figcaption></figcaption></figure>

You can find information about the models here

### Polls

The AI can survey you about what you want from it, using Discord polls

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2Fcvn3BKQu9KRauBVQPrjl%2Fimage.png?alt=media&#x26;token=0e29a1ae-0c1e-4940-94cd-a386b501d3c8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Only 1 answer can be selected in polls
{% endhint %}

{% hint style="info" %}
Answers from other people are not counted
{% endhint %}

{% hint style="info" %}
The AI may give you several polls
{% endhint %}

You have 1 minute to answer. If you don't answer within a minute, the bot will show you this message

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FM1LQEMBGaQSzkb2xq1xa%2Fimage.png?alt=media&#x26;token=5da280b5-68d0-4676-82c2-ebb77d1fc91a" alt=""><figcaption></figcaption></figure>
