Update readme.md

chatgpt-api
Travis Fischer 2023-02-26 01:38:57 -06:00 zatwierdzone przez GitHub
rodzic 7f62f111d0
commit 31a2db3097
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -184,7 +184,7 @@ const api = new ChatGPTAPI({
}) })
``` ```
If you want to track the conversation, you'll need to pass the `parentMessageid` and `conversationid` like this: If you want to track the conversation, you'll need to pass the `parentMessageId` and `conversationId` like this:
```ts ```ts
const api = new ChatGPTAPI({ apiKey: process.env.OPENAI_API_KEY }) const api = new ChatGPTAPI({ apiKey: process.env.OPENAI_API_KEY })