Actions make your Chainlit app more interactive by allowing users to call python functions from the UI.

The Action class enables you to send clickable buttons to the user interface and declare callbacks for when the user clicks on them.

Action API

Learn how to send actions to the user interface.