Update readme.md

pull/396/head
Travis Fischer 2023-02-26 01:38:57 -06:00 zatwierdzone przez GitHub
rodzic 0d8dea1cbd
commit 5be8159daa
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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 })