Commit ee1a1eea authored by Travis Fischer's avatar Travis Fischer

docs: update readme for demo

parent 7c30a181
...@@ -60,14 +60,14 @@ const api = new ChatGPTAPI({ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment