Added warning of outdated information to all components

This commit is contained in:
Lucas Oliveira 2024-06-24 08:31:18 -03:00 committed by Gabriel Luiz Freitas Almeida
commit 9b88eab828
70 changed files with 303 additions and 0 deletions

View file

@ -4,6 +4,10 @@ import Admonition from "@theme/Admonition";
# API Keys
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Langflow provides an API key functionality that allows users to access their individual components and flows without traditional login authentication. The API key is a user-specific token that can be included in the request header or query parameter to authenticate API calls. This documentation outlines how to generate, use, and manage API keys in Langflow.
<Admonition type="warning">

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Chat Widget
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
<div style={{ marginBottom: "20px" }}>
The <b>Langflow Chat Widget</b> is a powerful web component that enables
communication with a Langflow project. This widget allows for a chat interface

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Command Line Interface (CLI)
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Langflow's Command Line Interface (CLI) is a powerful tool that allows you to interact with the Langflow server from the command line. The CLI provides a wide range of commands to help you shape Langflow to your needs.
The available commands are below. Navigate to their individual sections of this page to see the parameters.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Collections and Projects
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
My Collection is a space in Langflow where users can manage, organize, and access their flows and components.
Flows and components are displayed as individual cards that provide relevant information.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Global Variables
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Global Variables are a useful feature of Langflow, allowing you to define reusable variables accessed from any Text field in your project.
**TL;DR**

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Sign Up and Sign In
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
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

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Logs
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
To view logs, go to **Project Options** > **Logs**.
The **Logs** page provides a detailed record of all component executions within a workspace.

View file

@ -5,6 +5,10 @@ import Admonition from "@theme/Admonition";
# Chat Memory
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Langflow allows every chat message to be stored, and a single flow can have multiple memory sessions. This enables you to create multiple “memories” for agents to store and recall specific information as needed. You can edit and remove previous messages to inspect and validate a models response behavior. Control, explore, and manage conversation histories to get your models acting just right.
The **Chat Memory** component retrieves message histories by session ID. Users can change the session ID in the advanced settings, with the default session ID set to match the flow ID. These memories are accessible and manageable directly from the Playground; modifications to them directly affect the behavior of chatbot responses. Users can remove or edit previous messages to manipulate and explore model responses further.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Playground
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
<Admonition type="info">
From the **My Collection** page, click the Playground button in one of your flow cards.
It will directly open up a window with that project's Playground, without even showing the flow (this also works for flows hosted on the Langflow Store!).

View file

@ -5,6 +5,10 @@ import ReactPlayer from "react-player";
# Prompt Customization
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The prompt template allows users to create prompts and define variables that provide control over instructing the model.
{" "}

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Settings
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Change the **Project Settings** or **General Settings** for Langflow.
## Project Settings

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Agents
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Agents are components that use reasoning to make decisions and take actions, designed to autonomously perform tasks or provide services with some degree of agency. LLM chains can only perform hardcoded sequences of actions, while agents use LLMs to reason through which actions to take, and in which order.
---

View file

