-
Notifications
You must be signed in to change notification settings - Fork 126
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
TypeChat integration #849
Comments
@pelikhan Best option as discussed: |
So the issue with Zod is that we bundle all the type information in genaiscript.d.ts and I don't know how much typescript definition we would need to make it work. What we really want is a mini-Zod like library that only supports the subset of JSON schemas defined in genaiscript (JSON schema can be more complex than what LLM can typically handle) |
But yeah a runtime api to build a schema in a fluent way would be noice |
We have a runtime file now so we could ship a zod helper/wrapper |
Integrate or replcaite TypeChat like reflection where one can define a schema from a type instead of JSON schema.
The text was updated successfully, but these errors were encountered: