examples/ai/README.md
These examples showcase a few simple applications of AI.
chat/: creating chatbots with marimo, using mo.ui.chatdata/: making data labeling and model comparison toolstools/: interacting with external functions and services with function calling, returning rich responsesmisc/: miscellaneous AI examples[!TIP] Submit a pull request to add an example!
The requirements of each notebook are serialized in them as a top-level comment. Here are the steps to open an example notebook:
uvuvx marimo edit --sandbox <notebook-url>[!TIP] The
--sandboxflag opens the notebook in an isolated virtual environment, automatically installing the notebook's dependencies 📦
You can also open notebooks without uv, in which case you'll need to
manually install marimo
first. Then run marimo edit <notebook-url>; however, you'll also need to
install the requirements yourself.