docs: link components to docs pages (#8850)

* docs-links

* Update url.py

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
Mendon Kissling 2025-07-03 17:08:13 -04:00 • committed by GitHub
commit dd55acb7f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 35 additions and 1 deletions

View file

@ -94,6 +94,7 @@ class MCPToolsComponent(ComponentWithCache):
display_name = "MCP Tools"
description = "Connect to an MCP server to use its tools."
documentation: str = "https://docs.langflow.org/mcp-client"
icon = "Mcp"
name = "MCPTools"

View file

@ -45,6 +45,7 @@ DEFAULT_FIELDS = ["mode"]
class APIRequestComponent(Component):
display_name = "API Request"
description = "Make HTTP requests using URL or cURL commands."
documentation: str = "https://docs.langflow.org/components-data#api-request"
icon = "Globe"
name = "APIRequest"

View file

@ -9,6 +9,7 @@ from langflow.template.field.base import Output
class DirectoryComponent(Component):
display_name = "Directory"
description = "Recursively load files from a directory."
documentation: str = "https://docs.langflow.org/components-data#directory"
icon = "folder"
name = "Directory"

View file

@ -16,6 +16,7 @@ class FileComponent(BaseFileComponent):
display_name = "File"
description = "Loads content from one or more files as a DataFrame."
documentation: str = "https://docs.langflow.org/components-data#file"
icon = "file-text"
name = "File"

View file

@ -12,6 +12,7 @@ from langflow.schema import DataFrame
class NewsSearchComponent(Component):
display_name = "News Search"
description = "Searches Google News via RSS. Returns clean article data."
documentation: str = "https://docs.langflow.org/components-data#news-search"
icon = "newspaper"
name = "NewsSearch"

View file

@ -11,6 +11,7 @@ from langflow.schema import DataFrame
class RSSReaderComponent(Component):
display_name = "RSS Reader"
description = "Fetches and parses an RSS feed."
documentation: str = "https://docs.langflow.org/components-data#rss-reader"
icon = "rss"
name = "RSSReaderSimple"

View file

@ -18,6 +18,7 @@ class SQLComponent(ComponentWithCache):
display_name = "SQL Database"
description = "Executes SQL queries on SQLAlchemy-compatible databases."
documentation: str = "https://docs.langflow.org/components-data#sql-database"
icon = "database"
name = "SQLComponent"
metadata = {"keywords": ["sql", "database", "query", "db", "fetch"]}

View file

@ -41,6 +41,7 @@ class URLComponent(Component):
display_name = "URL"
description = "Fetch content from one or more web pages, following links recursively."
documentation: str = "https://docs.langflow.org/components-data#url"
icon = "layout-template"
name = "URLComponent"

View file

@ -14,6 +14,7 @@ from langflow.services.deps import get_settings_service
class WebSearchComponent(Component):
display_name = "Web Search"
description = "Performs a basic DuckDuckGo search (HTML scraping). May be subject to rate limits."
documentation: str = "https://docs.langflow.org/components-data#web-search"
icon = "search"
name = "WebSearchNoAPI"

View file

@ -7,6 +7,7 @@ from langflow.schema.data import Data
class WebhookComponent(Component):
display_name = "Webhook"
documentation: str = "https://docs.langflow.org/components-data#webhook"
name = "Webhook"
icon = "webhook"

View file

@ -11,6 +11,7 @@ from langflow.schema.data import Data
class CalculatorComponent(Component):
display_name = "Calculator"
description = "Perform basic arithmetic operations on a given expression."
documentation: str = "https://docs.langflow.org/components-helpers#calculator"
icon = "calculator"
# Cache operators dictionary as a class variable

View file

@ -11,6 +11,7 @@ from langflow.schema.message import Message
class CurrentDateComponent(Component):
display_name = "Current Date"
description = "Returns the current date and time in the selected timezone."
documentation: str = "https://docs.langflow.org/components-helpers#current-date"
icon = "clock"
name = "CurrentDate"

View file

@ -16,6 +16,7 @@ from langflow.utils.constants import MESSAGE_SENDER_AI, MESSAGE_SENDER_NAME_AI,
class MemoryComponent(Component):
display_name = "Message History"
description = "Stores or retrieves stored chat messages from Langflow tables or an external memory."
documentation: str = "https://docs.langflow.org/components-helpers#message-history"
icon = "message-square-more"
name = "Memory"
default_keys = ["mode", "memory"]

View file

@ -19,6 +19,7 @@ from langflow.utils.constants import (
class ChatInput(ChatComponent):
display_name = "Chat Input"
description = "Get chat inputs from the Playground."
documentation: str = "https://docs.langflow.org/components-io#chat-input"
icon = "MessagesSquare"
name = "ChatInput"
minimized = True

View file

@ -22,6 +22,7 @@ from langflow.utils.constants import (
class ChatOutput(ChatComponent):
display_name = "Chat Output"
description = "Display a chat message in the Playground."
documentation: str = "https://docs.langflow.org/components-io#chat-output"
icon = "MessagesSquare"
name = "ChatOutput"
minimized = True

View file

@ -6,6 +6,7 @@ from langflow.schema.message import Message
class TextInputComponent(TextComponent):
display_name = "Text Input"
description = "Get user text inputs."
documentation: str = "https://docs.langflow.org/components-io#text-input"
icon = "type"
name = "TextInput"

View file

@ -6,6 +6,7 @@ from langflow.schema.message import Message
class TextOutputComponent(TextComponent):
display_name = "Text Output"
description = "Sends text output via API."
documentation: str = "https://docs.langflow.org/components-io#text-output"
icon = "type"
name = "TextOutput"

View file

@ -8,6 +8,7 @@ from langflow.schema.message import Message
class ConditionalRouterComponent(Component):
display_name = "If-Else"
description = "Routes an input message to a corresponding output based on text comparison."
documentation: str = "https://docs.langflow.org/components-logic#conditional-router-if-else-component"
icon = "split"
name = "ConditionalRouter"

View file

@ -10,6 +10,7 @@ class LoopComponent(Component):
description = (
"Iterates over a list of Data objects, outputting one item at a time and aggregating results from loop inputs."
)
documentation: str = "https://docs.langflow.org/components-logic#loop"
icon = "infinity"
inputs = [

View file

@ -13,6 +13,7 @@ class RunFlowComponent(RunFlowBaseComponent):
"Creates a tool component from a Flow that takes all its inputs and runs it. "
" \n **Select a Flow to use the tool mode**"
)
documentation: str = "https://docs.langflow.org/components-logic#run-flow"
beta = True
name = "RunFlow"
icon = "Workflow"

Some files were not shown because too many files have changed in this diff Show more