]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
grammar : support array references in json schema (#16792)
authorAldehir Rojas <redacted>
Tue, 28 Oct 2025 08:37:52 +0000 (03:37 -0500)
committerGitHub <redacted>
Tue, 28 Oct 2025 08:37:52 +0000 (09:37 +0100)
commit280d97be9660e7a5feaa28a6e7a299bc73dd83fc
tree3a70271faa5d0e341247e22c36ec79df8849f12f
parent3479efd112b3910d2d008ad08fe4cb4895605903
grammar : support array references in json schema (#16792)

* grammar : support array references in json schema

* Update json-schema-to-grammar.cpp

Co-authored-by: Sigbjørn Skjæret <redacted>
* grammar : improve regex when naming ref derived rules

* grammar : replace non-conformant definitions array with anyOf test case

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
common/json-schema-to-grammar.cpp
examples/json_schema_to_grammar.py
tests/test-json-schema-to-grammar.cpp
tools/server/public_legacy/json-schema-to-grammar.mjs