Guide User To Specific URL (Ecommerce)
# 🤝help
p
Hi! 👋 I'm new to Botpress and have made huge progress but haven't been able to solve the following case: Need: * Create an AI bot as an ecommerce guide. Respond a short answer and guide the visitor to the corresponding page. Examples: - User: Do you have wine? - Bot: Yes. Our wine is perfect for any occasion or gift. More information: www.mysite.com/wine - User: What is your delivery time? - Bot: Our delivery time is 2 days. More information: www.mysite.com/delivery * I have added plain text to my knowledge base with product categories (wine, food, etc), a short description and the corresponding URL. Problem: * Even adjusting multiples times my prompt and instructions, the AI bot doesn't always mention the URL or it makes up new URLs that don't exist. Example: - User: Do you have white wine? - Bot: Yes. Our wine is perfect for any occasion or gift. More information: www.mysite.com/wine-white (this URL doesn't exist). Anyone knows a good prompt, instruction or setup for this kind of ecommerce bots? Would Botpress Tables be a better "knowledge base" instead of a plain text? Thanks for the help!
c
Did you try using purely knowledge base without the AI Task input?
r
I have similar issues where even though the exact url is included the kb and it has the correct website, it often generates its own urls such as example.com/product or changes the web suffix . I suspect this is coming from the personality agent which you cannot currently turn off for specific nodes unfortunately. Also looking for a solution 🌝
p
Hi @careful-keyboard-68830 , thanks for the help. I have tested without the AI Task input and works a LOT better! 👍 Therefore, would you recommend using AI Task for when the answer is not included in the KB? (maybe as a "backup"). Thanks again
c
I would not recommend AI Task for now since it's still far from actually useable in a business setting. I would rather have a separate KB that just has a web search (not specific website, the whole web). That would serve as my fallback. Then the AI Task would just be the icing on top if I need any reformatting or rephrasing.
3 Views