Advanced Features
Ask User
The ask APIs prompt the user for input. Depending on the API, the user input can be a string, a file, or pick an action.
Until the user provides an input, both the UI and your code will be blocked.
![](https://mintlify.s3-us-west-1.amazonaws.com/chainlit-43/images/ask-file.png)
Ask File example
Available Ask APIs
Was this page helpful?