Giter Site home page Giter Site logo

djsaunders1997 / gpteasers Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 904 KB

App To Play ChatGPT Generated Quizes

Home Page: https://djsaunders1997.github.io/GPTeasers/

License: MIT License

Python 36.02% JavaScript 51.48% HTML 8.17% Dockerfile 3.12% CSS 1.21%
gpt quiz

gpteasers's Introduction

Deploy static content to Pages Trigger auto deployment for gpteasers CodeQL

GPTeasers ๐Ÿง ๐Ÿ’ก

Welcome to GPTeasers - where we tickle your brain with quizzes from the depths of GPT's knowledge! ๐ŸŽ“๐Ÿค–

https://djsaunders1997.github.io/GPTeasers/

Overview ๐ŸŒ

GPTeasers is a webapp that generates quiz-style questions based on the topic you provide. Want to challenge yourself with "Roman History" or dive deep into "Quantum Physics"? We've got you covered! ๐Ÿ“šโœจ

Game of GPTeasers

Features ๐ŸŒŸ

  • Dynamic Quizzes ๐Ÿ“: Enter a topic and get a quiz in seconds!
  • Instant Feedback ๐Ÿ’ฌ: Know right away if you're a genius or if it's time to hit the books.
  • Mobile Friendly ๐Ÿ“ฑ: Quiz yourself anytime, anywhere.
  • Hosted on GitHub Pages ๐Ÿš€: Fast, reliable, and free!

How to Use ๐Ÿ› ๏ธ

  1. Visit the App ๐ŸŒ: Go to the GPTeasers site.
  2. Enter a Topic ๐Ÿ”: Type in your desired topic in the search box.
  3. Start the Quiz ๐ŸŽ‰: Answer the questions and see how you fare!
  4. Share & Challenge Friends ๐Ÿค: Think you did well? Share your results and challenge a friend!

Architecture

Architecture Diagram

  1. Web Browser (Client): The user accesses the static site hosted on GitHub Pages.
  2. GitHub Pages (Static Site): The static site serves content to the client. When specific actions are taken on the site (pressing a Generate Quz button), a call is made to the Azure Functions Backend.
  3. Azure Container Apps: Once triggered, the FastAPI containers communicates with the OpenAI API, sending requests and receiving responses.
  4. OpenAI API: Processes the request and sends back a response.

Contribute ๐Ÿคฒ

Love GPTeasers? Want to make it even better? We welcome contributions!

  1. Fork this repo ๐Ÿด.
  2. Make your changes ๐Ÿ› ๏ธ.
  3. Submit a pull request ๐Ÿ‘ฅ.

gpteasers's People

Contributors

djsaunders1997 avatar

Stargazers

Jacques Saunders avatar

Watchers

 avatar

gpteasers's Issues

Stream response

TODO: Add more details to this ticket

I want to stream responses so that users don't have to wait 1min to get the first response.

I have been waiting on this issue:
Azure/azure-functions-python-worker#1349 (reply in thread)
And it looks like this functionality is now in Public Preview. See example of streaming OpenAI responses here:
https://techcommunity.microsoft.com/t5/azure-compute-blog/azure-functions-support-for-http-streams-in-python-is-now-in/ba-p/4146697

If not there appears to be a work around with a Django hack:
https://stackoverflow.com/questions/75426931/python-stream-azure-function-response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.