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
Integration looks straightforward through jsonSchema helper. Perhaps worth creating a wrapper to facilitate this- want to look into the workflow:
jsonSchema
https://sdk.vercel.ai/docs/reference/ai-sdk-core/json-schema
The text was updated successfully, but these errors were encountered:
The first thought that comes to mind is how would it look to add documentation to a field? In zod, it looks like:
z.object({ prop: z.string().describe("Yo Mr. GPT, this is a property that should have XYZ data") });
This is important for providing documentation in the JSON schema for the LLM to consider.
Sorry, something went wrong.
ArkType also has a describe method, as well as a globally extensible type for attaching metadata:
describe
https://arktype.io/docs/expressions#meta https://arktype.io/docs/configuration#custom
No branches or pull requests
Integration looks straightforward through
jsonSchema
helper. Perhaps worth creating a wrapper to facilitate this- want to look into the workflow:https://sdk.vercel.ai/docs/reference/ai-sdk-core/json-schema
The text was updated successfully, but these errors were encountered: