Agent Builder

Manu da Silva Updated by Manu da Silva

The Agent Builder is an advanced feature that enhances the capabilities of intelligent agents. In this environment, the agent takes control of conversational flows, triggering them according to the user's intentions. It allows for defining characteristics such as language preferences, tone of voice, and behaviors, giving the agent a unique identity and improving the quality and effectiveness of communication.

Additionally, the Agent Builder offers the functionality to import content related to your business using files, links, or text, automatically integrating it into your company's knowledge base. Users can add content directly from websites or copy and paste the desired material. This capability broadens access to diverse information, enriching the interaction and performance of the intelligent agent.

The Agent Builder is practically a turbo mode for creating intelligent agents, as it is natively integrated with AI and only requires configuring the content and deciding how the agent should behave.

Where to find it

To locate the feature, access your organization and project, click on Artificial Intelligence, and then select Agent Builder from the left-hand side menu on the screen.

When the Agent Builder is enabled in the project, the 'ON' symbol will be displayed in the side menu, and conventional triggers will be disabled.

How to configure

In the Personality tab, you can set the agent's name and role, choose one of the available personality traits, and specify the agent's goal.

Understand the fields:

  1. Name: Enter the name you want to assign to your agent. This will create a closer connection with your customers.
  2. Occupation: Describe the function or area of expertise of your agent. For example: "Customer Support Assistant" or "Online Sales Specialist." This will provide context to the conversation and help users understand your agent's expertise.
  3. Personality: Choose an adjective that best represents your agent's personality, such as "friendly," "cooperative," "outgoing," among other options available in the module. This will help define the tone and style of the responses.
  • Friendly: This agent is always ready to interact in a warm and welcoming manner. Their main concern is to make the customer feel comfortable and welcome, establishing a connection based on friendliness and understanding.
  • Cooperative: Always willing to help and work together with the customer to find solutions, this agent prioritizes teamwork and focuses on ensuring that the customer's needs are met with minimal effort.
  • Extroverted: With an animated and expressive personality, this agent loves to communicate openly and enthusiastically. They are always motivated and able to convey positive energy during interactions, making conversations dynamic and engaging.
  • Generous: This agent shows a deep desire to exceed the customer's expectations. They provide additional information and resources that may be useful, even before being asked, demonstrating genuine care for the customer's well-being.
  • Relaxed: Laid-back and calm, this agent handles difficult situations with ease and composure. They do everything to keep the conversation pleasant, never rushing, and give the customer the time needed to process information and make decisions.
  • Organized: This agent ensures that all information is presented clearly and accessibly. They are meticulous and efficient, guiding the customer through each step in a logical manner so that no important detail is missed.
  • Systematic: With a clear and well-structured approach, this agent follows defined steps to solve problems. They always take a logical and orderly approach, ensuring consistency and accuracy in communication and customer support.
  • Innovative: This agent can think outside the box. When faced with a problem or difficult situation, they propose new solutions and present creative ideas that may not be immediately obvious but are effective.
  • Creative: Using imagination to make communication engaging and interesting, this agent is able to offer responses in a unique way and adapt the language to make the content more relevant and captivating for the customer.
  • Intellectual: Always curious and seeking knowledge, this agent provides detailed and informed answers. They strive to offer in-depth explanations based on facts and logic, meeting the needs of customers who want more clarity and understanding.

These characteristics enable the agent to adapt communication and interaction according to the customer's profile and needs, ensuring a personalized and efficient experience.
  1. Goal: Clearly define the main purpose of your agent when interacting with customers. For example: "Help customers find products suited to their needs" or "Provide technical support." This will guide the conversations in a direct and assertive manner.
  2. Behavioral instructions: How you want your agent to behave during interactions. Include guidelines on tone of voice, language style, and other important directives to ensure a consistent and positive user experience.
Click the Save Changes button and proceed to the Knowledge tab.

Instruction examples:

At the beginning of the conversation, always introduce yourself by stating your name and role.
Show empathy and genuine interest in the customers' needs.
Prioritize short and direct responses for effective communication.
Avoid long or detailed answers.
Show empathy when addressing customers' concerns.
Use emojis at the end of sentences.
Demonstrate patience and willingness to solve problems, even in challenging situations, while maintaining a positive attitude.
Always say goodbye politely when ending a conversation, offering thanks and encouraging customers to return if they need further assistance.

Knowledge

In this phase, you can provide all the essential information so that your intelligent agent can effectively access and respond to users. Use the drag-and-drop functionality to import content from files—the text will be extracted and automatically integrated into the knowledge base. Additionally, you can add content directly from websites or write and paste the desired content into the base. Once these steps are completed, click the Save Changes button to ensure all updates are successfully saved.

Upload the documents and files that the agent will use to provide responses:

.pdf, .doc, .docx, .txt, .xls, and .xlsx. (250MB file limit per file)

Enter URLs of websites from which the agent can extract information.

Make sure the websites are reliable and contain relevant data!

Copy and paste or manually write the content that the agent will use to respond to users. Click the Save Changes button to complete the content stage.

Actions

To enable your agent to trigger the necessary flows during interactions, follow the steps below in the Actions section to configure the action correctly:

  1. Click Add Action

  1. Select the Action Type
If you have any doubts about the type or are exploring options, use the Customized Action. However, in all of them, you will need to choose from the list of actions and select the flow to be initiated.
  1. In the Customized Action, describe when it will be triggered and click Next.
  1. Next, select the flow it is associated with and click Next.
  1. At this stage, our AI automatically suggests a name based on the description previously entered, but you can modify it according to your preference. To finish, click Finish.
The **Actions** screen displays the names of the actions, making identification and management easier. By clicking on an action to edit it, you will be directed straight to the corresponding flow, streamlining the process.

You should use actions when a user’s intention is not to generate a response, for example:

To have the AI trigger the second copy of an invoice, configure an action for "whenever the user requests a second copy of the invoice." Select the second copy flow and describe the action, so the AI initiates the flow correctly. This will allow you to handle the request efficiently, ensuring an appropriate response to the user.

In Tunings, choose between Own Model or ChatGPT as the intelligence model to be used in the project. The Own Model is available in the shark-1 version, while to use ChatGPT, you need to provide the access token for OpenAI's API.

Shark is a powerful and secure AI model with extremely high accuracy in generating responses based on the provided context. Additionally, it is highly effective in handling out-of-context interactions and sensitive topics, ensuring security and reliability for the end customer.
Attention: Restore Default Button - Click the Restore Default button if you want to undo the configured changes.

After configuring your agent, click the Save Changes button.

In Advanced Options, you can disable the Agent Builder, and by doing so, your Actions will be replaced by Triggers, which may directly affect your bot's functionality. Ensure that this change is suitable for your flow before proceeding.

Here’s a snapshot of the Agent Builder in action (Agent Preview):

Test the Agent Builder and transform your customer interactions right now!

How did we do?

Zero Shot Learning

Contact