A state-of-the-art holiday theme based AI chatbot focusing on scalability, extensibility and real world applicability
This project was made as a submission to Serverless Holiday Hackathon 2023. Read the full submission article here.
The world has witnessed AI's potential thanks to platforms like OpenAI. It's crucial that AI isn't just limited to tech experts but accessible to everyone. Red Jingles is our attempt to create a chatbot backed by LLM with a Christmas theme featuring Santa Claus, Snowman, and Elf.
Application is hosted here API is hosted here
-
Ensure you have Docker installed on your machine. If not, follow the official Docker installation guide.
-
Run the container:
docker run -p 1225:8080 \ -e CHAINLIT_URL=http://localhost:1225 \ -e DISABLE_AUTH=true \ -e OPENAI_API_KEY=<YOUR_OPENAI_API_KEY> \ jbhv12/red-jingles:latest
-
Open your browser and go to http://localhost:1225 to view the app.
If you prefer running the app directly from the source code, follow these steps:
-
Make sure you have python installed.
-
Clone the repository:
git clone https://github.com/jbhv12-12/red-jingles.git
-
Navigate to the project directory:
cd red-jingles/app
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
chainlit run ./app.py --port 1225 -w
-
Open your browser and go to http://localhost:1225 to view the app.
-
Run the API (optional)
python api_server.py
-
Open your browser and go to http://localhost:8080 to view the API documentation.
API is hosted here
- Click on "Authorize" button on top right to authenticate yourself with your red-jingles credentials.
- Leave all input fields empty as is.
- Enter your creds when prompted
- Try out any API from UI. Notice a token passed in each request after authentication.
Read the full submission article here.
This project is licensed under the [Your License] - see the LICENSE.md file for details.