kelvinrrivera / watch-this

Home Page:https://what-to-watch-roan.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How it works

This project uses the OpenAI GPT-3 API (specifically, text-davinci-003) and Vercel Edge functions with streaming. It generates 5 cinema recommendations based on the form and user input, sends it to the GPT-3 API via a Vercel Edge function, then streams the 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.

For example:

OPENAI_API_KEY=...

Then, run the application in the command line and it will be available at http://localhost:5173.

npm run dev

Deploy Instantly on Vercel

Deploy with Vercel

About

https://what-to-watch-roan.vercel.app


Languages

Language:Svelte 85.1%Language:TypeScript 9.2%Language:JavaScript 3.8%Language:HTML 1.7%Language:CSS 0.2%