Welcome to the Chainlit Demos repository! Here you'll find a collection of example projects demonstrating how to use Chainlit to create amazing chatbot UIs with ease. Each folder in this repository represents a separate demo project.
To run a demo, follow these steps:
- Clone this repository:
git clone https://github.com/Chainlit/cookbook.git chainlit-cookbook
- Navigate to the desired demo folder:
cd chainlit-cookbook/demo-folder-name
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.env
file based on the provided.env.example
file:Modify thecp .env.example .env
.env
file as needed to include any necessary API keys or configuration settings. - Run the Chainlit app in watch mode:
chainlit run app.py -w
Your demo chatbot UI should now be up and running in your browser!
We'd love to see more demos showcasing the power of Chainlit. If you have an idea for a demo or want to contribute one, please feel free to open an issue or create a pull request. Your contributions are highly appreciated!