dottxt-ai / outlines-core

Structured generation in Rust
Apache License 2.0
100 stars 3 forks source link

Support connection to `json_schema` bindings from `outlines` #82

Open torymur opened 6 days ago

torymur commented 6 days ago

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:

Related issue in outlines: https://github.com/dottxt-ai/outlines/issues/1227

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.

rlouf commented 2 days ago

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.