> For the complete documentation index, see [llms.txt](https://docs.suvvy.ai/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suvvy.ai/en/main-settings/service.md).

# Service

The **“Service”** tab is located at the very end of the available bot settings tabs.

<figure><img src="/files/fUIRExS1ki4suZjveyar" alt=""><figcaption></figcaption></figure>

## RAG parameters

<figure><img src="/files/DTl9wjvciLlLDTbPLPNo" alt=""><figcaption></figcaption></figure>

Fine-tuning of RAG, the mechanism that underlies the bot’s interaction with documents and images.

**Return chunks** — a flag that enables returning chunks to the bot according to the configured settings. This is a basic setting when working with Large Files.

{% hint style="info" %}
If the flag is disabled and large documents are uploaded in Large Files, this may lead to a significant token consumption, because the entire document or several documents may be returned to the bot in full!
{% endhint %}

**Number of returned chunks** — the number of chunks returned to form the response. The response will be generated based on the specified number of most relevant chunks. The more chunks, the more material the bot will have for the answer. However, this will also increase the bot’s token usage.

**Respons threshold** — this is the “heat” or distance between vectors. The higher this value, the more precise the search; the lower it is, the less precise the search. Less precise means more results will be returned for the search query. The value ranges from 0 to 1, where 1 represents an exact match.

**The threshold of the search for the image** — defines image matching. The higher the value, the more precise the match.

## Instructions

This section of settings allows you to define a custom system instruction for the bot and some of its functionality. This makes it possible to globally adjust the bot’s behavior by modifying its system instruction, or to fine-tune specific features.

{% hint style="info" %}
Please note that the bots are optimized with a predefined set of instructions and formulations. Make changes only when necessary.
{% endhint %}

**The following instructions can be modified:**\
**Function description for knowledge base calls**\
**System instruction**\
**System instruction for user variables**\
**Description for the function for setting user variable values**\
**System instruction for Google Calendar**

{% hint style="info" %}
Instructions for user variables apply only to fixed user variables.
{% endhint %}

<figure><img src="/files/alNyd77LV9x1SsNpROMn" alt=""><figcaption></figcaption></figure>

The instruction is entered in the corresponding field. If necessary, the default instruction can be restored by clicking the **“Restore default value”** button.

## Additional actions

#### Show conversation cost in test chat&#xD;

**Show cost in the test chat** - enabling the flag allows the conversation cost to be displayed in the test chat, which makes it easier to configure the bot for the purpose of optimizing costs.

<figure><img src="/files/Nw9vIr1X5FwHqWZ3iEok" alt=""><figcaption></figcaption></figure>

#### Bot transfer to a client&#xD;

Bot transfer to a client can be performed in several ways.

<figure><img src="/files/Z213IlfK3fIvJF4frbJQ" alt=""><figcaption></figcaption></figure>

1. If your client is assigned to you, follow these steps:

Enter the client’s email address in the corresponding field.

Click the **“Transfer the agent”** button.

{% hint style="info" %}
Please note that when transferring a bot, connected channels, integrations, and all configurations made on the bot side within them are not preserved. After the transfer, all settings must be configured again in the new account.
{% endhint %}

2. Transfer via support.

If you do not have Integrator status:

Send an email from your account email to <support@suvvy.ai>.

Specify in the email:

* the email of the account the bot is being transferred from (e.g., <partner@example.com>);
* the email of the recipient account (e.g., <client@example.com>);
* the exact name of the bot.

Wait for confirmation from support.

#### Find Cyrillic characters&#xD;

If, according to the task, the bot is intended to operate exclusively in a foreign language and has a fully translated instruction and knowledge base in that language, but it randomly switches to Russian, one of the possible reasons may be the presence of Cyrillic characters in the instruction. Use the “**Find Cyrillic**” button to locate and remove them; this should stabilize the bot’s behavior.

<figure><img src="/files/6GAW7eHhTsnl1tNWOZM7" alt=""><figcaption></figcaption></figure>
