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
|
```bash
|
||||||
# 1. clone repo
|
# 1. clone repo
|
||||||
# 2. install node deps
|
# 2. install node deps
|
||||||
# 3. set `SESSION_TOKEN` in .env
|
# 3. set `SESSION_TOKEN` in .env
|
||||||
# 4. run:
|
# 4. run:
|
||||||
npx tsx src/example.ts
|
npx tsx demo.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
Ładowanie…
Reference in New Issue