zhuidreamweaver / chatgpt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 79.6%Language:Astro 14.3%Language:JavaScript 4.3%Language:CSS 1.9%