3 ms·
Wasn’t there a yesterday proj that asks gpt to output non json but then it turns it into json after? Thus making it less prone to json errors
by m3kw9 4y ago
Wasn’t there a yesterday proj that asks gpt to output non json but then it turns it into json after? Thus making it less prone to json errors
- m3kw9 4y agoAh, this one: https://github.com/1rgs/jsonformer https://github.com/1rgs/jsonformer
- yawnxyz 4y agoThat one is robust but requires pytorch and huggingface and all kinds of things. I think most of us want something that's reasonable few lines of code and can run in places like serverless and replit.