https://retellai.com/?utm_source=discord&utm_medium=seo logo
Handing multi-divergent answering paths in convers...
# ask-retell-partners
g
Hello, everyone! I wanted to get your opinions on how you build conversational flow agents. Here's what I've been doing and would like your input to change things if you think it needs improvements. Say there's a support agent that deals with only one solo topic(say "Baking cakes"). The knowledge base includes information on various cake recipes, various techniques, various tools one might use, various pitfalls, do's and don'ts. The agent has the following capabilities - Get the user's name and email information for adding them to a mailing list - Talk about topics covered in the KB - Ask a list of preliminary questions to the user that will determine how the conversation goes - Guide the user through a particular recipe of their choice(keeping context of what they've done so the agent continues at the right place) - Make adjustments to the recipes based on the tools available to the user - Allow the user to change ingredients in the recipe they're following - Schedule a callback with a local expert - Send the recipe via email Here's what I have done - - I have different nodes for name and email information extraction - I have a single node for asking the preliminary questions, answering questions based on KB, and providing guidance. This has a supporting dynamic variable extraction to keep track of user info, and use those values in the node's prompt such that the agent is able to keep track without losing context. - I have separate nodes for sending emails, scheduling calls, and other misc stuff. I wanted to know if this is fine or if I should be splitting my main Q&A node into multiple nodes based on the choices made for the preliminary nodes. Would this help in any way or is the single node sufficient?