server : implement json-schema-to-grammar.mjs & add grammar param in the UI (#2588)

* server : implement json-schema-to-grammar.mjs by follow python impl

* server : add grammar support in chat.mjs

* server : implement grammer param in the UI

* server : generate .hpp

* server : remove trailing whitespaces

* server : generate .hpp

* server : fix sort of prop pairs

* server : optimize regex & iteration
This commit is contained in:
Jhen-Jie Hong 2023-08-14 15:16:54 +08:00 committed by GitHub
parent f31b539714
commit 5517d6e692
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 3208 additions and 2593 deletions

File diff suppressed because it is too large Load diff