- During the flow creation process, you will notice handles (colored circles)
- attached to one or both sides of a component. These handles represent the
- availability to connect to other components, while their colors are type hints
- (hover over a handle to see connection details).
-
-
-
- On the top right corner, you will find the component status icon 🔴. Make the
- necessary connections, build the flow (⚡ zap icon on the bottom right of the
- canvas) and once the validation is completed, the status of each validated
- component should light green 🟢. Hover over the component status to reveal the
- outputs going through it in case of success, or the detected error in case of
- failure.
-
-
----
-
-### Component's Parameters
-
-Langflow components can be edited in the component settings button. Hide parameters to reduce complexity and keep the canvas clean and intuitive for experimentation.
-
-
- When you click for New Project, you will see on the top left corner of the
- screen, some options such as Import, Export,{" "}
- Code and Save, as displayed in the image
- below:
-
-
-{" "}
-
-
diff --git a/docs/docs/administration/login.mdx b/docs/docs/administration/login.mdx
index f89f3a5ee..20386aebb 100644
--- a/docs/docs/administration/login.mdx
+++ b/docs/docs/administration/login.mdx
@@ -6,11 +6,9 @@ import Admonition from "@theme/Admonition";
# Sign Up and Sign In
-## Introduction
-
The login functionality in Langflow serves to authenticate users and protect sensitive routes in the application. Starting from version 0.5, Langflow introduces an enhanced login mechanism that is governed by a few environment variables. This allows new secure features.
-## Environment Variables
+## Environment variables
The following environment variables are crucial in configuring the login settings:
@@ -68,7 +66,7 @@ export LANGFLOW_SECRET_KEY=randomly_generated_secure_key
By default, this variable is set to `False`. When enabled (`True`), new users are automatically activated and can log in without requiring explicit activation by the superuser.
-## Command-Line Interface
+## Manage superusers with the CLI
Langflow provides a command-line utility for managing superusers:
@@ -78,7 +76,7 @@ langflow superuser
This command prompts you to enter the username and password for the superuser, unless they are already set using environment variables.
-## Sign-up
+## Sign in
With _`LANGFLOW_AUTO_LOGIN`_ set to _`False`_, Langflow requires users to sign up before they can log in. The sign-up page is the default landing page when a user visits Langflow for the first time.
@@ -93,7 +91,7 @@ With _`LANGFLOW_AUTO_LOGIN`_ set to _`False`_, Langflow requires users to sign u
## Profile settings
-You can change your profile settings by clicking on the profile icon in the top right corner of the Langflow dashboard. This opens a dropdown menu with the following options:
+Once signed in, you can change your profile settings by clicking on the profile icon in the top right corner of the Langflow dashboard. This opens a dropdown menu with the following options:
- **Admin Page**: Opens the admin page, which is only accessible to the superuser.
- **Profile Settings**: Opens the profile settings page.
diff --git a/docs/docs/administration/playground.mdx b/docs/docs/administration/playground.mdx
index 13d16422a..7bc0c8db7 100644
--- a/docs/docs/administration/playground.mdx
+++ b/docs/docs/administration/playground.mdx
@@ -28,8 +28,6 @@ As long as you have a flow's environment variables set, you can run it by clicki
2. Chat with your bot as you normally would, all without having to open the editor.
-## Video
-
diff --git a/docs/docs/components/inputs-and-outputs.mdx b/docs/docs/components/inputs-and-outputs.mdx
index a923d1f55..bd804ea5f 100644
--- a/docs/docs/components/inputs-and-outputs.mdx
+++ b/docs/docs/components/inputs-and-outputs.mdx
@@ -3,7 +3,7 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Inputs and Outputs
-TL;DR: Inputs and Outputs are a category of components that are used to define where data comes in and out of your flow.
+Inputs and Outputs are a category of components that are used to define where data comes in and out of your flow.
They also dynamically change the Playground and can be renamed to facilitate building and maintaining your flows.
## Inputs
diff --git a/docs/docs/deployment/docker.md b/docs/docs/deployment/docker.md
index 1ebb5746e..a8864db55 100644
--- a/docs/docs/deployment/docker.md
+++ b/docs/docs/deployment/docker.md
@@ -7,7 +7,7 @@ This guide will help you get LangFlow up and running using Docker and Docker Com
- Docker
- Docker Compose
-## Steps
+## Clone repo and build Docker container
1. Clone the LangFlow repository:
@@ -29,11 +29,11 @@ This guide will help you get LangFlow up and running using Docker and Docker Com
LangFlow will now be accessible at [http://localhost:7860/](http://localhost:7860/).
-## Docker Compose Configuration
+## Docker Compose configuration
The Docker Compose configuration spins up two services: `langflow` and `postgres`.
-### LangFlow Service
+### LangFlow service
The `langflow` service uses the `langflowai/langflow:latest` Docker image and exposes port 7860. It depends on the `postgres` service.
@@ -46,7 +46,7 @@ Volumes:
- `langflow-data`: This volume is mapped to `/var/lib/langflow` in the container.
-### PostgreSQL Service
+### PostgreSQL service
The `postgres` service uses the `postgres:16` Docker image and exposes port 5432.
@@ -60,6 +60,6 @@ Volumes:
- `langflow-postgres`: This volume is mapped to `/var/lib/postgresql/data` in the container.
-## Switching to a Specific LangFlow Version
+## Switch to a specific LangFlow version
If you want to use a specific version of LangFlow, you can modify the `image` field under the `langflow` service in the Docker Compose file. For example, to use version 1.0-alpha, change `langflowai/langflow:latest` to `langflowai/langflow:1.0-alpha`.
diff --git a/docs/docs/getting-started/flows-components-collections.mdx b/docs/docs/getting-started/flows-components-collections.mdx
deleted file mode 100644
index 335fb5c12..000000000
--- a/docs/docs/getting-started/flows-components-collections.mdx
+++ /dev/null
@@ -1,20 +0,0 @@
-import ThemedImage from "@theme/ThemedImage";
-import useBaseUrl from "@docusaurus/useBaseUrl";
-import ZoomableImage from "/src/theme/ZoomableImage.js";
-import ReactPlayer from "react-player";
-
-# 🖥️ Flows, components, collections, and projects
-
-## TL;DR
-
-A [flow](#flow) is a pipeline of components connected together in the Langflow canvas.
-
-A [component](#component) is a single building block within a flow. A component has inputs, outputs, and parameters that define its functionality.
-
-A [collection](#collection) is a snapshot of the flows available in your database. Collections can be downloaded to local storage and uploaded for future use.
-
-A [project](#project) can be a component or a flow. Projects are saved as part of your collection.
-
-For example, the **OpenAI LLM** is a **component** of the **Basic prompting** flow, and the **flow** is stored in a **collection**.
-
-## Component
diff --git a/docs/docs/migration/migrating-to-one-point-zero.mdx b/docs/docs/migration/migrating-to-one-point-zero.mdx
index 973393606..e58620347 100644
--- a/docs/docs/migration/migrating-to-one-point-zero.mdx
+++ b/docs/docs/migration/migrating-to-one-point-zero.mdx
@@ -2,15 +2,6 @@ import Admonition from "@theme/Admonition";
# Migrating to Langflow 1.0: A Guide
-
-
- We are currently working on updating this guide to provide the most accurate
- and up-to-date information on migrating to Langflow 1.0. We will be adding
- more content and examples to help you navigate the changes and improvements
- in the new version.
-
-
-
Langflow 1.0 is a significant update that brings many exciting changes and improvements to the platform.
This guide will walk you through the key improvements and help you migrate your existing projects to the new version.
diff --git a/docs/docs/migration/possible-installation-issues.mdx b/docs/docs/migration/possible-installation-issues.mdx
index a012a1c09..feeddab48 100644
--- a/docs/docs/migration/possible-installation-issues.mdx
+++ b/docs/docs/migration/possible-installation-issues.mdx
@@ -4,14 +4,10 @@ This is a list of possible issues that you may encounter when installing Langflo
## _`No module named 'langflow.__main__'`_
-### TL;DR
-
1. Run _`python -m langflow run`_ instead of _`langflow run`_.
2. If that doesn't work, reinstall Langflow with _`_python -m pip install langflow --pre -U`_.
3. If that doesn't work, reinstall Langflow and its dependencies with _`python -m pip install langflow --pre -U --force-reinstall`_.
-### Details
-
When you try to run Langflow using the command `langflow run`, you may encounter the following error:
```bash
@@ -33,15 +29,12 @@ There are two possible reasons for this error:
## _`Something went wrong running migrations. Please, run 'langflow migration --fix'`_
-### TL;DR
+Clear the cache by deleting the contents of the cache folder.
-- Clear the cache by deleting the contents of the cache folder.
- This folder can be found at:
+This folder can be found at:
- **Linux or WSL2 on Windows**: `home/
/.cache/langflow/`
- **MacOS**: `/Users//Library/Caches/langflow/`
-### Details
-
This error can occur during Langflow upgrades when the new version can't override `langflow-pre.db` in `.cache/langflow/`. Clearing the cache removes this file but will also erase your settings.
If you wish to retain your files, back them up before clearing the folder.
diff --git a/docs/docs/tutorials/chatprompttemplate_guide.mdx b/docs/docs/tutorials/chatprompttemplate_guide.mdx
index 48059b134..a01fec1ca 100644
--- a/docs/docs/tutorials/chatprompttemplate_guide.mdx
+++ b/docs/docs/tutorials/chatprompttemplate_guide.mdx
@@ -3,7 +3,7 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
import ZoomableImage from "/src/theme/ZoomableImage.js";
import ReactPlayer from "react-player";
-# Building Chatbots with System Message
+# Build Chatbots with the System Message Component
## Overview
diff --git a/docs/docs/tutorials/custom_components.mdx b/docs/docs/tutorials/custom_components.mdx
index 02a137d07..110e5dbc7 100644
--- a/docs/docs/tutorials/custom_components.mdx
+++ b/docs/docs/tutorials/custom_components.mdx
@@ -14,7 +14,7 @@ A Custom Component is created from a user-defined Python script that uses the _`
Let's take a look at the basic rules and features. Then we'll go over an example.
-## TL;DR
+**TL;DR**
- Create a class that inherits from _`CustomComponent`_ and contains a _`build`_ method.
- Use arguments with [Type Annotations (or Type Hints)](https://docs.python.org/3/library/typing.html) of the _`build`_ method to create component fields.
@@ -355,7 +355,7 @@ All done! This is what our script and brand-new custom component look like:
---
-## Loading Custom Components
+## Load Custom Components
For advanced customization, Langflow offers the option to create and load custom components outside of the standard interface. This process involves creating the desired components using a text editor and loading them using the Langflow CLI.
@@ -380,7 +380,7 @@ Your structure should look something like this:
└── ...
```
-### Loading Custom Components
+### Load Custom Components
The recommended way to load custom components is to set the _`LANGFLOW_COMPONENTS_PATH`_ environment variable to the path of your custom components directory. Then, run the Langflow CLI as usual.
@@ -397,7 +397,7 @@ langflow run --components-path /path/to/components
Langflow will attempt to load all of the components found in the specified directory. If a component fails to load due to errors in the component's code, Langflow will print an error message to the console but will continue loading the rest of the components.
-### Interacting with Custom Components
+### Interact with Custom Components
Once your custom components have been loaded successfully, they will appear in Langflow's sidebar. From there, you can add them to your Langflow canvas for use. However, please note that components with errors will not be available for addition to the canvas. Always ensure your code is error-free before attempting to load components.
diff --git a/docs/docs/tutorials/loading_document.mdx b/docs/docs/tutorials/loading_document.mdx
index 4a6143a0e..c123624c1 100644
--- a/docs/docs/tutorials/loading_document.mdx
+++ b/docs/docs/tutorials/loading_document.mdx
@@ -3,7 +3,7 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
import ZoomableImage from "/src/theme/ZoomableImage.js";
import ReactPlayer from "react-player";
-# Integrating Documents with Prompt Variables
+# Integrate Documents with Prompt Variables
## Overview