Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 902 Bytes

README.md

File metadata and controls

49 lines (30 loc) · 902 Bytes

ChatGPT demo

Try the demo online

Start

Run the following commands in your command line. (without the $ sign)

First, install the dependencies.

# npm
$ npm install

# yarn
$ yarn add

# pnpm
$ pnpm install

Then, start the dev server:

# npm
$ npm run dev

# yarn
$ yarn dev

# pnpm
$ pnpm dev

You should see the application running at http://localhost:5173 by default.

Usage

When you start the application, you should see there is a arrow in the top bar.

When you have clicked it, it will open a popper that contains an API key input box.

Input your own API key, and then enjoy using it!

Tips

The first message may respond very slowly, because it's loading the language bundles that are used to highlight the code.

After that, it will resume to normal response speed. (I supposed)