📚 node [[child dialogue nodes]]
📓
garden/KGBicheno/Artificial Intelligence/Creating Chatbots/Week 1/Child Dialogue nodes.md by @KGBicheno
Child Dialogue nodes
When we have multiple responses to one Intention node based on different entities, we can offload the dialogue stream onto different child nodes to ensure the response matches the input.
For example: With the #hours_info intent, our response changes depending on the @location entity, so when we build our dialogue, we create a child dialogue with multiple responses based on the different entities in the user input.
-
What time is your Vancouver store open?
-
#hours_open intent
- @location entity
-
#hours_open intent
We want to be able to change the response based on the entity.
- What time is your @location store open?
So we add child nodes as below.
Main considerations
- Delete the text response from the main node
- Change the "What for user response" option to "Skip user input" so it will hand off to the child nodes
- Use the cog symbol in the child node to change to "multiple conditioned responses" so each entity can have its own response.
Fallback child node
Like having the "Anything else" node last, you should always have a [[Fallback child node]] last.
📖 stoas
- public document at doc.anagora.org/child-dialogue-nodes
- video call at meet.jit.si/child-dialogue-nodes
⥱ context
← back
building ai powered chatbots with watson
fallback child node
how to build a chatbot with watson assistant
implementing dialogues
main ai page
building ai powered chatbots with watson
fallback child node
how to build a chatbot with watson assistant
implementing dialogues
main ai page
↑ pushing here
(none)
(none)
↓ pulling this
(none)
(none)
🔎 full text search for 'child dialogue nodes'