diff --git a/src/backend/base/langflow/components/helpers/TextToRecord.py b/src/backend/base/langflow/components/helpers/CreateRecord.py similarity index 70% rename from src/backend/base/langflow/components/helpers/TextToRecord.py rename to src/backend/base/langflow/components/helpers/CreateRecord.py index 72668a580..018cc138a 100644 --- a/src/backend/base/langflow/components/helpers/TextToRecord.py +++ b/src/backend/base/langflow/components/helpers/CreateRecord.py @@ -2,16 +2,16 @@ from langflow.interface.custom.custom_component import CustomComponent from langflow.schema import Record -class TextToRecordComponent(CustomComponent): - display_name = "Text to Record" - description = "A component to create a record from Text." +class CreateRecordComponent(CustomComponent): + display_name = "Create Record" + description = "A component to create a record." beta: bool = True def build_config(self): return { "data": { "display_name": "Data", - "info": "The data to convert to a record.", + "info": "Data to contruct the record.", "input_types": ["Text"], } } diff --git a/src/backend/base/langflow/components/helpers/IDGenerator.py b/src/backend/base/langflow/components/helpers/IDGenerator.py index 534dd63ed..5778c4c22 100644 --- a/src/backend/base/langflow/components/helpers/IDGenerator.py +++ b/src/backend/base/langflow/components/helpers/IDGenerator.py @@ -6,7 +6,7 @@ from langflow.interface.custom.custom_component import CustomComponent class UUIDGeneratorComponent(CustomComponent): documentation: str = "http://docs.langflow.org/components/custom" - display_name = "Unique ID Generator" + display_name = "ID Generator" description = "Generates a unique ID." def update_build_config( diff --git a/src/backend/base/langflow/components/inputs/ChatInput.py b/src/backend/base/langflow/components/inputs/ChatInput.py index e3790711f..8421c8a89 100644 --- a/src/backend/base/langflow/components/inputs/ChatInput.py +++ b/src/backend/base/langflow/components/inputs/ChatInput.py @@ -7,7 +7,7 @@ from langflow.schema import Record class ChatInput(ChatComponent): display_name = "Chat Input" - description = "Used to capture and send user inputs from the chat." + description = "Capture user inputs from the chat interface." icon = "ChatInput" def build( diff --git a/src/backend/base/langflow/components/inputs/TextInput.py b/src/backend/base/langflow/components/inputs/TextInput.py index 92fd938ab..d804d1cf2 100644 --- a/src/backend/base/langflow/components/inputs/TextInput.py +++ b/src/backend/base/langflow/components/inputs/TextInput.py @@ -6,7 +6,7 @@ from langflow.field_typing import Text class TextInput(TextComponent): display_name = "Text Input" - description = "Used to capture and send text inputs." + description = "Capture and send text inputs." def build(self, input_value: Optional[str] = "") -> Text: return super().build(input_value=input_value)