A python module to repair invalid JSON, commonly used to parse the output of LLMs
This simple package can be used to fix an invalid json string. To know all cases in which this package will work, check out the unit test.
Some LLMs are a bit iffy when it comes to returning well for…