by cebert on 4/14/24, 12:46 PM
This should likely have a disclaimer that JSON you paste into the tool can be stored. I was intentionally providing bad input and was presented with a message, “Sorry, I couldn't parse this JSON. I've logged it and will try to add it to the list of use-cases. Please let me know if this error persists.”
by ryebread777 on 4/15/24, 1:17 AM
Seems useful as I do occasionally get broken JSON from LLM responses and would like an easy solution to that. However, I don't see this as something I would use an API for. Especially seeing the supported fixes are relatively simple. Seems like it should be a python package. Maybe if you could somehow handle a comparison with a pre-specified json schema that would make it more valuable.
by luckman212 on 4/16/24, 1:37 AM
by mstudio on 4/15/24, 2:52 AM
Very cool! One note: the random sample marked: 'Using a string "true" instead of a boolean true' leaves "true" as a string after parsing, instead of converting to an actual boolean.
by Tazcollings on 4/17/24, 3:51 AM
I like such professional and compact tools. Doing one thing and doing it well.
by genier200 on 4/17/24, 12:00 PM
Nice tools,Thanks.and does the broken json repaired by ai?
by dstala on 4/15/24, 10:51 AM
Wouldn't it be easier if we ask chatGPT to fix?
by blini2077 on 4/16/24, 3:24 AM
This is useful, I often have this problem too
by tbiehn on 4/15/24, 4:58 AM
Just imagine if we didn’t use heuristics to fix arbitrary inputs and instead we used some sort of learning algorithm that was trained on producing valid looking json - then all we’d need to do is add a prompt and start with some random noise… :P