diff --git a/src/backend/base/langflow/components/tools/astradb.py b/src/backend/base/langflow/components/tools/astradb.py index 8355eb355..2153b8082 100644 --- a/src/backend/base/langflow/components/tools/astradb.py +++ b/src/backend/base/langflow/components/tools/astradb.py @@ -11,8 +11,8 @@ from langflow.schema import Data class AstraDBToolComponent(LCToolComponent): display_name: str = "Astra DB" - description: str = "Create a tool to get data from DataStax Astra DB Collection" - documentation: str = "https://astra.datastax.com" + description: str = "Create a tool to get transactional data from DataStax Astra DB Collection" + documentation: str = "https://docs.langflow.org/Components/components-tools#astra-db-tool" icon: str = "AstraDB" inputs = [ @@ -73,6 +73,7 @@ class AstraDBToolComponent(LCToolComponent): name="static_filters", info="Attributes to filter and correspoding value", display_name="Static filters", + advanced=True, is_list=True, ), IntInput( diff --git a/src/backend/base/langflow/components/tools/astradb_cql.py b/src/backend/base/langflow/components/tools/astradb_cql.py index 5a7206e99..79c3904c8 100644 --- a/src/backend/base/langflow/components/tools/astradb_cql.py +++ b/src/backend/base/langflow/components/tools/astradb_cql.py @@ -13,8 +13,8 @@ from langflow.schema import Data class AstraDBCQLToolComponent(LCToolComponent): display_name: str = "Astra DB CQL" - description: str = "Create a tool to get data from DataStax Astra DB CQL Table" - documentation: str = "https://astra.datastax.com" + description: str = "Create a tool to get transactional data from DataStax Astra DB CQL Table" + documentation: str = "https://docs.langflow.org/Components/components-tools#astra-db-cql-tool" icon: str = "AstraDB" inputs = [ @@ -31,6 +31,7 @@ class AstraDBCQLToolComponent(LCToolComponent): value="default_keyspace", info="The keyspace name within Astra DB where the data is stored.", required=True, + advanced=True, ), StrInput( name="table_name", @@ -58,6 +59,7 @@ class AstraDBCQLToolComponent(LCToolComponent): info="Attributes to return separated by comma.", required=True, value="*", + advanced=True, ), DictInput( name="partition_keys", @@ -76,6 +78,7 @@ class AstraDBCQLToolComponent(LCToolComponent): name="static_filters", display_name="Static Filters", is_list=True, + advanced=True, info="Field name and value. When filled, it will not be generated by the LLM.", ), IntInput(