Add Google icon to components
This commit is contained in:
parent
795068b4a4
commit
b25d5b4a5b
3 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class GoogleGenerativeAIComponent(CustomComponent):
|
||||||
display_name: str = "Google Generative AI"
|
display_name: str = "Google Generative AI"
|
||||||
description: str = "A component that uses Google Generative AI to generate text."
|
description: str = "A component that uses Google Generative AI to generate text."
|
||||||
documentation: str = "http://docs.langflow.org/components/custom"
|
documentation: str = "http://docs.langflow.org/components/custom"
|
||||||
|
icon = "Google"
|
||||||
|
|
||||||
def build_config(self):
|
def build_config(self):
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ class GoogleGenerativeAIComponent(LCModelComponent):
|
||||||
display_name: str = "Google Generative AIModel"
|
display_name: str = "Google Generative AIModel"
|
||||||
description: str = "Generate text using Google Generative AI to generate text."
|
description: str = "Generate text using Google Generative AI to generate text."
|
||||||
icon = "GoogleGenerativeAI"
|
icon = "GoogleGenerativeAI"
|
||||||
|
icon = "Google"
|
||||||
|
|
||||||
def build_config(self):
|
def build_config(self):
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -270,6 +270,7 @@ export const nodeIconsLucide: iconsType = {
|
||||||
GoogleSearchAPIWrapper: GoogleIcon,
|
GoogleSearchAPIWrapper: GoogleIcon,
|
||||||
GoogleSearchResults: GoogleIcon,
|
GoogleSearchResults: GoogleIcon,
|
||||||
GoogleSearchRun: GoogleIcon,
|
GoogleSearchRun: GoogleIcon,
|
||||||
|
Google: GoogleIcon,
|
||||||
HNLoader: HackerNewsIcon,
|
HNLoader: HackerNewsIcon,
|
||||||
HuggingFaceHub: HuggingFaceIcon,
|
HuggingFaceHub: HuggingFaceIcon,
|
||||||
HuggingFaceEmbeddings: HuggingFaceIcon,
|
HuggingFaceEmbeddings: HuggingFaceIcon,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue