From 6ef777600405bcd1984b97b2310703ef34e12172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Tue, 2 Jul 2024 15:18:34 +0200 Subject: [PATCH] fix(astradb): make fields required (#2428) * astradb: make fields required * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/backend/base/langflow/components/vectorstores/AstraDB.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/base/langflow/components/vectorstores/AstraDB.py b/src/backend/base/langflow/components/vectorstores/AstraDB.py index eb9011e5f..d633953b1 100644 --- a/src/backend/base/langflow/components/vectorstores/AstraDB.py +++ b/src/backend/base/langflow/components/vectorstores/AstraDB.py @@ -25,18 +25,21 @@ class AstraVectorStoreComponent(LCVectorStoreComponent): name="collection_name", display_name="Collection Name", info="The name of the collection within Astra DB where the vectors will be stored.", + required=True, ), SecretStrInput( name="token", display_name="Astra DB Application Token", info="Authentication token for accessing Astra DB.", value="ASTRA_DB_APPLICATION_TOKEN", + required=True, ), SecretStrInput( name="api_endpoint", display_name="API Endpoint", info="API endpoint URL for the Astra DB service.", value="ASTRA_DB_API_ENDPOINT", + required=True, ), MultilineInput( name="search_input",