Use tags to limit your KBAI content
When using KBAI, it can be useful to tell your bot which content to scrape. Define different categories of content by using tags.
Last updated
When using KBAI, it can be useful to tell your bot which content to scrape. Define different categories of content by using tags.
Last updated
Once you've added KBAI content and build you flow, it might be useful to tell your bot which content to scrape. For example, if a customer asks for something on topic X, it's better if your bot only looks for the content on topic X at that point in your conversation.
You can optionally define different categories of topics by using tags.
To add tags to your content:
Add content to your KBAI.
Add a tag under Tag this source. You can either:
Create a tag from this field
Select a tag that you already created
Click Save.
To edit your KBAI tags:
From your Contents page, click on the 3 dots at the end of the line where your content is listed.
Click on Edit.
In the window that pops up, you can remove existing tags or add new tags.
Click Save.
To use tags in your KBAI flow:
Open your KBAI block where the bot retrieves the answer.
Under Limit your content, choose the tags of the sources that you would like your bot to visit. Only content tagged with these tags will be searched by the bot.
Save your changes.
An example use case would be a bot that has a lot of content uploaded to it from different sources, but needs to give a specific answers when it comes to questions about security.
The "security" intent that catches all questions related to security. When that intent is triggered, the bot answers through the Knowledge base AI content that is tagged with "security". Afterwards, the bot will provide a link where more security information can be found.