From 1a9f69ef60ced6bcb66ac9d49de94154d6fa2414 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 30 Jun 2023 18:10:36 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(vectorstores.py):=20set=20?= =?UTF-8?q?persist=5Fdirectory=20field=20value=20to=20False=20The=20persis?= =?UTF-8?q?t=5Fdirectory=20field=20in=20the=20VectorStoreFrontendNode=20cl?= =?UTF-8?q?ass=20is=20now=20set=20to=20False.=20This=20change=20was=20made?= =?UTF-8?q?=20to=20disable=20the=20persistence=20of=20the=20directory.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/template/frontend_node/vectorstores.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/langflow/template/frontend_node/vectorstores.py b/src/backend/langflow/template/frontend_node/vectorstores.py index 58cfcdc34..ca7cf2b0c 100644 --- a/src/backend/langflow/template/frontend_node/vectorstores.py +++ b/src/backend/langflow/template/frontend_node/vectorstores.py @@ -285,3 +285,6 @@ class VectorStoreFrontendNode(FrontendNode): elif field.name == "text_key": field.show = False + + if field.name == "persist_directory": + field.value = False