Skip to content

Commit bee3a60

Browse files
author
Antonio Cheong
authored
Merge pull request acheong08#26 from 0xRaduan/note-on-conversation-id
2 parents b58d40e + fe4a838 commit bee3a60

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ There is also a [Python based client](https://github.com/ahmetkca/chatgpt-unoffi
3838
```bash
3939
$ curl "http://localhost:8080/api/ask" -X POST --header 'Authorization: <API_KEY>' -d '{"content": "Hello world", "conversation_id": "<optional>", "parent_id": "<optional>"}'
4040
```
41+
Note: if you want to use `conversation_id`, you also need to use `parent_id`!
4142

4243
## Routes
4344

@@ -73,6 +74,7 @@ Data:
7374
```
7475

7576
Do not enter conversation or parent id if not available.
77+
If you want to use either of these, you need to specify both! i.e. `request.parent_id=response.response_id` and `request.conversation_id=response.conversation_id`
7678

7779
Response:
7880

0 commit comments

Comments
 (0)