Turn data
LiveHub AI Framework automatically populates the following dynamic variables on each turn:
-
user_utterance– last user utterance -
user_utterance_count– sequential number of current user utterance in the conversation; 1 is the first user utterance, 2 – the second, and so on. -
user_utterance_message– similar to user_utterance_count, but ignores “fake” utterances – for example NO-USER-INPUT utterances generated upon user inactivity events or DTMF utterances generated when user presses digits on his phone -
duration– duration of current conversation in seconds In order to use turn data variables in your prompts, you should enable Dynamic Prompts, as described in Dynamic prompts.