Update display names of model components

This commit is contained in:
Rodrigo Nader 2024-03-07 02:36:12 -03:00
commit a8b53c67d8
14 changed files with 13 additions and 12 deletions

View file

@ -9,6 +9,7 @@ class PromptComponent(CustomComponent):
display_name: str = "Prompt" display_name: str = "Prompt"
description: str = "A component for creating prompts using templates" description: str = "A component for creating prompts using templates"
beta = True beta = True
icon = "terminal-square"
def build_config(self): def build_config(self):
return { return {

View file

@ -7,7 +7,7 @@ from langflow.field_typing import Text
class AmazonBedrockComponent(LCModelComponent): class AmazonBedrockComponent(LCModelComponent):
display_name: str = "Amazon Bedrock Model" display_name: str = "Amazon Bedrock"
description: str = "Generate text using LLM model from Amazon Bedrock." description: str = "Generate text using LLM model from Amazon Bedrock."
icon = "Amazon" icon = "Amazon"

View file

@ -8,7 +8,7 @@ from langflow.field_typing import Text
class AnthropicLLM(LCModelComponent): class AnthropicLLM(LCModelComponent):
display_name: str = "AnthropicModel" display_name: str = "Anthropic"
description: str = "Generate text using Anthropic Chat&Completion large language models." description: str = "Generate text using Anthropic Chat&Completion large language models."
icon = "Anthropic" icon = "Anthropic"

View file

@ -9,7 +9,7 @@ from langflow.field_typing import Text
class AzureChatOpenAIComponent(LCModelComponent): class AzureChatOpenAIComponent(LCModelComponent):
display_name: str = "AzureOpenAI Model" display_name: str = "AzureOpenAI"
description: str = "Generate text using LLM model from Azure OpenAI." description: str = "Generate text using LLM model from Azure OpenAI."
documentation: str = "https://python.langchain.com/docs/integrations/llms/azure_openai" documentation: str = "https://python.langchain.com/docs/integrations/llms/azure_openai"
beta = False beta = False

View file

@ -8,7 +8,7 @@ from langflow.field_typing import Text
class QianfanChatEndpointComponent(LCModelComponent): class QianfanChatEndpointComponent(LCModelComponent):
display_name: str = "QianfanChat Model" display_name: str = "QianfanChat"
description: str = ( description: str = (
"Generate text using Baidu Qianfan chat models. Get more detail from " "Generate text using Baidu Qianfan chat models. Get more detail from "
"https://python.langchain.com/docs/integrations/chat/baidu_qianfan_endpoint." "https://python.langchain.com/docs/integrations/chat/baidu_qianfan_endpoint."

View file

@ -7,7 +7,7 @@ from langflow.field_typing import Text
class CTransformersComponent(LCModelComponent): class CTransformersComponent(LCModelComponent):
display_name = "CTransformersModel" display_name = "CTransformers"
description = "Generate text using CTransformers LLM models" description = "Generate text using CTransformers LLM models"
documentation = "https://python.langchain.com/docs/modules/model_io/models/llms/integrations/ctransformers" documentation = "https://python.langchain.com/docs/modules/model_io/models/llms/integrations/ctransformers"

View file

@ -5,7 +5,7 @@ from langflow.field_typing import Text
class CohereComponent(LCModelComponent): class CohereComponent(LCModelComponent):
display_name = "CohereModel" display_name = "Cohere"
description = "Generate text using Cohere large language models." description = "Generate text using Cohere large language models."
documentation = "https://python.langchain.com/docs/modules/model_io/models/llms/integrations/cohere" documentation = "https://python.langchain.com/docs/modules/model_io/models/llms/integrations/cohere"

View file

@ -8,7 +8,7 @@ from langflow.field_typing import RangeSpec, Text
class GoogleGenerativeAIComponent(LCModelComponent): class GoogleGenerativeAIComponent(LCModelComponent):
display_name: str = "Google Generative AIModel" display_name: str = "Google Generative AI"
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" icon = "Google"

View file

@ -8,7 +8,7 @@ from langflow.field_typing import Text
class HuggingFaceEndpointsComponent(LCModelComponent): class HuggingFaceEndpointsComponent(LCModelComponent):
display_name: str = "Hugging Face Inference API models" display_name: str = "Hugging Face Inference API"
description: str = "Generate text using LLM model from Hugging Face Inference API." description: str = "Generate text using LLM model from Hugging Face Inference API."
icon = "HuggingFace" icon = "HuggingFace"

View file

@ -7,7 +7,7 @@ from langflow.field_typing import Text
class LlamaCppComponent(LCModelComponent): class LlamaCppComponent(LCModelComponent):
display_name = "LlamaCppModel" display_name = "LlamaCpp"
description = "Generate text using llama.cpp model." description = "Generate text using llama.cpp model."
documentation = "https://python.langchain.com/docs/modules/model_io/models/llms/integrations/llamacpp" documentation = "https://python.langchain.com/docs/modules/model_io/models/llms/integrations/llamacpp"

View file

@ -13,7 +13,7 @@ from langflow.field_typing import Text
class ChatOllamaComponent(LCModelComponent): class ChatOllamaComponent(LCModelComponent):
display_name = "ChatOllamaModel" display_name = "ChatOllama"
description = "Generate text using Local LLM for chat with Ollama." description = "Generate text using Local LLM for chat with Ollama."
icon = "Ollama" icon = "Ollama"

View file

@ -8,7 +8,7 @@ from langflow.field_typing import NestedDict, Text
class OpenAIModelComponent(LCModelComponent): class OpenAIModelComponent(LCModelComponent):
display_name = "OpenAI Model" display_name = "OpenAI"
description = "Generates text using OpenAI's models." description = "Generates text using OpenAI's models."
icon = "OpenAI" icon = "OpenAI"

View file

@ -7,7 +7,7 @@ from langflow.field_typing import Text
class ChatVertexAIComponent(LCModelComponent): class ChatVertexAIComponent(LCModelComponent):
display_name = "ChatVertexAIModel" display_name = "ChatVertexAI"
description = "Generate text using Vertex AI Chat large language models API." description = "Generate text using Vertex AI Chat large language models API."
icon = "VertexAI" icon = "VertexAI"