You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function calling handlers that extract data from openai is currently a string field told to be json. ChatGPT may return json with trailing commas or other invalid json from time to time. It may be better to modify the function calling handler to take an object instead to guarantee it's valid.
The text was updated successfully, but these errors were encountered:
MrPicklePinosaur
changed the title
openapi produces invalid json sometimes
openai produces invalid json sometimes
Jun 18, 2023
The function calling handlers that extract data from openai is currently a string field told to be json. ChatGPT may return json with trailing commas or other invalid json from time to time. It may be better to modify the function calling handler to take an object instead to guarantee it's valid.
The text was updated successfully, but these errors were encountered: