An open API service indexing awesome lists of open source software.

https://github.com/streamlit/cookbook

This repository shares recipes on building Streamlit apps with various tools.
https://github.com/streamlit/cookbook

Last synced: 9 months ago
JSON representation

This repository shares recipes on building Streamlit apps with various tools.

Awesome Lists containing this project

README

          

# 📖 Streamlit Cookbook

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.

## 🧑‍🍳 How to use this cookbook?
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`.

## 🍪 List of Recipes

### AI Recipes
| Tool | Description | Resources |
| -- | -- | -- |
| [CrewAI](https://github.com/streamlit/cookbook/tree/main/recipes/crewai) | Build the VacAIgent app where agents collaboratively decide on cities and craft a complete itinerary for your trip based on specified preferences. | |
| [Ollama](https://github.com/streamlit/cookbook/tree/main/recipes/ollama) | Build a Streamlit Ollama chatbot using a local LLM model. | |
| [Replicate](https://github.com/streamlit/cookbook/tree/main/recipes/replicate) | Build a Streamlit Replicate chatbot that allow users to select an LLM model of their choice for response generation. | [Video](https://youtu.be/zsQ7EN10zj8), [Blog](https://blog.streamlit.io/how-to-recommendation-app-vector-database-weaviate/) |
| [Trulens](https://github.com/streamlit/cookbook/tree/main/recipes/trulens) | Ask questions about the Pacific Northwest and get TruLens evaluations on the app response. | |
| [Weaviate](https://github.com/streamlit/cookbook/tree/main/recipes/weaviate) | Build a movie explorer app that leverages the Weaviate vector database. | [Video](https://youtu.be/SQD-aWlhqvM), [Blog](https://blog.streamlit.io/how-to-recommendation-app-vector-database-weaviate/) |

### Data Recipes
| Tool | Description | Resources |
| -- | -- | -- |
| [Replit](https://github.com/streamlit/cookbook/tree/main/recipes/replit) | Build a statistical app that allow users select a suitable sample size for AB testing | [Video](https://youtu.be/CJ9E0Sm_hy4) |

## 🏃 How to run the app?
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`.

## 📥 How to contribute to this repo?
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](https://github.com/streamlit/streamlit-cookbook/issues)), writing a new recipe, improving a pre-existing recipe, or fixing a typo/error.

Simply submit a pull request [here](https://github.com/streamlit/streamlit-cookbook/pulls) to get started.