fix: Component name Corrected (#3577)

Component name Corrected

Error in name of the component.
This commit is contained in:
Edwin Jose 2024-08-27 14:03:06 -04:00 • committed by GitHub
commit 3222153938
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,11 +19,11 @@ import numpy as np
class GoogleGenerativeAIEmbeddingsComponent(Component): class GoogleGenerativeAIEmbeddingsComponent(Component):
display_name = "Custom Component" display_name = "Google GenerativeAI Embeddings"
description = "Use as a template to create your own component." description = "Connect to Google's generative AI embeddings service using the GoogleGenerativeAIEmbeddings class, found in the langchain-google-genai package."
documentation: str = "http://docs.langflow.org/components/custom" documentation: str = "https://python.langchain.com/v0.2/docs/integrations/text_embedding/google_generative_ai/"
icon = "custom_components" icon = "Google"
name = "CustomComponent" name = "Google GenerativeAI Embeddings"
inputs = [ inputs = [
SecretStrInput(name="api_key", display_name="API Key"), SecretStrInput(name="api_key", display_name="API Key"),