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
Parsing a recursive JSON schema seg faults without throwing an error.
import outlines_core.fsm.json_schema schema = r'{ "type": "object", "properties": { "name": { "type": "string" }, "children": { "type": "array", "items": { "$ref": "#" } } }}' regex = outlines_core.fsm.json_schema.build_regex_from_schema(schema)
### Expected result: ```shell Probably an error
Segmentation fault (core dumped)
Version information
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the issue as clearly as possible:
Parsing a recursive JSON schema seg faults without throwing an error.
Steps/code to reproduce the bug:
Error message:
Outlines/Python version information:
Version information
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: