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

[Feature] Enhance JSON Schema Converter #134

Merged

Conversation

Ubospica
Copy link
Collaborator

@Ubospica Ubospica commented Dec 23, 2024

This PR enhances the JSONSchemaConverter:

  • Support oneOf
  • Support allOf with one option
  • Support $ref with any path (previously only those starting with #/$def/ is supported)
  • Support object with properties specified but not type, and array with item specified but not type
    This PR also completes support for pydantic V1.

@Ubospica Ubospica force-pushed the main-dev/2024-12-24-enhance-json-converter branch from 3b3a203 to 89bbe76 Compare December 25, 2024 11:12
@Ubospica Ubospica merged commit 937f3c4 into mlc-ai:main Dec 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant