3 ms·
If the LLM did such a bad job that the syntax is wrong, do you really trust the data inside? Forgiving parsers/lexers are common in language compilers for lang
by kevingadd 3y ago
If the LLM did such a bad job that the syntax is wrong, do you really trust the data inside?
Forgiving parsers/lexers are common in language compilers for languages like rust or C# or typescript, you may want to investigate typescript in particular since it's applicable to JSON syntax. Maybe you could repurpose their parser.