diff --git a/src/backend/base/langflow/components/embeddings/AstraVectorize.py b/src/backend/base/langflow/components/embeddings/AstraVectorize.py index 4b2fe3af6..4c8914665 100644 --- a/src/backend/base/langflow/components/embeddings/AstraVectorize.py +++ b/src/backend/base/langflow/components/embeddings/AstraVectorize.py @@ -63,16 +63,15 @@ class AstraVectorize(Component): f"available (https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html):\n\n{VECTORIZE_MODELS_STR}", required=True, ), - SecretStrInput( - name="provider_api_key", - display_name="Provider API Key", - info="An alternative to the Astra Authentication that passes an API key for the provider with each request to Astra DB. This may be used when Vectorize is configured for the collection, but no corresponding provider secret is stored within Astra's key management system.", - ), MessageTextInput( name="api_key_name", display_name="Provider API Key Name", info="The name of the embeddings provider API key stored on Astra. If set, it will override the 'ProviderKey' in the authentication parameters.", - advanced=True, + ), + SecretStrInput( + name="provider_api_key", + display_name="Provider API Key", + info="An alternative to the Astra Authentication that passes an API key for the provider with each request to Astra DB. This may be used when Vectorize is configured for the collection, but no corresponding provider secret is stored within Astra's key management system.", ), DictInput( name="authentication", diff --git a/src/backend/base/langflow/components/vectorstores/AstraDB.py b/src/backend/base/langflow/components/vectorstores/AstraDB.py index 0850449ac..7aec7ef30 100644 --- a/src/backend/base/langflow/components/vectorstores/AstraDB.py +++ b/src/backend/base/langflow/components/vectorstores/AstraDB.py @@ -117,7 +117,7 @@ class AstraVectorStoreComponent(LCVectorStoreComponent): name="embedding", display_name="Embedding or Astra Vectorize", input_types=["Embeddings", "dict"], - info="Allows either an embedding model or an Astra Vectorize configuration. If Astra Vectorize is already configured for the collection, this field is not required.", + info="Allows either an embedding model or an Astra Vectorize configuration.", # TODO: This should be optional, but need to refactor langchain-astradb first. ), StrInput( name="metadata_indexing_exclude",