Company
Date Published
Author
Braden Ream
Word count
1633
Language
English
Hacker News points
None

Summary

Dialog context is a memory of a conversation flow as it progresses through its dialog turns. In Voiceflow, dialog context is handled by "lines," which can be used to connect two dialog turns, allowing the creation of multi-turn dialogs without switching contexts. Context switching occurs when the user changes topic or asks about something unrelated, and in this case, the barista would switch back to the original context once the user's intention has been fulfilled. Prime contexts are prioritized contexts that change the conversation outcome, such as medical emergencies, and require a continuous multi-turn dialog path. Contextual intents are contextualized responses that add another dimension to every response, requiring a "stack" model where each flow creates a layer of context within the stack. Overfilled slot context occurs when an assistant captures information not required for the current intent, while environmental context takes into account non-conversation driven factors such as time of day or weather, using condition steps to branch conversations based on conditional statements.