Dialog script concepts¶
The design of a conversion flow starts with creating a dialog script in Alan AI Studio. In the dialog script, you implement the logic for your assistant: cover all conversational turns that the user should be able to follow and requests that the virtual assistant must handle.
The number of dialog scripts in the virtual assistant project is determined by the project’s size and complexity. A single dialog script may be enough for a simple virtual assistant. If you create a more complex assistant, you may want to split its code into multiple scripts for better organization. Scripts in such projects are executed in the order they appear in the script panel in Alan AI Studio, up to bottom.
You can use the following functionality and tools for dialog script design:
Learn how to use the visual state to pass the information about the current visual context
Learn how to use Alan AI’s project API functionality to pass information and trigger activities
Learn how to display popups to engage the user to interact with the virtual assistant
Learn how to listen to events driven by the user’s interaction with the virtual assistant