This is how I did it using XML, and it improved the responses dramatically: API Prompt for gpt-3.5-turbo-16k - #12 by SomebodySysop
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Assistant api don't access the database | 3 | 483 | July 4, 2024 | |
| How "force" the API to really follow all the instructions? | 41 | 15288 | August 20, 2023 | |
| I want to get json format response which I can pass using gpt-4 model. Also I want to give my prompt to get json data | 14 | 21832 | October 26, 2023 | |
| Any tips on prompting Assistant API to return the entire response in JSON? | 4 | 5067 | May 3, 2024 | |
| Inconsistent and invalid JSON response | 7 | 6930 | December 16, 2023 |