We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! 👋 Thank you so much for all the work on this library ❤️
Is it possible to support structured outputs based on the zod schema? https://openai.com/index/introducing-structured-outputs-in-the-api/
Right now, I'm wasting a lot of tokens trying to get the models to follow the schema, while still receiving the following error every now and then.
There seems to be a validation going on of the schema, but it just throws if it doesn't match. I'm using gpt-4o.
Error in processing: { type: 'xstate.error.actor.0.agent.processing', error: InvalidToolArgumentsError [AI_InvalidToolArgumentsError]: Invalid arguments for tool agent_prompt: Type validation failed
The text was updated successfully, but these errors were encountered:
Yes, great idea. I'm actually working on simplifying the API (see #51) and you will be able to use generateObject directly.
generateObject
Does this happen for you during agent.decide(…)?
agent.decide(…)
Sorry, something went wrong.
Does this happen for you during agent.decide(…)? Yes!
That's some great news! 🥳
No branches or pull requests
Hello! 👋 Thank you so much for all the work on this library ❤️
Is it possible to support structured outputs based on the zod schema? https://openai.com/index/introducing-structured-outputs-in-the-api/
Right now, I'm wasting a lot of tokens trying to get the models to follow the schema, while still receiving the following error every now and then.
There seems to be a validation going on of the schema, but it just throws if it doesn't match. I'm using gpt-4o.
The text was updated successfully, but these errors were encountered: