Lotus Reader
Home
New
Best
Trending
Ask
Show
Jobs
If you click (or tap) on the name of a parent in a discussion, you will be directed to the comment that the parent wrote.
Show HN: langdiff – Stream valid JSON from LLMs with type-safe callbacks
maitrouble
3 days ago
7
1
Ever had json.loads() explode halfway through an LLM stream? langdiff fixes that with a schema + callback approach.
Define your schema → attach callbacks → push streaming tokens → get structured events immediately.
https://github.com/globalaiplatform/langdiff
maitrouble
3 days ago
demo:
https://globalaiplatform.github.io/langdiff/