Intents are question and answer pairs that are used to train your chatbot. They are a simple and effective way to teach your chatbot how to answer questions.
Intents are comprised of two primary components: Questions and Answers
Questions are the queries that users will ask your chatbot. They can be phrased in a variety of ways, and the system will attempt to match them to the appropriate intent. For example, if you were creating an intent for a chatbot that answers questions about algorithms, you might include questions such as:
- What is an algorithm?
- What is a sorting algorithm?
- What is a binary search algorithm?
Answers are the responses that your chatbot will provide when a user asks a question. They can be simple text responses or more complex, such as a link to a website or a PDF document. For example, if you were creating an intent for a chatbot that answers questions about algorithms, you might include answers such as:
- An algorithm is a set of instructions for solving a problem or performing a task.
- A sorting algorithm is an algorithm that puts elements of a list in a certain order.
- A binary search algorithm is an algorithm that finds the position of a target value within a sorted array.
Adding these intents to your chatbot will allow it to answer questions about algorithms. You can also add more complex answers, such as links to websites or PDF documents.
An intent has 4 main fields
|Name||Intent names are labels used to identify specific user topics or queries, helping in organisation and categorisation.||Pricing||Yes|
|Question||The primary intent question represents the primary query or task a user wants to achieve during the interaction.||What is the price||Yes|
|Alternative phrase(s)||These are variations of how users express the same intent, improving the chatbot's understanding of diverse user inputs.||Is Algomo expensive?||No|
|Response(s)||It's the chatbot's informative reply triggered when the intent is recognized, addressing the user's query or request.||Algomo is FREE forever for up to 20 conversations per month. After that, our plans start from as low as $9 per month. You can read more on our pricing page: https://www.algomo.com/pricing||Yes|
Intents are created within intent groups. An intent group is a collection of intents that are related to each other. For example, if you were creating an intent group for a chatbot that answers questions about algorithms, you might want all of the intents in that group to be related to algorithms. You can create as many intent groups as you like, and each intent group can contain as many intents as you like.
Creating an intent group
- Navigate to Algomo > Data Sources
- Click on the Create new datasource button.
- Navigate to the Intents tab.
- Enter a name for your intent group.
- Click on the Create intent group button button.
Adding intents to an intent group
- Once you have created your intent group, you can add intents to it.
- Navigate to Algomo > Data Sources
- Select the intent group you want to add intents to.
- Click on the Create Intent button and name your intent.
- Open your intent
- In the Question field, enter the question you want your chatbot to answer.
- Optionally add an Alternative Phrase(s) to your intent. This will allow your chatbot to answer similar questions.
- In the Responses field, enter the response(s) you want your chatbot to give.
- On the Not Live toggle, turn on the toggle to make your intent live.
- Save your intent.
Your data source is now ready to be used by your chatbot. See Usage for more information on how to use your data sources.