r2d4/parserllm
View on GitHub ↗ ★ 175 Python
Use context-free grammars with an LLM
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2023-05-16 · latest 2023-08-14
20082026
-
…Context-free Grammar completion for LLMs https://thiggle.com/ [0] https://github.com/r2d4/rellm [1] https://github.com/r2d4/parserllm [2] https://github.com/thiggle/api There's also another API on Thiggle that I've build that supports…
comment by rckrd · 2023-08-14 · in Show HN: LLMs can generate valid JSON 100% of the time -
What's the difference between self hosting this and manually running https://github.com/r2d4/parserllm ?
comment by Janymos · 2023-07-17 · in Show HN: Structured output from LLMs without reprompting -
…according to the parser so that the LLMs only generate valid next tokens for the language.[0] [0] https://github.com/r2d4/parserllm
comment by rckrd · 2023-05-16 · in Bard generates clean JSON if you threaten to take a human life