-
Notifications
You must be signed in to change notification settings - Fork 947
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
Convert model and message schema to standardized format #3441
Comments
Yay, this would be awesome, if only for documentation purposes, but definitely for broader implementation of the core widgets in different kernels, which would be a huge step forward... better still if this could be automated. This would be a bit beyond my usual go-to recommendation of quicktype, as evented models aren't built into most languages 😆. To that end: here's a really crazy notebook that generates schema and then generates concrete typescript kernel classes that use the async iterators everywhere. I am not suggesting that the resulting classes are useful, but some of the intermediate mapping tables might be. Long term: I feel like every darned |
Hello, I'm just starting to contribute in the widget ecosystem. Is this issue referencing the We also noticed that this is not a proper JSON schema, and since we use a default JSON schema validator, we have to modify the JSON before passing it to the validator.
Other specs of JSON schema could be interesting but this is a good start. What do you think? |
Yerp, nothing's worse than almost JSON schema. Further, having this available as-packaged (on the Python and JS side, initially) would be super useful, though potentially as another package, or only in |
As @bollwyvl points out here and here, it would be nice if our schemas for models and/or messages were documented in a standardized json schema format (like json-schema, for example).
The text was updated successfully, but these errors were encountered: