llama.cpp/examples/server/public_legacy
Olivier Chafik 669912d9a5
tool-call: fix Qwen 2.5 Coder support, add micro benchmarks, support trigger patterns for lazy grammars (#12034)
* sampler: turn lazy grammar trigger words to regexes

* add scripts/tool_bench.sh & .py

* constrain llama json output regardless of function name if matches at beginning

* update relaxed newline space rule in grammar tests

* support add_generation_prompt query parameter (useful for /apply_template)

* Update src/llama-grammar.cpp

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2025-03-05 13:05:13 +00:00
..
colorthemes.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
completion.js server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
favicon.ico server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
index-new.html sampling : refactor + optimize penalties sampler (#10803) 2024-12-16 12:31:14 +02:00
index.html sampling : refactor + optimize penalties sampler (#10803) 2024-12-16 12:31:14 +02:00
index.js server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
json-schema-to-grammar.mjs tool-call: fix Qwen 2.5 Coder support, add micro benchmarks, support trigger patterns for lazy grammars (#12034) 2025-03-05 13:05:13 +00:00
loading.html server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
prompt-formats.js server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
style.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
system-prompts.js server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
theme-beeninorder.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
theme-ketivah.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
theme-mangotango.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
theme-playground.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
theme-polarnight.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00
theme-snowstorm.css server : revamp chat UI with vuejs and daisyui (#10175) 2024-11-07 17:31:10 -04:00