Skip to content

ameerbadri/chatgpt-alpinejs-netlify-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatgpt-alpinejs-netlify-openai

ChatGPT style web app(alpine.js) using Netlify Edge Functions Streaming

Setup:

  1. Clone this repo
  2. Get OpenAI API Key (You'll need an OpenAI account)
  3. Connect your repo in Netlify (You'll need a Netlify account)
  4. Setup a site in Netlify by connecting to your repo
  5. Before you build, setup the env variable OPENAI_API_KEY for your site
  6. 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.

About

ChatGPT style web app(alpine.js) using Netlify Edge Functions Streaming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published