Managing scripts

To add a dialog script to the Alan AI project:

  1. In Alan AI Studio, open the project to which you want to add a dialog script.

  2. At the top of the left pane, click Add Script.

  3. Do either of the following:

    • To add a custom script, in the New script name field, enter the script name and click Add New Script.

    • To add a predefined script, in the Add script example list, select one or more scripts and click Add Predefined Scripts. For details, see Dialog script examples.

../../../_images/scripts.png

You can rename a script or delete it from the project when necessary.

  • To rename a script, in the left pane, hover over the script name, click the options icon and select Rename.

  • To delete a script, in the left pane, hover over the script name, click the options icon and select Delete.

  • To discard the changes in the script and revert it to the latest saved state, in the left pane, hover over the script name, click the options icon and select Discard local changes.