Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 859 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 859 Bytes

This project generates popular quotes using AI.

Popular Quotes Generator

How it works

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.

Running Locally

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