I have set up a new bot with AutomousNode. I have given it explicit instructions to only use the provided knowledge base, however it provides answers and data that are not included in the knowledge base so must be using external data somehow. How can I restrict the bot's answers to my specific infromation?
@prehistoric-airplane-85682 I did that. It will still answer questions that couldn't be answered by the knowledge base.
r
rapid-forest-80249
07/07/2025, 4:24 PM
I have provided the instructions for the autonomous node I have built below in my case the following format is proving to be effective - 1ļøā£ Fetch the Userās Taste Palette
Retrieve the userās taste preferences from workflow.tastePalette.
Extract key elements such as:
Favorite cuisines ā workflow.tastePalette.fav_cuisine
Favorite dishes ā workflow.tastePalette.fav_dish
Dietary restrictions ā workflow.tastePalette.restrictions
Allergies ā workflow.tastePalette.allergies
Preferred spice level ā workflow.tastePalette.spiciness
2ļøā£ Fetch Available Dishes from the Restaurant Menu
Query the knowledge base (restaurantās menu).
Extract:
Dish Name
Cuisine Type
Ingredients List
Spiciness Level
3ļøā£ Filter Dishes Based on User Preferences
ā Step 1: Match Dishes by Favorite Cuisines
Check if the dishās cuisine type is listed in workflow.tastePalette.fav_cuisine.
If not, discard the dish.
ā Step 2: Match Favorite Dishes
If a dish name matches workflow.tastePalette.fav_dish, prioritize it in recommendations.
ā Step 3: Remove Dishes That Violate Dietary Restrictions
Exclude dishes containing ingredients that match workflow.tastePalette.restrictions.
ā Step 4: Remove Dishes That Contain Allergens
If a dish has an ingredient that appears in workflow.tastePalette.allergies, discard it.
ā Step 5: Match Spiciness Preference
If a user prefers mild but the dish is spicy, lower its ranking.
If a user likes spicy food, prioritize spicier dishes.
4ļøā£ Rank Recommended Dishes
Top Priority: Dishes that match both favorite cuisines and favorite dishes.
Medium Priority: Dishes that match favorite cuisines but not specific dishes.
Lower Priority: Dishes that match some preferences but require minor adjustments (e.g., spice level).
https://cdn.discordapp.com/attachments/1391792899347320853/1391817211043123300/image.png?ex=686d4649&is=686bf4c9&hm=ac54ce0021b80febc160e57954b1f4f25d5765137d28c6fb62998cb89b738644&https://cdn.discordapp.com/attachments/1391792899347320853/1391817211387183275/Screenshot_2025-07-07_215351.png?ex=686d4649&is=686bf4c9&hm=66491f4131a94b80044d079816bdedc4d1fbfc124eff25b7c7f38673e3bc0791&https://cdn.discordapp.com/attachments/1391792899347320853/1391817211739639848/Screenshot_2025-07-07_215406.png?ex=686d4649&is=686bf4c9&hm=3e5385f137bbeea00b62c09eee2537d0b98e74a6149ecc9b3a764f32f935b16e&
b
better-optician-3834
07/08/2025, 6:24 AM
is there any additional instruction to this one method (step by step) for Knowledge Base Agent?
r
rapid-forest-80249
07/08/2025, 5:30 PM
So far I don't think so, I believe that you should try this first and then go on modifying as you like on the basis of the results