From 0a11d89a73c96f60322a15990f46d6d447ecda14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 May 2023 15:04:03 +0000 Subject: [PATCH 01/22] Bump llama-cpp-python[server] from 0.1.48 to 0.1.50 Bumps [llama-cpp-python[server]](https://github.com/abetlen/llama-cpp-python) from 0.1.48 to 0.1.50. - [Release notes](https://github.com/abetlen/llama-cpp-python/releases) - [Commits](https://github.com/abetlen/llama-cpp-python/compare/v0.1.48...v0.1.50) --- updated-dependencies: - dependency-name: llama-cpp-python[server] dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b4d942b..63dd6d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -llama-cpp-python[server]==0.1.48 +llama-cpp-python[server]==0.1.50 uvicorn==0.22.0 sanic==23.3.0 \ No newline at end of file From 19b6162b576664e4a41e24c4e28318017058eb3f Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 18 May 2023 10:32:31 +0200 Subject: [PATCH 02/22] Minor style improvements and fixes --- frontend/static/main.js | 1 + frontend/static/style.css | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/frontend/static/main.js b/frontend/static/main.js index ca87d21..7b8e669 100644 --- a/frontend/static/main.js +++ b/frontend/static/main.js @@ -183,5 +183,6 @@ }); textInputElement.addEventListener("input", resizeInputElement); + resizeInputElement(); })(); \ No newline at end of file diff --git a/frontend/static/style.css b/frontend/static/style.css index 69be8d3..2a47a11 100644 --- a/frontend/static/style.css +++ b/frontend/static/style.css @@ -10,7 +10,6 @@ --icon-button-fill: #ffffff; --send-icon-button-fill: #29c76d; --color: #fafafa; - --padding: .5rem; --border-radius: .5rem; } @@ -21,16 +20,15 @@ body { color: var(--color); font-family: sans-serif; flex-direction: row; - min-height: 100vh; + height: 100vh; } - input[type="number"] { width: 4rem; } .sidepanel { - gap: var(--padding); + gap: .5rem; align-items: flex-end; padding: 1rem; padding-left: 0; @@ -59,7 +57,7 @@ input[type="number"] { .messages { gap: 1.1rem; - padding-bottom: var(--padding); + margin-bottom: 1rem; overflow-y: scroll; max-height: 89vh; } @@ -67,8 +65,8 @@ input[type="number"] { .message { display: flex; flex-direction: row; - gap: var(--padding); - padding: var(--padding); + gap: .5rem; + padding: .5rem; border-radius: var(--border-radius); max-width: fit-content; } @@ -149,7 +147,7 @@ button:hover { } .icon-button > svg { - height: 1.8rem; + height: 1.5rem; width: auto; fill: var(--icon-button-fill); } From 718f483a750d885f8694b356601d24dfa7f69bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20M=C3=BCller=20=28ChaoticByte=29?= Date: Thu, 18 May 2023 11:54:57 +0200 Subject: [PATCH 03/22] Added more parameters to the sidebar: top_k, repeat_penalty, presence_penalty, frequency_penalty - fixes #3 --- frontend/static/index.html | 18 +++++++++++++++++- frontend/static/main.js | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/frontend/static/index.html b/frontend/static/index.html index 8ff01b1..34eae86 100644 --- a/frontend/static/index.html +++ b/frontend/static/index.html @@ -32,7 +32,23 @@
top_p
-
+ +
+
top_k
+
+
+
+
repeat_penalty
+
+
+
+
presence_penalty
+
+
+
+
frequency_penalty
+
+
-
-
Settings
-
-
-
Assistant
-
+