ChatGPT style web app(alpine.js) using Netlify Edge Functions Streaming
- Clone this repo
- Get OpenAI API Key (You'll need an OpenAI account)
- Connect your repo in Netlify (You'll need a Netlify account)
- Setup a site in Netlify by connecting to your repo
- Before you build, setup the env variable OPENAI_API_KEY for your site
- That's all! Enjoy the streaming chat experience.
Note: This demo is built to show the power of Netlify Edge Functions and how easy its to build streaming applications. It was great using ChatGPT-4 to help me with initial set of code, though I did a good bit of improvisation along the way. Please do share use cases you're building with generative AI APIs.