https://discord.gg/botpress logo
Knowledge Base Clear Solution the AI Can't Get
# 🤝help
b
OBJECTIVE I'm trying to get the properties available from the knowledge base through an AI node search so it can answer with the codes and their respective Property ID ISSUE The bot can't answer properly find the properies ID and similar results to guide the client SOLUTION I've tried re prompting, re-arranging the workflow, refinning the KB search workflow more so it's super clear And the context. Here's the prompt in case... https://cdn.discordapp.com/attachments/1382463274934603887/1382463275253633275/image_2025-06-11_154725437.png?ex=684be781&is=684a9601&hm=85d19aac3f65db2ff23f8d5310cae625bd29e37dece48855ce000898078e89bd& https://cdn.discordapp.com/attachments/1382463274934603887/1382463275563880569/image_2025-06-11_154739033.png?ex=684be781&is=684a9601&hm=d2de40e30538c15cff5d040c3619d84bf47c3f0c99c9cd18fc6a6d5d641644c7& https://cdn.discordapp.com/attachments/1382463274934603887/1382463275941363835/image_2025-06-11_154803515.png?ex=684be781&is=684a9601&hm=21fa11318a8bd119ea498940f56c526699fa581b9dda1e7d14a9f413d6e84f90& https://cdn.discordapp.com/attachments/1382463274934603887/1382463276344148118/image_2025-06-11_154817346.png?ex=684be782&is=684a9602&hm=6950674295933e94f27146e0719647551cd08ba34075fdfd5123300d5657ee5d& https://cdn.discordapp.com/attachments/1382463274934603887/1382463276708790433/image_2025-06-11_154840276.png?ex=684be782&is=684a9602&hm=98134b9e15a4734acfe7c4ef40742067bd4a6d676255a08f50a79235d2d24044& https://cdn.discordapp.com/attachments/1382463274934603887/1382463277031755967/message.txt?ex=684be782&is=684a9602&hm=bff3601678cfbefe89bfd1981de46f13bcc1f98463fab13358948731f1fa5d16&
p
Have you solved your original problem?
b
not at the moment :/
I'm trying to re-prompt again and check in the logs what is saying
I still have AI usage just in case...
w
If you have properties with IDs , using a table would be much more efficient, and then you can perform the search on the table
b
but then could I make API calls to update the properties? (*in the table)
p
b
Thank you
but you know, I created the table, and 1 time it worked. then I prompted a reference answer and it says "sorry i couldn't finde the answer but here are the properties... (and sayas which properties there are)" here's the prompt: IMPROVEMENTS: - Always format the answers from the knowledge base in bullet points. Specially when you name the properties, use this example: " ID: 76164E 🏠 Fort Worth Stockyards Sanctuary - 💵 $600K - 📏 140 m² - 🛏️ 3 bedrooms - 📍 in Houston TX --------------------------- ID: 79902F 🏠 El Paso Mountain View Estate, - 💵 $1.1M - 📏 200 m² - 🛏️ 4 bedrooms - 📍 in El Paso TX " - Check in the Availability column from the Knowledge Base if the property is not avaialable, so you don't show those not available to the people The rest of the prompt remains the same, and still doesn't find the answer
p
Instead of using the An for queries you can have a subworkflow for kb searches and use the query kb card and format the output. An alternative is also finding the available properties with a get records card and then storing them in a variable and providing that to the An.
@prehistoric-airplane-85682 do you recommend I open another thread post?
c
Need help with Knowledge Base not responding mid-flow Hey! I’ve built a Botpress bot (GPT-4o) for a storage company that captures leads through a structured flow. I also connected a Knowledge Base with all the company info. Problem: If a user asks a FAQ (like “How much does insurance cost?”) in the middle of the flow, the bot ignores it and continues the workflow. The KB finds the right answer in logs, but the bot doesn’t respond — it just moves on. What I want: The bot should pause, answer the KB question, and then return to where it left off. I've tried using AI Task, a hook with SKIP_DIALOG_ENGINE, and also added a separate node for KB logic — no luck. Any idea how to make the bot answer KB questions at any time, like a real person would? Thanks in advance 🙏 https://cdn.discordapp.com/attachments/1382463274934603887/1384082084922003496/Screenshot_2025-06-16_at_1.34.39_PM.png?ex=68512264&is=684fd0e4&hm=28f95783cd90ec34b0801fa40b786a2223d1821fdb75655486f01d999fc00e0c& https://cdn.discordapp.com/attachments/1382463274934603887/1384082085236445204/Screenshot_2025-06-16_at_1.37.00_PM.png?ex=68512264&is=684fd0e4&hm=b328d4f1cbcbf2ddb75175b02951b345112fa601a28411ccdb1c72faccbe2dfe& https://cdn.discordapp.com/attachments/1382463274934603887/1384082085643423754/Screenshot_2025-06-16_at_1.37.30_PM.png?ex=68512264&is=684fd0e4&hm=40ff597b8152e2fb7d1da1f169fbe1bed00c53c6dde47d56a0a7f9cf7d6bc63c&
3 Views