Made By- Deepankar Varma
- Clone this repository.
- Add your OpenAI API key to .env file (sign up at https://beta.openai.com for account / key)
- Install node_modules by running
npm install
oryarn install
in terminal - In
pages/api/openai.js
you construct your request to OpenAI API - In
pages/index.js
you tweak your UI/UX - Start the dev server with
yarn dev
ornpm run dev
command - Run
setx
command in cmd for setting the API Key in the environment variables - Incase you get browser outdated error, run
npm install browserslist
- For any other major errors try removing the node modues , package.json and run the
npm install
again.
For help related to API connection visit OpenAI
Simply paste a paragraph in the first textarea and then enter the number of MCQ questions you need in the second textarea.Finally use the Frame Questions button to generate questions. The maximum questions generated at a time is 10 (Limitation from CHAT GPT).
If you don't have a setup on your computer that allow to run code locally, then use https://replit.com/