Streamlit Cookbook is a compilation of Streamlit app templates that you can use as boilerplate code to jumpstart your own app creation endeavors.
In a nutshell, each recipe allows you to quickly spin up a working Streamlit app that implements the library/tool of interest.
For your convenience, we've categorized tool integrations by library name. For instance, Streamlit app built using OpenAI is a sub-folder in the replicate folder, thus recipes/replicate.
| Tool | Description | Resources |
|---|---|---|
| CrewAI | Build the VacAIgent app where agents collaboratively decide on cities and craft a complete itinerary for your trip based on specified preferences. | |
| Ollama | Build a Streamlit Ollama chatbot using a local LLM model. | |
| Replicate | Build a Streamlit Replicate chatbot that allow users to select an LLM model of their choice for response generation. | Video, Blog |
| Trulens | Ask questions about the Pacific Northwest and get TruLens evaluations on the app response. | |
| Weaviate | Build a movie explorer app that leverages the Weaviate vector database. | Video, Blog |
| Tool | Description | Resources |
|---|---|---|
| Replit | Build a statistical app that allow users select a suitable sample size for AB testing | Video |
To run the app, start by installing Streamlit on the command line using the pip install streamlit command. Next, change into the directory and launch the app via streamlit run streamlit_app.py.
We welcome contributions to this repository Contributions can come in many forms whether it be suggesting a recipe idea (please suggest it on the issues page), writing a new recipe, improving a pre-existing recipe, or fixing a typo/error.
Simply submit a pull request here to get started.