anthempd.A
Voiceflow5mo ago
3 replies
anthempd.

Can I search the knowledgebase by folder?

I've created a customer support boit to answer questions on a number of different trading strategies. The transcripts of the strategies are in the knowledgebase in folders and each document is marked up with strategy name and strategy step. Currently the bot does seem to finding the right information from the tags. however its clear that this is potentially reading in a lot of chunks uneccesarily. I'm using ChatGPT as my adviser and its convinced that voiceflow can be told just to look in a folder rather than seraching based on mark up. I've put chatGPT method answer below. I cannot find this function of the database in the documentation. My questions are:- 1) does this function actually exist or is ChatGPT getting things wrong 2) if it does exist how can I access the function as where chatGPT is telling me to look doesn't appear to exist on the interaface. Thank you. ✅ Fix #1: Use Folder-based Restriction Instead of Prompt Filtering

If you’ve placed your documents into separate folders by strategy, you can use Voiceflow’s built-in folder filter to completely restrict the chunk search to just one strategy folder.

Steps:
1. In the Assistant step, go to Knowledge Base Settings (in the right panel).
2. Turn on “Restrict search to folder
3. Use a variable like {{strategy_selected}} to dynamically choose the folder.

➡️ This means Voiceflow will only search in that folder — and if there’s nothing there, it will return an empty chunk set (which you can then handle cleanly in your prompt).

✅ This is much more reliable than relying on {chunks} to be pre-filtered by tags.
Was this page helpful?