From 575cde3e8d1d640de871dc10b74967f4da4f4b18 Mon Sep 17 00:00:00 2001 From: "April I. Murphy" <36110273+aimurphy@users.noreply.github.com> Date: Tue, 29 Jul 2025 06:25:16 -0700 Subject: [PATCH] docs: Audit admonitions, related links, and prerequisites for style and consistency (#9217) * add some related links * admonitions audit * initial prereq audit * standardize install LF prereqs * some coderabbit --- docs/docs/API-Reference/api-build.mdx | 2 +- docs/docs/API-Reference/api-files.mdx | 4 +-- docs/docs/API-Reference/api-flows-run.mdx | 5 ++- docs/docs/Agents/agents-tools.mdx | 9 +++++- docs/docs/Agents/agents.mdx | 14 +++++--- docs/docs/Components/bundles-datastax.mdx | 1 + docs/docs/Components/components-data.mdx | 4 +-- .../docs/Components/components-processing.mdx | 6 ++-- .../Components/components-vector-stores.mdx | 2 +- docs/docs/Concepts/concepts-flows-import.mdx | 2 +- docs/docs/Concepts/concepts-voice-mode.mdx | 8 +++-- docs/docs/Concepts/mcp-server.mdx | 8 ++--- docs/docs/Configuration/configuration-cli.mdx | 9 ++---- .../configuration-custom-database.mdx | 11 +++++-- .../contributing-how-to-contribute.mdx | 6 +--- .../Contributing/contributing-templates.mdx | 2 +- .../Deployment/deployment-kubernetes-dev.mdx | 20 ++++++------ .../deployment-prod-best-practices.mdx | 2 +- .../Deployment/deployment-public-server.mdx | 12 +++---- docs/docs/Deployment/deployment-render.mdx | 20 ++++++------ .../Develop/install-custom-dependencies.mdx | 8 ++++- docs/docs/Develop/logging.mdx | 7 +++- .../Cleanlab/integrations-cleanlab.mdx | 2 +- .../Docling/integrations-docling.mdx | 10 ++++++ .../Google/integrations-google-big-query.mdx | 1 + .../Notion/integrations-notion.mdx | 32 ++++++++----------- .../Notion/notion-agent-conversational.mdx | 8 ++--- .../Notion/notion-agent-meeting-notes.mdx | 10 +++--- .../Nvidia/integrations-nvidia-g-assist.mdx | 2 +- .../Nvidia/integrations-nvidia-ingest.mdx | 9 +++--- .../Nvidia/integrations-nvidia-nim-wsl2.mdx | 9 ++++-- .../Integrations/integrations-assemblyai.mdx | 6 ++-- .../docs/Integrations/mcp-component-astra.mdx | 2 +- docs/docs/Templates/basic-prompting.mdx | 4 +-- docs/docs/Templates/blog-writer.mdx | 4 +-- docs/docs/Templates/document-qa.mdx | 4 +-- .../Templates/financial-report-parser.mdx | 4 +-- docs/docs/Templates/memory-chatbot.mdx | 12 +++---- docs/docs/Templates/sequential-agent.mdx | 6 ++-- docs/docs/Templates/simple-agent.mdx | 4 +-- docs/docs/Templates/travel-planning-agent.mdx | 6 ++-- docs/docs/Templates/vector-store-rag.mdx | 13 ++++---- docs/docs/Tutorials/agent.mdx | 8 ++--- docs/docs/Tutorials/chat-with-files.mdx | 23 +++++++------ docs/docs/Tutorials/chat-with-rag.mdx | 10 +++--- docs/docs/Tutorials/mcp-tutorial.mdx | 6 ++-- docs/sidebars.js | 16 +++++++--- 47 files changed, 203 insertions(+), 170 deletions(-) diff --git a/docs/docs/API-Reference/api-build.mdx b/docs/docs/API-Reference/api-build.mdx index be7566218..fe4d51262 100644 --- a/docs/docs/API-Reference/api-build.mdx +++ b/docs/docs/API-Reference/api-build.mdx @@ -7,7 +7,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; :::important -The `/build` endpoints are used by Langflow's frontend Workspace and Playground code. +The `/build` endpoints are used by Langflow's frontend **Workspace** and **Playground** code. These endpoints are part of the internal Langflow codebase. Don't use these endpoints to run flows in applications that use your Langflow flows. diff --git a/docs/docs/API-Reference/api-files.mdx b/docs/docs/API-Reference/api-files.mdx index a487754a4..bfc268d08 100644 --- a/docs/docs/API-Reference/api-files.mdx +++ b/docs/docs/API-Reference/api-files.mdx @@ -233,8 +233,8 @@ You must include the ampersand (`@`) in the request to instruct curl to upload t ### Send files to your flows (v2) :::important -The `/v2/files` endpoint does not support sending **image** files to flows. -To send **image** files to your flows through the API, follow the procedure in [Upload image files (v1)](#upload-image-files-v1). +The `/v2/files` endpoint can't send image files to flows. +To send image files to your flows through the API, see [Upload image files (v1)](#upload-image-files-v1). ::: Send a file to your flow for analysis using the [File](/components-data#file) component and the API. diff --git a/docs/docs/API-Reference/api-flows-run.mdx b/docs/docs/API-Reference/api-flows-run.mdx index 497a0cc82..9364c9d32 100644 --- a/docs/docs/API-Reference/api-flows-run.mdx +++ b/docs/docs/API-Reference/api-flows-run.mdx @@ -178,7 +178,8 @@ curl -X POST \ Use the `/webhook` endpoint to start a flow by sending an HTTP `POST` request. :::tip -After you add a **Webhook** component to a flow, open the [**API access** pane](/concepts-publish), and then click the **Webhook cURL** tab to get an automatically generated `POST /webhook` request for your flow. +After you add a [**Webhook** component](/components-data#webhook) to a flow, open the [**API access** pane](/concepts-publish), and then click the **Webhook cURL** tab to get an automatically generated `POST /webhook` request for your flow. +For more information, see [Trigger flows with webhooks](/webhook). ::: ```bash @@ -201,8 +202,6 @@ curl -X POST \ -For more information, see [Webhook component](/components-data#webhook) and [Trigger flows with webhooks](/webhook). - ## Deprecated flow trigger endpoints The following endpoints are deprecated and replaced by the `/run` endpoint: diff --git a/docs/docs/Agents/agents-tools.mdx b/docs/docs/Agents/agents-tools.mdx index ac0487dca..9a7add11f 100644 --- a/docs/docs/Agents/agents-tools.mdx +++ b/docs/docs/Agents/agents-tools.mdx @@ -175,4 +175,11 @@ Your flow should be visible in the response as a tool. The connected flow returns an answer based on your question. For example, a Basic Prompting flow connected as a tool returns a different result depending upon its LLM and prompt instructions. -![Run Flow as tool connected to an agent](/img/agent-example-run-flow-as-tool.png) \ No newline at end of file +![Run Flow as tool connected to an agent](/img/agent-example-run-flow-as-tool.png) + +## See also + +* [**Agent** and **MCP Tools** components](/components-agents) +* [Use Langflow agents](/agents) +* [Use Langflow as an MCP client](/mcp-client) +* [Use Langflow as an MCP server](/mcp-server) \ No newline at end of file diff --git a/docs/docs/Agents/agents.mdx b/docs/docs/Agents/agents.mdx index 92126ec11..5ab6e88a2 100644 --- a/docs/docs/Agents/agents.mdx +++ b/docs/docs/Agents/agents.mdx @@ -96,7 +96,7 @@ You can configure the **Agent** component to use your preferred provider and mod :::tip Many optional **Agent** component input parameters are hidden by default in the visual editor. -You can view and toggle all parameters through the