Skip to content

Latest commit

History

History
35 lines (28 loc) 路 1.18 KB

File metadata and controls

35 lines (28 loc) 路 1.18 KB

Chainlit Cookbook

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.

馃殌 Getting Started

To run a demo, follow these steps:

  1. Clone this repository:
    git clone https://github.com/Chainlit/cookbook.git chainlit-cookbook
    
  2. Navigate to the desired demo folder:
    cd chainlit-cookbook/demo-folder-name
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    
  4. Create a .env file based on the provided .env.example file:
    cp .env.example .env
    
    Modify the .env file as needed to include any necessary API keys or configuration settings.
  5. 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!

馃拋 Contributing

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!