What is an Action box?

  • Action boxes are created in the Code tab of the Langstack Application template.

  • An Action box must contain one or more Actions.

  • Users may define multiple Action boxes within one Langstack application.

  • The Action box has a Description field labeled โ€œOnExitโ€ by default.

  • Users can define a meaningful label for the Action box by clicking on the description.

  • To change the description of an Action box:

    • Click on the text of the description to start updating the text

    • Press Enter or click away from the edit field.

  • An Action box comprises two (2) tabs

    • Code tab: This is where the user can add Actions for the Action box (More details are provided in the section โ€˜What is an Action?โ€™)

    • Variables tab: This is where the user can add variables for the Action box (More details are provided in the section โ€˜What is a variable?โ€™)

  • The Shared Variables for Actions can be defined in the โ€œVariablesโ€ tab of the Langstack Application template. These Shared Variables are accessible to all created Action boxes throughout the execution of the Langstack Application.

  • Variables defined in an Action box cover the scope of all Actions within that Action box.

Last updated