@ -5,6 +5,10 @@ import Admonition from "@theme/Admonition";
# Chains
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Chains, in the context of language models, refer to a series of calls made to a language model. This approach allows for using the output of one call as the input for another. Different chain types facilitate varying complexity levels, making them useful for creating pipelines and executing specific scenarios.
---

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Custom Components
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Build custom components in Langflow for various data processing and transformation tasks.
This guide provides a comprehensive overview of how to create custom components using Langflow.

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Data
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## API Request
This component sends HTTP requests to the specified URLs.

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Embeddings
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## Amazon Bedrock Embeddings
Used to load embedding models from [Amazon Bedrock](https://aws.amazon.com/bedrock/).

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Experimental
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Components in the experimental phase are currently in beta. They have been initially developed and tested but haven't yet achieved a stable or fully supported status. We encourage users to explore these components, provide feedback, and report any issues encountered.
---

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Helpers
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
### Chat memory
This component retrieves stored chat messages based on a specific session ID.

View file

@ -4,6 +4,10 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
# Inputs and Outputs
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
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.

View file

@ -2,6 +2,10 @@ import Admonition from '@theme/Admonition';
# Loaders
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
<Admonition type="caution" icon="🚧" title="ZONE UNDER CONSTRUCTION">
<p>
We appreciate your understanding as we polish our documentation it may contain some rough edges. Share your feedback or report issues to help us improve! 🛠️📝

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Memories
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
<Admonition type="caution" icon="🚧" title="ZONE UNDER CONSTRUCTION">
<p>
Thanks for your patience as we improve our documentation—it might have some

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Large Language Models (LLMs)
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
A Large Language Model (LLM) is a foundational component of Langflow. It provides a uniform interface for interacting with LLMs from various providers, including OpenAI, Cohere, and HuggingFace. Langflow extensively uses LLMs across its chains and agents, employing them to generate text based on specific prompts or inputs.
---

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Models
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## Amazon Bedrock
This component facilitates the generation of text using the LLM (Large Language Model) model from Amazon Bedrock.

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Retrievers
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
A retriever is an interface that returns documents in response to an unstructured query. It's broader than a vector store because it doesn't need to store documents; it only needs to retrieve them.
---

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Text and Data
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
There are two main input and output types: `Text` and `Data`.
`Text` is a simple string input and output type, while `Data` is a structure very similar to a dictionary in Python. It is a key-value pair data structure.

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Text Splitters
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
A text splitter is a tool that divides a document or text into smaller chunks or segments. This helps make large texts more manageable for analysis or processing.
---

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Toolkits
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
<Admonition type="caution" icon="🚧" title="ZONE UNDER CONSTRUCTION">
<p>
We appreciate your understanding as we polish our documentation - it may

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Tools
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## SearchApi
SearchApi offers a real-time search engine results API that returns structured JSON data, including answer boxes, knowledge graphs, organic results, and more.

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Utilities
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Utilities are a set of actions that can be used to perform common tasks in a flow. They are available in the **Utilities** section in the sidebar.
---

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Vector Stores
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
### Astra DB
The `Astra DB` initializes a vector store using Astra DB from Data. It creates Astra DB-based vector indexes to efficiently store and retrieve documents.

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Community
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## 🤖 Join **Langflow** Discord server
Join us to ask questions and showcase your projects.

View file

@ -1,7 +1,12 @@
import ZoomableImage from "/src/theme/ZoomableImage.js";
import Admonition from "@theme/Admonition";
# How to Contribute Components?
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
New components are added as objects of the [CustomComponent](https://github.com/langflow-ai/langflow/blob/dev/src/backend/base/langflow/interface/custom/custom_component/custom_component.py) class and any dependencies are added to the [pyproject.toml](https://github.com/langflow-ai/langflow/blob/dev/pyproject.toml#L27) file.
## Add an example component

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# GitHub Issues
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Our [issues](https://github.com/langflow-ai/langflow/issues) page is kept up to date
with bugs, improvements, and feature requests. There is a taxonomy of labels to help
with sorting and discovery of issues of interest.

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# How to Contribute?
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
👋 Hello there! We welcome contributions from developers of all levels to our open-source project on [GitHub](https://github.com/langflow-ai/langflow). If you'd like to contribute, please check our contributing guidelines and help make Langflow more accessible.
As an open-source project in a rapidly developing field, we are extremely open

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Backend-only
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
You can run Langflow in `--backend-only` mode to expose your Langflow app as an API, without running the frontend UI.
Start langflow in backend-only mode with `python3 -m langflow run --backend-only`.

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Docker
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
This guide will help you get LangFlow up and running using Docker and Docker Compose.
## Prerequisites

View file

@ -1,5 +1,11 @@
import Admonition from "@theme/Admonition";
# Deploy on Google Cloud Platform
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## Run Langflow from a New Google Cloud Project
This guide will help you set up a Langflow development VM in a Google Cloud Platform project using Google Cloud Shell.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Chat Memory
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The **Chat Memory** component restores previous messages given a Session ID, which can be any string.
This component is available under the **Helpers** tab of the Langflow sidebar.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Combine Text
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
With LLM pipelines, combining text from different sources may be as important as splitting text.
The **Combine Text** component concatenates two text inputs into a single chunk using a specified delimiter, such as whitespace or a newline.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Create Data
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
In Langflow, a `Data` has a structure very similar to a Python dictionary. It is a key-value pair data structure.
The **Create Data** component allows you to dynamically create a `Data` from a specified number of inputs. You can add as many key-value pairs as you want (as long as it is less than 15 😅). Once you've chosen the number of `Data`, add keys and fill up values, or pass on values from other components to the component using the input handles.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Pass
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Sometimes all you need to do is… nothing!
The **Pass** component enables you to ignore one input and move forward with another one. This is super helpful to swap routes for A/B testing!

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Store Message
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The **Store Message** component allows you to save information under a specified Session ID and sender type.
The **Message History** component can then be used to retrieve stored messages.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Sub Flow
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The **Sub Flow** component enables a user to select a previously built flow and dynamically generate a component out of it.
<div

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Text Operator
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The **Text Operator** component simplifies logic. It evaluates the results from another component (for example, if the input text exactly equals `Tuna`) and runs another component based on the results. Basically, the text operator is an if/else component for your flow.
<div

View file

@ -5,6 +5,10 @@ import Admonition from "@theme/Admonition";
# 📦 Install Langflow
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
<Admonition type="info">
Langflow **requires** Python version 3.10 or greater and
[pip](https://pypi.org/project/pip/) or

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# ⚡️ Quickstart
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
This guide demonstrates how to build a basic flow and modify the prompt for different outcomes.
## Prerequisites

View file

@ -5,6 +5,10 @@ import Admonition from "@theme/Admonition";
# 🌟 RAG with Astra DB
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
This guide will walk you through how to build a RAG (Retrieval Augmented Generation) application using **Astra DB** and **Langflow**.
[Astra DB](https://www.datastax.com/products/datastax-astra?utm_source=langflow-pre-release&utm_medium=referral&utm_campaign=langflow-announcement&utm_content=astradb) is a cloud-native database built on Apache Cassandra that is optimized for the cloud. It is a fully managed database-as-a-service that simplifies operations and reduces costs. Astra DB is built on the same technology that powers the largest Cassandra deployments in the world.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# 🎨 Langflow Workspace
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## The Langflow Workspace Interface
The **Langflow Workspace** is where you assemble new flows and create AIs by connecting and running components. To get started, click on **New Project**. You can either build a flow from scratch (Blank Flow) or choose from pre-built starter examples.

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# LangSmith
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
LangSmith is a full-lifecycle DevOps service from LangChain that provides monitoring and observability. To integrate with Langflow, just add your LangChain API key as a Langflow environment variable and you are good to go!
## Step-by-step Configuration

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Add Content To Page
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `AddContentToPage` component converts markdown text to Notion blocks and appends them to a Notion page.
[Notion Reference](https://developers.notion.com/reference/patch-block-children)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Introduction to Notion in Langflow
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The Notion integration in Langflow enables seamless connectivity with Notion databases, pages, and users, facilitating automation and improving productivity.
<ZoomableImage

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Database Properties
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionDatabaseProperties` component retrieves properties of a Notion database. It provides a convenient way to integrate Notion database information into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/post-database-query)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# List Pages
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionListPages` component queries a Notion database with filtering and sorting. It provides a convenient way to integrate Notion database querying capabilities into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/post-database-query)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# User List
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionUserList` component retrieves users from Notion. It provides a convenient way to integrate Notion user data into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/get-users)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Page Content
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionPageContent` component retrieves the content of a Notion page as plain text. It provides a convenient way to integrate Notion page content into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/get-page)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Page Create
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionPageCreator` component creates pages in a Notion database. It provides a convenient way to integrate Notion page creation into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/patch-block-children)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Page Update
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionPageUpdate` component updates the properties of a Notion page. It provides a convenient way to integrate updating Notion page properties into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/patch-page)

View file

@ -5,6 +5,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Notion Search
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
The `NotionSearch` component is designed to search all pages and databases that have been shared with an integration in Notion. It provides a convenient way to integrate Notion search capabilities into your Langflow workflows.
[Notion Reference](https://developers.notion.com/reference/search)

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Setting up a Notion App
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
To use Notion components in Langflow, you first need to create a Notion integration and configure it with the necessary capabilities. This guide will walk you through the process of setting up a Notion integration and granting it access to your Notion databases.
## Prerequisites

View file

@ -3,6 +3,10 @@ import ZoomableImage from "/src/theme/ZoomableImage.js";
# Compatibility with Previous Versions
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## TLDR;
- You'll need to add a few components to your flow to make it compatible with the new version of Langflow.

View file

@ -2,6 +2,10 @@ import Admonition from "@theme/Admonition";
# Migrating to Langflow 1.0: A Guide
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
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.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Basic Prompting
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks.
By submitting natural language requests in a prompt to an LLM, you can obtain answers, generate text, and solve problems.

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Blog Writer
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Build a blog writer with OpenAI that uses URLs for reference content.
## Prerequisites

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Document QA
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Build a question-and-answer chatbot with a document loaded from local memory.
## Prerequisites

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Memory Chatbot
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
This flow extends the [basic prompting flow](./basic-prompting) to include chat memory for unique SessionIDs.
## Prerequisites

View file

@ -6,6 +6,10 @@ import Admonition from "@theme/Admonition";
# Vector Store RAG
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it.
RAG is backed by a **vector store**, a vector database which stores embeddings of the ingested data.

View file

@ -2,9 +2,14 @@ import ThemedImage from "@theme/ThemedImage";
import useBaseUrl from "@docusaurus/useBaseUrl";
import ZoomableImage from "/src/theme/ZoomableImage.js";
import ReactPlayer from "react-player";
import Admonition from "@theme/Admonition";
# Build Chatbots with the System Message Component
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## Overview
In this guide, we will modify the "Basic Chat with Prompt and History" example, integrating the ChatPromptTemplate with the SystemMessagePromptTemplate and HumanMessagePromptTemplate components. By following these steps, you'll be able to build a personalized chatbot that can interpret and respond based on user-defined System messages.

View file

@ -8,6 +8,10 @@ import Admonition from "@theme/Admonition";
# Custom Components
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
In Langflow, a Custom Component is a special component type that allows users to extend the platform's functionality by creating their own reusable and configurable components.
A Custom Component is created from a user-defined Python script that uses the _`CustomComponent`_ class provided by the Langflow library. These components can be as simple as a basic function that takes and returns a string or as complex as a combination of multiple sub-components and API calls.

View file

@ -2,9 +2,14 @@ import ThemedImage from "@theme/ThemedImage";
import useBaseUrl from "@docusaurus/useBaseUrl";
import ZoomableImage from "/src/theme/ZoomableImage.js";
import ReactPlayer from "react-player";
import Admonition from "@theme/Admonition";
# Integrate Documents with Prompt Variables
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
## Overview
This guide takes you through the process of augmenting the "Basic Chat with Prompt and History" example. You'll learn how to embed documents as context into the PromptTemplate component utilizing a WebBaseLoader.

View file

@ -5,6 +5,10 @@ import Admonition from "@theme/Admonition";
# 🌟 RAG with Astra DB
<Admonition type="warning" title="warning">
This page may contain outdated information. It will be updated as soon as possible.
</Admonition>
This guide will walk you through how to build a RAG (Retrieval Augmented Generation) application using **Astra DB** and **Langflow**.
[Astra DB](https://www.datastax.com/products/datastax-astra?utm_source=langflow-pre-release&utm_medium=referral&utm_campaign=langflow-announcement&utm_content=astradb) is a cloud-native database built on Apache Cassandra that is optimized for the cloud. It is a fully managed database-as-a-service that simplifies operations and reduces costs. Astra DB is built on the same technology that powers the largest Cassandra deployments in the world.