Hi, I’ve just started switching over from Davinci to the newly released gpt-3.5-turbo model. I’m having an issue where the API only accepts message prompts that don’t include line breaks. Perhaps, it’s a formatting issue with my prompt, but I’m not sure. Any tips on how to fix this?
Here’s an example:
[
{“role”: “system”, “content”: “You are a helpful assistant that translates English to French.”},
{“role”: “user”, “content”: ‘Translate the following English email to French: “{
Hi John,
Want to grab lunch Tuesday?
Jeremy
}”’}
]
Thanks for the help. This works. Any idea why the Chat API doesn’t accept natural line breaks? For context, I’ve been calling the text-davinci-003 API with natural line breaks and having no issues.