Devin Card
Devin Card
@rbren Should probably implement Outlines-dev to entirely prevent improper json outputs. works with all models, gpt and local. makes it impossible for improper json to be output, never any need...
instead of repairing json, a better solution would be to never allow the llm to output improper json. https://github.com/outlines-dev/outlines
https://github.com/outlines-dev/outlines might be the best solution. when implemented, it will never output improper json, or any chosen schema/regex