]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
`common`: utils to split / join / repeat strings (from json converter) (#11342)
authorOlivier Chafik <redacted>
Wed, 22 Jan 2025 09:51:44 +0000 (09:51 +0000)
committerGitHub <redacted>
Wed, 22 Jan 2025 09:51:44 +0000 (09:51 +0000)
commita94f3b2727e97eb6c904006eb786960c069282bc
treeb94c840dd0fa5fa33648f4a2b3e35b715ecbf890
parent3e3357fd77bcf5bd8cfcc53ca53d4a5532e67e1b
`common`: utils to split / join / repeat strings (from json converter) (#11342)

* Factor string_join, string_split, string_repeat into common

* json: refactor to surface a versatile builder

* Update common.cpp
common/common.cpp
common/common.h
common/json-schema-to-grammar.cpp
common/json-schema-to-grammar.h