Skip to content

A demo repo based on OpenAI API (gpt-3.5-turbo)

License

Notifications You must be signed in to change notification settings

Alleyq/chatgpt-demo

 
 

Repository files navigation

ChatGPT-API Demo

A demo repo based on OpenAI GPT-3.5 Turbo API.

Run Locally

  1. Setup & Install dependencies

    First, you need Node.js installed.

    npm i
  2. Make a copy of .env.example, then rename it to .env

  3. Add your OpenAI API key to .env

    OPENAI_API_KEY=sk-xxx...
    
  4. Run the app

    npm run dev

Deploy With Vercel

Deploy with Vercel

Creative Forked Versions

License

MIT

About

A demo repo based on OpenAI API (gpt-3.5-turbo)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 79.4%
  • Astro 13.0%
  • JavaScript 4.4%
  • CSS 1.7%
  • Shell 1.5%