Welcome to Portkey Forum

Home
Members
jbianchini1
j
jbianchini1
Offline, last seen 4 weeks ago
Joined November 4, 2024
Edit: Ended up just adding in a response parser to catch the change, but FYI to anyone parsing the JSON object directly:

Hey everyone! I'm running into an issue within the last 15-20 minutes where JSON formatted responses from the OpenAI API are returning with "json" at the front of them, which wasn't happening previously. Not sure if it's a Portkey change or something changed within the OpenAI API, any suggestions would be really helpful! For context: the past few weeks and even today, they've been returning like this:

"message": {
"role": "assistant",
"content": "{\n "overallSummary":

But as of 15-20 minutes ago, starting to come through like this:

"message": {
"role": "assistant",
"content": "```json\n{\n "overallSummary"
4 comments
Q
V
G