Skip to content

Generates questions and answers from the passage provided by the user.

Notifications You must be signed in to change notification settings

Krishna2709/OpenAI-QA-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 OpenAI-QA-Generator

Generates questions and answers from the passage provided by the user.
👉QA-Generator: https://chatgpt-translator-2b3f3.web.app

ℹ️ Project Descripton:

  • Q&A generator web app powered by OpenAIs ChatGPT, built on Streamlit and deployed on Google Cloud

🖥️ Setup

  1. Install the required libraries
pip install -r requirements.txt
  1. Create an OpenAI account and generate API key
  2. Create an .env file to store the API key
  3. Modify the inputs and prompt according to the usage
  4. Deploy the app on Google Cloud (need to install GCloud SDK: https://cloud.google.com/sdk/docs/install)

👉 login

gcloud auth login

👉 initialize (create/select a project)

gcloud inti

👉 build a container (need Docker)

gcloud builds submit --tag gcr.io/<project-id>/<docker-container-name>

👉 deploy the container

gcloud run deploy --image gcr.io/<project-id>/<docker-container-name> --set-env-vars "Key=Value"

🥳 Congratulations 👏

About

Generates questions and answers from the passage provided by the user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published