aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-10-12 17:25:01 +0000
committerMohamedBassem <me@mbassem.com>2024-10-12 17:37:42 +0000
commit1b09682685f54f29957163be9b9f9fc2de3b49cc (patch)
tree7f10a7635cf984acd45147c24ec3e1d35798e8ba /apps/web/components
parentc16173ea0fdbf6cc47b13756c0a77e8399669055 (diff)
downloadkarakeep-1b09682685f54f29957163be9b9f9fc2de3b49cc.tar.zst
feature: Allow customizing the inference's context length
Diffstat (limited to 'apps/web/components')
-rw-r--r--apps/web/components/dashboard/settings/AISettings.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/settings/AISettings.tsx b/apps/web/components/dashboard/settings/AISettings.tsx
index 12f656ba..0a8db147 100644
--- a/apps/web/components/dashboard/settings/AISettings.tsx
+++ b/apps/web/components/dashboard/settings/AISettings.tsx
@@ -291,6 +291,7 @@ export function PromptDemo() {
.filter((p) => p.appliesTo == "text" || p.appliesTo == "all")
.map((p) => p.text),
"\n<CONTENT_HERE>\n",
+ /* context length */ 1024 /* The value here doesn't matter */,
).trim()}
</code>
<p>Image Prompt</p>