]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : new UI (#7633)
authorYazan Agha-Schrader <redacted>
Sat, 1 Jun 2024 19:31:48 +0000 (21:31 +0200)
committerGitHub <redacted>
Sat, 1 Jun 2024 19:31:48 +0000 (22:31 +0300)
commit2e666832e6ac78194edf030bd1c295e21bdb022c
tree851655fe392a2dbb34eec0b985ebb0874107b61b
parent2ac95c9d5678d05e253691fb1f26471675bff5ad
server : new UI (#7633)

* ic

* migrate my eary work

* add the belonging stuff: css,favicon etc

* de prompts

* chore: Update HTML meta tags in index.html file

* add api-key css classes

* some necessary fixes

* Add API key CSS classes and update styling in style.css

* clean the code

* move API to the top, rearrange param sliders. update css

* add tooltips to the parameters with comprehensible explanations

* fix FloatField and BoolField tooltips

* fix grammar field width

* use template literales for promptFormats.js

* update const ModelGenerationInfo

* remove ms per token, since not relevant for most webui users and use cases

* add phi-3 prompt template

* add phi3 to dropdown

* add css class

* update forgotten css theme

* add user message suffix

* fix chatml & add llama3 format

* fix llama3 prompt template

* more prompt format fixes

* add more comon stop tokens

* add missing char

* do not separate with new line or comma

* move prompt style

* add hacky llama2 prompt solution, reduce redundancy in promptFormats.js

* fix toggle state localstorage

* add cmd-r prompt et reduce redundancy

* set default prompt to empty

* move files, clean code

* fix css path

* add a button to the new ui

* move new ui to "/public" due to otherwise problematic CORS behaviour

* include new ui in cpp

* fix wrong link to old ui

* renaming to ensure consistency

* fix typos "prompt-format" -> "prompt-formats"

* use correct indent

* add new ui files to makefile

* fix typo
15 files changed:
Makefile
examples/server/CMakeLists.txt
examples/server/public/colorthemes.css [new file with mode: 0755]
examples/server/public/index-new.html [new file with mode: 0644]
examples/server/public/index.html
examples/server/public/prompt-formats.js [new file with mode: 0644]
examples/server/public/style.css [new file with mode: 0755]
examples/server/public/system-prompts.js [new file with mode: 0644]
examples/server/public/theme-beeninorder.css [new file with mode: 0755]
examples/server/public/theme-ketivah.css [new file with mode: 0755]
examples/server/public/theme-mangotango.css [new file with mode: 0755]
examples/server/public/theme-playground.css [new file with mode: 0755]
examples/server/public/theme-polarnight.css [new file with mode: 0755]
examples/server/public/theme-snowstorm.css [new file with mode: 0755]
examples/server/server.cpp