Ai-ideas is a web application that allows users to input a language or a framework, and generates a sentence of infos in return.
This project uses the OpenAI GPT-3 API (specifically, text-davinci-003). It asks a user to select from a dropdown a language or framework as an input. Then sends it to the GPT-3 API and sends the response back to the application.
After cloning the repo, go to OpenAI to make an account and put your API key in a file called .env
.
Then, run the application in the command line and it will be available at http://localhost:3000
.
npm install
npm run dev
Deploy the example using Vercel:
- Make sure to include environment variable in Vercel Environmental Veriables