For the complete documentation index, see llms.txt. This page is also available as Markdown.

Standard functions

Standard functions in Savvy are built-in tools that allow the bot to perform specified actions depending on the context of the conversation.

Standard functions are automatically executed based on conditions (written in natural language), without the need to create separate actions in the Workflows section or use them instead of directly calling Knowledge Base files in the main instruction.

The following basic standard features are available:

  1. Stop Dialogue - a function that allows you to interrupt a conversation.

  2. Ignore Message - a function for skipping specific messages from a client or employee.

  3. Set Dialogue Tag - add tags to a dialogue to categorize it.

  4. Call Manager (Send Notification to Telegram) - a function for initiating the sending of a notification to Telegram.

Setting Up Standard Functions

All standard functions have identical settings. When you enable the Enable Function option, the Function Description field becomes available.

In the Function Description field, enter the condition under which the required standard function will be called.

Example 1: Stopping the conversation after the client enters their phone number.

What happened in the dialogue:

Example 2: We want the bot to remain silent in response to messages consisting solely of emojis, but to send a notification in Telegram when asked to invite a manager.

We write the corresponding instructions:

We see in the conversation that the bot responded to the message containing emoji and text, but ignored the message consisting solely of emoji.

A request to speak with a manager was answered by a Telegram notification.

To configure the standard function: Setting a Dialog Tag, you must first define or select an existing tag. To do this, click the settings icon in the Available Tags field. In the window that appears, enter a name for the new tag and click +Add Tag.

Next, you can select a color for this tag. It will be displayed, for example, in the Analytics section's graph.

Select and add the required tag.

In the Function Description field, you must write the function call condition.

Last updated