Links

Use tags to limit your content

When using a Knowledge base AI, it can be useful to tell your bot which content to scrape. Define different categories of content by using tags.
You haven't heard of our Knowledge base AI feature yet? Make sure you have a read 👇
Once you've set up your FAQ flow using a knowledge base, 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 define different categories of topic by using tags.

Add tags to your content

Adding tags to your pieces of content is an optional step when creating your knowledge base.
To add tags to your content:
  1. 2.
    When the window pops up, you have the option to add a tag under Tag this source. You can either:
    • Create a tag from this field
    • Select a tag that you already created
Tag your sources to differentiate them.

Edit tags

Once all your sources are added to the knowledge base, you can still edit your tags.
To edit tags:
  1. 1.
    Click the three dots at the end of the line where your content is listed.
  2. 2.
    Click the Edit option.
  1. 3.
    In the window that pops up, you can remove existing tags or add new tags.

Use tags in your knowledge base flow

Tags become useful when you add them to your knowledge base flow so that they limit where your chatbot will look for an answer.
To use tags in your knowledge base flow;
  1. 2.
    Open your Knowledge base AI block that retrieves the answer.
  2. 3.
    Under Limit your content, choose the tags of the sources that you would like your bot to visit. Only the pieces of content that have the tag that is specified in the Knowledge base AI action will be used to generate the answer.
  3. 4.
    Save your changes.
Limit the content that your bot scrapes by using tags.

Example use case

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.
Example of a flow where a bot scrapes only content related to security.
​