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 installoryarn installin terminal - In
pages/api/openai.jsyou construct your request to OpenAI API - In
pages/index.jsyou tweak your UI/UX - Start the dev server with
yarn devornpm run devcommand - Run
setxcommand 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 installagain.
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/