kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
docs: update readme for demo
rodzic
7c30a18170
commit
ee1a1eea7d
|
@ -60,14 +60,14 @@ const api = new ChatGPTAPI({
|
|||
})
|
||||
```
|
||||
|
||||
A full [example](./src/example.ts) is included for testing purposes:
|
||||
A full [demo](./demo.ts) is included for testing purposes:
|
||||
|
||||
```bash
|
||||
# 1. clone repo
|
||||
# 2. install node deps
|
||||
# 3. set `SESSION_TOKEN` in .env
|
||||
# 4. run:
|
||||
npx tsx src/example.ts
|
||||
npx tsx demo.ts
|
||||
```
|
||||
|
||||
## Docs
|
||||
|
|
Ładowanie…
Reference in New Issue