diff --git a/.github/workflows/fetch_docs_notion.yml b/.github/workflows/fetch_docs_notion.yml
index 56004d739..25914d730 100644
--- a/.github/workflows/fetch_docs_notion.yml
+++ b/.github/workflows/fetch_docs_notion.yml
@@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - name: Get current date
+ id: date
+ run: echo "DATE=date::$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
@@ -28,7 +31,7 @@ jobs:
- name: Create new branch
run: |
- git checkout -b update-docs-$(date +%Y%m%d%H%M%S)
+ git checkout -b update-docs-${{ steps.date.outputs.DATE }}
- name: Cache Node.js dependencies
uses: actions/cache@v4
@@ -70,7 +73,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update docs from Notion
- branch: update-docs-$(date +%Y%m%d%H%M%S)
+ branch: update-docs-${{ steps.date.outputs.DATE }}
base: main
title: "docs: update docs from notion"
body: This PR updates the documentation from Notion.
diff --git a/docs/docs/Settings/settings-global-variables.md b/docs/docs/Settings/settings-global-variables.md
index 6d42451fb..391b3ea4c 100644
--- a/docs/docs/Settings/settings-global-variables.md
+++ b/docs/docs/Settings/settings-global-variables.md
@@ -106,5 +106,5 @@ The default list of variables includes the ones below and more:
- VECTARA_CORPUS_ID
- VECTARA_API_KEY
-
+
diff --git a/docs/docs/What’s-New/1019037178.webp b/docs/docs/What’s-New/1019037178.webp
deleted file mode 100644
index f3075512d..000000000
Binary files a/docs/docs/What’s-New/1019037178.webp and /dev/null differ
diff --git a/docs/docs/What’s-New/225113267.png b/docs/docs/What’s-New/1143907392.png
similarity index 100%
rename from docs/docs/What’s-New/225113267.png
rename to docs/docs/What’s-New/1143907392.png
diff --git a/docs/docs/What’s-New/1285484510.webp b/docs/docs/What’s-New/1285484510.webp
deleted file mode 100644
index 72c71f96c..000000000
Binary files a/docs/docs/What’s-New/1285484510.webp and /dev/null differ
diff --git a/docs/docs/What’s-New/1528084074.jpg b/docs/docs/What’s-New/1528084074.jpg
deleted file mode 100644
index d06b8000b..000000000
Binary files a/docs/docs/What’s-New/1528084074.jpg and /dev/null differ
diff --git a/docs/docs/What’s-New/17412613.png b/docs/docs/What’s-New/17412613.png
deleted file mode 100644
index a1ae092ff..000000000
Binary files a/docs/docs/What’s-New/17412613.png and /dev/null differ
diff --git a/docs/docs/What’s-New/196150825.gif b/docs/docs/What’s-New/196150825.gif
deleted file mode 100644
index b200ffba7..000000000
Binary files a/docs/docs/What’s-New/196150825.gif and /dev/null differ
diff --git a/docs/docs/What’s-New/2087505425.png b/docs/docs/What’s-New/2087505425.png
deleted file mode 100644
index 1b42c3d47..000000000
Binary files a/docs/docs/What’s-New/2087505425.png and /dev/null differ
diff --git a/docs/docs/What’s-New/543968297.webp b/docs/docs/What’s-New/543968297.webp
deleted file mode 100644
index 02b6877d4..000000000
Binary files a/docs/docs/What’s-New/543968297.webp and /dev/null differ
diff --git a/docs/docs/What’s-New/82097598.webp b/docs/docs/What’s-New/82097598.webp
deleted file mode 100644
index f6b1a88ed..000000000
Binary files a/docs/docs/What’s-New/82097598.webp and /dev/null differ
diff --git a/docs/docs/What’s-New/whats-new-a-new-chapter-langflow.md b/docs/docs/What’s-New/whats-new-a-new-chapter-langflow.md
index 7c78e1f2a..88ae99175 100644
--- a/docs/docs/What’s-New/whats-new-a-new-chapter-langflow.md
+++ b/docs/docs/What’s-New/whats-new-a-new-chapter-langflow.md
@@ -6,7 +6,7 @@ slug: /whats-new-a-new-chapter-langflow
-
+
## First things first {#5add758564574950862f689198a4e085}
@@ -44,9 +44,6 @@ Components can now have more than a single output, allowing for unique flexibili
4. Enable the development of agent architectures from scratch;
5. Build an orchestrator that routes between agents.
-
-
-
### Flow + Composition {#12d86f91b5af4abc9f8e885c5f828df4}
@@ -64,9 +61,6 @@ This makes it so that composition is now just **another way** of building in L
For example, a flow can sequentially process text, and after a few steps, trigger an agent. It can access functions that wait to be called or to respond. This blend of flow and composition brings an unprecedented level of flexibility and control to data workflows in LLM-based apps and agents that use multiple models and APIs working together to achieve tasks.
-
-
-
### Memory Management {#a9e352272f4a44499f52fae65b663118}
@@ -76,9 +70,6 @@ Langflow 1.0 natively allows every chat message to be stored, and a single flow
You can edit and remove previous messages to inspect and validate a model’s response behavior. Control, explore, and manage conversation histories to get your models acting just right.
-
-
-
### Component Freeze 🥶 {#4912d08da5464ff2aff595d6b26fd809}
@@ -91,18 +82,12 @@ Once a component runs, you can now lock its previous output state to prevent it
Avoid spending extra tokens and remove repetition when output should be constant — plus it's great for debugging and prototyping!
-
-
-
### Output Preview {#f56d4400b0214ef2ab1206add068dd99}
Each component now includes an output visualizer that opens a pop-up screen, allowing you to easily inspect and monitor transmissions between components. It provides instant feedback on your workflows, letting you see results as they are processed. 🔍
-
-
-
### Inputs and Outputs Handling {#2112c11dc496480c9bd681f04f8533ea}
@@ -118,18 +103,12 @@ We’re proposing Langflow-native types to keep things consistent, but not limit
Now you can pick a custom name for your endpoint used to call your flow from the API.
-
-
-
### Logs & Monitoring {#c902ee43b4b24711b526352ae2451c48}
A new logs page has been added! Now, both component executions and message history from the chat can be inspected in an interactive table. This will make it easier to debug, inspect, and manage messages passing through components.
-
-
-
### Folders 📁 {#d01237fd83e4467994fed6fa7a8ee4f4}
@@ -154,9 +133,6 @@ For example, let's say you are building a simple RAG application. Generally, you
Langflow is now multi-modal! It can now handle images and more soon!
-
-
-
We’ve also improved project organization, global variables and overall settings, added Python 3.12 compatibility, keyboard shortcuts and a lot of new and fun experimental components!
diff --git a/docs/docs/Workspace/1862729633.png b/docs/docs/Workspace/1862729633.png
new file mode 100644
index 000000000..f4c26e169
Binary files /dev/null and b/docs/docs/Workspace/1862729633.png differ
diff --git a/docs/docs/Workspace/workspace-api.md b/docs/docs/Workspace/workspace-api.md
index b86aa8e27..288931629 100644
--- a/docs/docs/Workspace/workspace-api.md
+++ b/docs/docs/Workspace/workspace-api.md
@@ -9,7 +9,7 @@ import ReactPlayer from "react-player";
The **API** section presents code templates for integrating your flow into external applications.
-[API IMAGE HERE]
+
### cURL {#4eb287a8424349c4b0b436a6703de5f3}
@@ -18,9 +18,6 @@ The **API** section presents code templates for integrating your flow into ext
The **cURL** tab displays sample code for posting a query to your flow. Modify the `input_value` to change your input message. Copy the code and run it to post a query to your flow and get the result.
-[cURL Image here]
-
-
### Python API {#fb7db14e6330418389562ef647aa2354}
@@ -39,7 +36,7 @@ The **Python Code** tab displays code to interact with your flow's `.json` f
The **Tweaks** tab displays the available parameters for your flow. Modifying the parameters changes the code parameters across all windows. For example, changing the **Chat Input** component's `input_value` will change that value across all API calls.
-
+
### Chat Widget HTML {#48f121a6cb3243979a341753da0c2700}
@@ -51,24 +48,9 @@ The **Chat Widget HTML** tab displays code that can be inserted in the `
` tag, as demonstrated in the video below.
-
+
### Embed your flow with React {#fe5d3b1c42e74e4c84ebc9d1799b7665}
1. To embed the Chat Widget using React, insert this ``
+```javascript
+
+```
1. Declare your Web Component and encapsulate it in a React component.
-`declare global { namespace JSX { interface IntrinsicElements { "langflow-chat": any; } }}export default function ChatWidget({ className }) { return (
);}`
+```javascript
+declare global { namespace JSX { interface IntrinsicElements { "langflow-chat": any; } }}export default function ChatWidget({ className }) { return (
);}
+```
1. Finally, you can place the component anywhere in your code to display the Chat Widget.
@@ -103,7 +89,9 @@ The Chat Widget can be embedded into any HTML page, inside a `` tag, as
1. To use the chat widget in Angular, first add this ``
+```javascript
+
+```
1. When you use a custom web component in an Angular template, the Angular compiler might show a warning when it doesn't recognize the custom elements by default. To suppress this warning, add `CUSTOM_ELEMENTS_SCHEMA` to the module's `@NgModule.schemas`.
2. Open the module file (it typically ends with _.module.ts_) where you'd add the `langflow-chat` web component.
@@ -113,11 +101,15 @@ The Chat Widget can be embedded into any HTML page, inside a `` tag, as
1. Add `CUSTOM_ELEMENTS_SCHEMA` to the 'schemas' array inside the '@NgModule' decorator:
-`@NgModule({ declarations: [ // ... Other components and directives ... ], imports: [ // ... Other imported modules ... ], schemas: [CUSTOM_ELEMENTS_SCHEMA], // Add the CUSTOM_ELEMENTS_SCHEMA here})export class YourModule {}`
+```javascript
+@NgModule({ declarations: [ // ... Other components and directives ... ], imports: [ // ... Other imported modules ... ], schemas: [CUSTOM_ELEMENTS_SCHEMA], // Add the CUSTOM_ELEMENTS_SCHEMA here})export class YourModule {}
+```
1. In your Angular project, find the component belonging to the module where `CUSTOM_ELEMENTS_SCHEMA` was added. Inside the template, add the `langflow-chat` tag to include the Chat Widget in your component's view:
-``
+```javascript
+
+```
INFO
diff --git a/docs/docs/Workspace/workspace-playground.md b/docs/docs/Workspace/workspace-playground.md
index 6694ed5a9..a4813a70d 100644
--- a/docs/docs/Workspace/workspace-playground.md
+++ b/docs/docs/Workspace/workspace-playground.md
@@ -26,7 +26,7 @@ As long as you have an [Input or Output](/components-io) component working, you
You can also open a flow's **Playground** without entering its workspace. From **My Collections** or **Langflow Store**, click the **Playground** in one of the projects card.
-
+
## Memory Management {#821a5ee2a8a44d35b49943cba630511c}