Also potential of uniting these into one could be investigated.
Some additional python code might be required, unclear yet from which side.
Maybe some additional tests.
The first thing to do is to confirm that the logic is exactly the same (check whether they share the same tests). If that's the case we can update Outlines.
What behavior of the library made you think about the improvement?
We have
json_schema
parsing logic available.How would you like it to behave?
Outlines suppose to use these exposed python bindings:
build_regex_from_schema
to_regex
Related issue in
outlines
: https://github.com/dottxt-ai/outlines/issues/1227Also potential of uniting these into one could be investigated. Some additional python code might be required, unclear yet from which side. Maybe some additional tests.