Starting and stopping dialog sessions¶
To start a dialog session with the in-app assistant, you need to activate the Alan button. You can do it in the following ways:
Click or tap the Alan button displayed on top of the application UI.
Use the wake word. Make sure the wake word option is enabled for your in-app assistant project.
Use the activate() method for the Alan button to activate it programmatically.
To deactivate the Alan button and stop voice interaction, do either of the following:
Click or tap the Alan button
Say one of the following phrases:
Thanks Alan
Thank you Alan
Alan thank you
Alan thanks
Stop Alan
Alan stop
Use the deactivate() method for the Alan button to deactivate it programmatically
Note
You can deactivate the Alan button with voice only while Alan is listening to you. If you say one of the above phrases while Alan is saying something, the Alan button will not be deactivated.