Interactive Avatar Modality Flows
User Event Flows
# Wait for a UI selectionflow user selected choice $choice_id -> $choice# Wait for a UI selection to have happened (considering also choices that happened right before)flow user has selected choice $choice_id# Wait for user entering keystrokes in UI text fieldflow user typing $text -> $inputs# Wait for user to make a gestureflow user gestured $gesture -> $final_gesture# Wait for user to be detected as present (e.g. camera ROI)flow user became present -> $user_id# Wait for when the user talked while bot is speakingflow user interrupted bot talking $sentence_length=15
Bot Action Flows
# Trigger a specific bot gestureflow bot gesture $gesture# Trigger a specific bot gesture delayedflow bot gesture with delay $gesture $delay# Trigger a specific bot postureflow bot posture $posture# Show a 2D UI with some options to select fromflow scene show choice $prompt $options# Show a 2D UI with detailed informationflow scene show textual information $title $text $header_image# Show a 2D UI with a short informationflow scene show short information $info# Show a 2D UI with some input fields to be filled inflow scene show form $prompt $inputs
Bot Event Flows
# Wait for the bot to start with the given gestureflow bot started gesture $gesture# Wait for the bot to start with any gestureflow bot started a gesture -> $gesture# Wait for the bot to start with the given postureflow bot started posture $posture# Wait for the bot to start with any postureflow bot started a posture -> $posture# Wait for the bot to start with any actionflow bot started an action -> $action
State Tracking Flows
These are flows that track bot and user states in global variables.
# Track most recent visual choice selection state in global variable $choice_selection_stateflow tracking visual choice selection state
Helper & Utility Flows
These are some useful helper and utility flows:
# Stops all the current bot actionsflow finish all bot actions# Stops all the current scene actionsflow finish all scene actions# Handling the bot talking interruption reactionflow handling bot talking interruption $mode="inform"
Posture Management Flows
# Activates all the posture managementflow managing bot postures# Start and stop listening postureflow managing listening posture# Start and stop talking postureflow managing talking posture# Start and stop thinking postureflow managing thinking posture# Start and stop idle postureflow managing idle posture