From b105c6c9695fbd74cb5db83e6ce17e07224845c6 Mon Sep 17 00:00:00 2001
From: apstrom <128714210+apstrom@users.noreply.github.com>
Date: Mon, 1 Jul 2024 19:39:59 -0400
Subject: [PATCH] Update index.jsx (#1794)

Max. number of context snippets increased from 12 to 200.
TODO: May remove restraint entirely
---
 .../VectorDatabase/MaxContextSnippets/index.jsx                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/pages/WorkspaceSettings/VectorDatabase/MaxContextSnippets/index.jsx b/frontend/src/pages/WorkspaceSettings/VectorDatabase/MaxContextSnippets/index.jsx
index 80aecdc9c..f1c7a6373 100644
--- a/frontend/src/pages/WorkspaceSettings/VectorDatabase/MaxContextSnippets/index.jsx
+++ b/frontend/src/pages/WorkspaceSettings/VectorDatabase/MaxContextSnippets/index.jsx
@@ -18,7 +18,7 @@ export default function MaxContextSnippets({ workspace, setHasChanges }) {
         name="topN"
         type="number"
         min={1}
-        max={12}
+        max={200}
         step={1}
         onWheel={(e) => e.target.blur()}
         defaultValue={workspace?.topN ?? 4}
-- 
GitLab