top | item 46175404

Robust code generation combining grammars and LLMs

3 points| antononcube | 2 months ago |raku-advent.blog

1 comment

order

librasteve|2 months ago

TL;DR

  - Combining grammars and LLMs produces robust translators.
  - Three translators with different faithfulness and coverage are demonstrated and used.
  - Two of the simplest, yet effective, combinations are implemented and  - demonstrated.
  - Parallel race and grammar-to-LLM fallback.
  - Asynchronous implementations with LLM-graphs are a very good fit!
  - Just look at the LLM-graph plots (and be done reading.)