Step 4: Intelligent assistant
Ainhoa's intelligent assistants offer a powerful and straightforward way to make the most out of our data through an intuitive and accessible chat interface. With this technology, data (often complex and vast) becomes more manageable and useful. These assistants can analyze and extract relevant information from these datasets, significantly easing access to key information. This enables users to obtain precise and quick answers to their queries, streamlining decision-making processes and enhancing productivity.
The ability to conduct guided procedures is especially helpful as it allows users to follow clear and specific instructions to complete tasks or perform complex actions in a simpler, structured manner. Furthermore, integration with external systems provides access to information and functionalities from different sources, expanding the assistant's capabilities to offer comprehensive and updated solutions.
It's time to create our specialized intelligent assistant for museums. We'll consolidate all the previously done work to build and empower our bot.
Create bot
Let's go to the bots section in the side menu and click on the button.
You'll be presented with a window to fill in our bot's information. We'll enter the following details:
Field | Description | Value |
---|---|---|
Title | Name of the intelligent assistant. | ArtiBot |
Description | Brief description of the bot. Should be entered in each available language. | Allows answering questions about museums. |
Strategy | Type of strategy the bot will use. Can be router, sequential, or LLM. | Router |
Tags | List of tags related to the bot. | |
Access Mode | Selects the access mode to the bot. Public access or members only. | Public access |
Members | List of members who will have access to the bot and their associated privilege. |
Once all the necessary information is provided, click on the Create button.
Configure bot
Once our bot is created, a detailed page will appear showcasing all the information and various configuration parameters. This page is divided into different tabs to organize all the available information.
Let's briefly explain the information available on each tab and the parameters we can adjust for our bot:
Tab | Description |
---|---|
Home | Provides general information about the bot such as its title, description, or tags. Configuration options, disambiguation messages, and settings related to result interpretation and reading comprehension are available here. |
Greetings | Allows us to set up greeting messages to welcome users. |
Messages | Enables configuring the confidence level required to use a skill's response, the maximum number of suggestions it can provide, and a fallback message in case there's no response available. |
Skills | Manages all the bot's available skills for operation. Certain parameters for each assigned skill can be configured here. |
User Preferences | Default temperature values, search skills, and languages users can select in the chat. |
API Details | Settings related to accessing your bot. You can activate it, allow access via the Microsoft Bot Framework, enable telemetry, or set a limit on the message count. |
Source Code | Allows visualization of your bot's entire configuration through its associated YAML source code. |
Test Bot | Enables testing your bot specifying specific versions, identities, languages, and audiences. Additionally, you can view development information associated with each chat message. This option is quite similar to testing a skill. You can get more information here |
History | List of all different versions your bot has. |
Alright, now that we have a better understanding of the various configuration options available for our bot, let's proceed to configure ours. For our example, we'll make the following parameter changes:
- In the Messages tab, we set the confidence to
0.55
. This indicates to the bot the minimum percentage of confidence required to respond with information provided by the skill.
- In the Skills tab, we need to assign our previously created search skill.
- Click on the button and select
museum_search
. - With our skill selected, we set the audience to global and establish the confidence at
0.5
.
- Click on the button and select
- In the User Preferences tab, we'll set the default options the user will use in the chat:
- Choose the temperature as
Balanced
. - Select our search skill,
museum_search
. - Choose the allowed languages,
Spanish
.
- Choose the temperature as
If we enable the Allow user to change checkbox in User Preferences, the user will be able to edit these values in the chat.
- In the API details tab, check the
Enable bot
option. This allows the bot to be available for use.
Finally, click on Save, and now our bot is configured.
Train bot
Training our bot is a crucial and fundamental step. It involves ensuring that it's fully configured with all the parameters, skills, and services we've provided.
Training is essential for the bot to understand how to respond to different queries or commands, apply skills at the right moment, and provide accurate and relevant responses. This stage also allows it to adapt to various situations and scenarios, offering a consistent and useful user experience.
Moreover, training isn't just about learning information; it's also about understanding how to interact with users in a natural and effective manner. This involves adjusting its behavior to provide clear and friendly responses, generating a satisfying and seamless interaction.
To start the training, click on the Train button and wait for the process to complete.
Bravo! ArtiBot 🤖 is now ready to help us with our questions about museums. Let's give it a try! 💬