Skip to content
New issue

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

Allow Unchecked Schema for Tool Calls and object generations. Make Zod optional. #1474

Closed
Necmttn opened this issue May 1, 2024 · 2 comments
Labels

Comments

@Necmttn
Copy link

Necmttn commented May 1, 2024

Feature Description

For the AI core api would like to be able to generate tool calls based on the JSON Schema instead of Zod Schema

Use Case

In @craftgen We are generating the json schema for the nodes/tools on the fly a.k.a user generated.

Additional context

@lgrammel have implemented this before for modelfusion 🤘

https://github.com/vercel/modelfusion/blob/9d99703dc7b60836992bf661cfc9698c8ee5976c/examples/basic/src/model-function/generate-object-unchecked-json-schema-example.ts#L2

Let me know if you guys need help.

@lgrammel
Copy link
Collaborator

Duplicates #1062

@lgrammel
Copy link
Collaborator

implemented in #2386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants