Skip to content

droid-mohit/IPLQuizApp

Repository files navigation

IPL Trivia Game. Built with OpenAI Functions and Kaggle IPL Dataset.

Introduction

This is an open-source AI trivia game that uses OpenAI Functions and the Kaggle IPL dataset to generate trivia questions for users.

IPL.trivia.game.made.with.OpenAI.mp4

Deploy your own

You can deploy your own version of the trivia game.

Backend code: https://github.com/droid-mohit/drd-trivia-backend Frontend code: https://github.com/droid-mohit/IPLQuizApp/ Process we followed: https://notes.drdroid.io/create-a-trivia-game-about-a-random-topic-in-2-hours

Setting Up Locally

To set up the game locally, you'll need to set up the following environment variables:

  • OPENAI_KEY – your OpenAI_API key (you can get one here)

Note: The openai_key variable you might see in code is non-functional and you need to put one in env variables.

Tech Stack

The quiz is built on the following stack:

  • OpenAI Function Calling
  • Kaggle Dataset — IPL 2023
  • Code Stack: ReactJS, Python
  • Infra Stack: Docker Compose + AWS EC2 + gunicorn (nightmare to deploy full stack application as a side project)

About

Quiz generator app to try LLM based DB lookups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published