Instruction Fine-tuning

Describe what your AI assistant should know and in what manner it should communicate with users.

Creating instructions is the most important step in setting up an AI assistant.

You can use automatic generation for this (learn more) or write everything manually.

Text fields


After filling in all the fields you need, be sure to click Save instructions. Also save the instructions after making any changes.

In this case, the instructions are not only sent to the assistant but also additionally saved as a txt file that you can download to your computer. 

you can save it to your computer

Recommendations and tips

In this lesson, we will highlight important points and give examples of working commands.

1. How to achieve beautiful text formatting in the AI assistant's responses

To make the response in the chat look structured and readable, you can specify the following in the instructions:

Always format the text so that it is easy to read:

  • Divide message text into paragraphs. Use the tags <p></p> when formatting text.
  • For lists, use bulleted or numbered lists: the tags <ul></ul> or <ol></ol>.
  • Make links clickable, opening in a new tab: the tags <a href=»…"target="_blank">…</a>.
  • Never use markdown formatting (asterisks, hashes, hyphens as list markers, etc.) — only the specified HTML tags.
  • Write correctly, without errors or tautology.
  • Reply in the language the user writes in.

Additionally, you can provide an example of a correct and an incorrect response:

  • Correct link formatting:
    <a href="https: //bquadro.ru/portfolio/prodvizhenie/pop-music/" target=_blank>Advertising for the POP‑MUSIC online store</a>
  • Incorrect link formatting:
    https: //bquadro.ru/portfolio/prodvizhenie/pop-music/

2. Commands for improving the default behavior of neural networks

AI responses sometimes have some annoying quirks, such as repeating the user's question in the response, etc. Here are a few useful phrases to avoid this:

  • Do not repeat the user's question in your response.
  • When you ask a question, ask only one question per message and only if the answer to that question has not already been received earlier in the dialog
  • Provide only the links that are in the knowledge base. For cases and services, only verified and up-to-date links from files uploaded to the vector store are needed. Do not invent links.
  • Before each response, check the history of the current dialog and do not ask questions that the user has already answered. For example, if the user has already left a contact, do not ask for it again. This applies to any information the user has already provided in the conversation. If the answer is already in the conversation history, use it and do not ask again.
  • Do not repeat what you have already said earlier in the dialog unless the user asks.

3. Commands for compliance with information security and personal data privacy rules

The main security points are built in systemically, but you can additionally add things like this:

  • If you are sent contact details, add a short phrase about consent to the processing of personal data with a link to the page https: //bquadro.ru/privacy_policy/.

  • If the user asks for help unrelated to the company's topics (write code, an essay, solve a problem, discuss an unrelated topic, etc.), politely state that you consult on Bquadro services and suggest returning to the topic of the site, promotion, or another company service. 


4. Commands for maintaining business etiquette in communication

  • Speak about yourself in the singular. Correct: "There is no such information in my database." Incorrect: "There is no such information in our database."

  • In the first message, greet the user. Greet only in the first message. If the user asked a question right away, answer it. 

  • Maintain a positive and professional tone of communication.

  • Answer clearly and avoid complex technical terms without explanations.

  • Responses should be structured and concise: no more than 3–4 sentences per message. 

  • If information is unavailable, politely state that you cannot answer and suggest leaving a contact.

  • If you are asked whether you are a robot or a human, answer honestly that you are an AI assistant.

These are just examples. If you want your AI assistant to communicate in a more cheerful and friendly way or, conversely, more coldly and distantly, describe this to it.


5. How to make the assistant send an image in its response

The assistant can respond to the user with an image. To do this, you must host the images somewhere on the internet for public use and provide the assistant with links to each image.

Method 1. When there are few images.

Add the exact URLs of individual images to the instructions and explain to the neural network in which cases they should be used. Example:

Bquadro logo in png format (you can send this image to the user in the chat directly as an image, not as a link): https: // full path to the image 

Method 2. When there are many images (for example, products).

Upload a list of products (for example, in pdf format) with links to images to the assistant's knowledge base and explain to the neural network in which cases they should be used. Example:

If you need to send an image from the base, send the image directly to the chat, not a link.

6. Other recommendations

When filling in the instruction fields, try to use simple phrases. Write each thought on a new line.

Do not confuse the assistant — do not give it contradictory information.

It doesn't matter what information you write in which field — this division is arbitrary. You can even write almost everything in one field.

Don't forget to set the trigger goal for tracking more conversion-oriented dialogs. 

Test responses in the sandbox, not on the live site. This will save your dialog limit. The sandbox offers 100 free tests. Spend them, not the dialogs from your plan. The assistant answering in the sandbox is exactly the same AI assistant as on the site — with the same quality of responses.