-
Hello, I'm using AI SDK with OpenAI to generate structuredOutputs. Until this morning, it was working just fine.
However, this morning, I've updated AI SDK to latest version and I've got (sometimes) a validation schema whereas I didn't change anything. And, indeed, Trying another time, the schema error was different because value returns an array where a string was asked... Did you see the same problem? Thanks.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
If you set |
Beta Was this translation helpful? Give feedback.
If you set
structuredOutputs: true
openai says they guarantee the structure. My bet is that there is a temporary issue with the OpenAI API.