This project generates popular quotes using AI.
The project utilizes Vercel Edge functions in combination with the ChatGPT API, incorporating streaming functionality. It generates a prompt based on user input and form, transmits it to the ChatGPT API through a Vercel Edge function, and subsequently streams the resulting 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
.
pnpm run dev