3 ms·
If you want avoid startup cost, llguidance [0] has no compilation phase and by far the fullest JSON support [1] of any library. I did a PoC llama.cpp integratio
by mmoskal 2y ago
If you want avoid startup cost, llguidance [0] has no compilation phase and by far the fullest JSON support [1] of any library. I did a PoC llama.cpp integration [2] though our focus is mostly server-side [3].
[0] https://github.com/guidance-ai/llguidance https://github.com/guidance-ai/llguidance
[1] https://github.com/guidance-ai/llguidance/blob/main/parser/src/json/README.md https://github.com/guidance-ai/llguidance/blob/main/parser/s...
[2] https://github.com/ggerganov/llama.cpp/pull/10224 https://github.com/ggerganov/llama.cpp/pull/10224
[3] https://github.com/guidance-ai/llgtrt https://github.com/guidance-ai/llgtrt
- parthsareen 2y agoThis looks really useful. Thank you!
- HanClinto 2y agoI have been thinking about your PR regularly, and pondering about how we should go about getting this merged in. I really want to see support for additional grammar engines merged into llama.cpp, and I'm a big fan of the work you did on this.