equal-aqua•2y ago
Is it possible that one widget only read certain knowledebases?
What are you looking to achieve: I want to have one widget, but have AI only read from specific Knowledgebase source (not all of them) based on the selected variable
What the issue is: Our company has two products. What we are looking for is this:
- Have one widget trained with knowlede for both product A and B
- User select product A or B
- Based on what user selected, just query knowledes for product A or B
Reason for this is that a lot of features in product A + B are named the same, but work differently. Meaning that we sometimes get incorrect answers due to bot fetching info from the wrong source.
Solutions that you've already tried: Told AI to only read KB that starts with "Product A" or "Product B"
Tag the category that your issue fits in: AI Steps, KB
3 Replies
Yep. You can use Tags API to achieve this. Have a look at:
https://developer.voiceflow.com/reference/post_v3alpha-knowledge-base-tags
Voiceflow
Create KB tag
Create tags that can be attached to Knowledge Base documents to filter and organize them (improving query response accuracy).
You will then need to use the KB Query API to get the chunks and pass them to the LLM (Response / Set AI step).
Voiceflow
Query
This API endpoint allows you to query the Voiceflow Knowledge Base Preview function and retrieve answers to user questions.