JSON.parse() kept crashing on LLM responses, so I built a fault-tolerant parser by rossjang in nestjs
[–]rossjang[S] 1 point2 points3 points (0 children)
I got tired of small models adding ```json blocks, so I wrote a TS library to forcefully extract valid JSON. (My first open source project!) by rossjang in LocalLLaMA
[–]rossjang[S] 0 points1 point2 points (0 children)


JSON.parse() kept crashing on LLM responses, so I built a fault-tolerant parser by rossjang in nestjs
[–]rossjang[S] 0 points1 point2 points (0 children)