Skip to content

DamienLee2017/chatgpt-demo

 
 

Repository files navigation

ChatGPT-API Demo

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

How to build

  1. Setup & Install dependencies

    First, you need Node.js (v18+) 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

License

MIT

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.7%
  • Astro 28.3%
  • JavaScript 5.2%
  • CSS 3.7%
  • Shell 0.1%