kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Update readme.md
Typo demo-persistence.ts with demo-conversation.ts in the readme demopull/354/head
rodzic
72d35b8f1b
commit
60c43c1c42
|
@ -197,7 +197,7 @@ npx tsx demos/demo-conversation.ts
|
||||||
A [persistence demo](./demos/demo-persistence.ts) shows how to store messages in Redis for persistence:
|
A [persistence demo](./demos/demo-persistence.ts) shows how to store messages in Redis for persistence:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx tsx demos/demo-conversation.ts
|
npx tsx demos/demo-persistence.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
Any [keyv adaptor](https://github.com/jaredwray/keyv) is supported for persistence, and there are overrides if you'd like to use a different way of storing / retrieving messages.
|
Any [keyv adaptor](https://github.com/jaredwray/keyv) is supported for persistence, and there are overrides if you'd like to use a different way of storing / retrieving messages.
|
||||||
|
|
Ładowanie…
Reference in New Issue