Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration
This commit is contained in:
commit
23f92c5d05
28 changed files with 368 additions and 188 deletions
|
|
@ -7,17 +7,19 @@ dynamically change the Interaction Panel and can be renamed to make it easier to
|
|||
|
||||
Langflow 1.0 introduces new categories of components called Inputs and Outputs. They are used to make it easier to understand and interact with your flows.
|
||||
|
||||
Let's take a look at the what they are and how they work.
|
||||
Let's start with what they have in common:
|
||||
|
||||
- Components in these categories connect to components that have Text or Record inputs or outputs. Some can connect to both but you have to pick what type of data you want to output or input.
|
||||
- They can be renamed to help you identify them more easily in the Interaction Panel and while using the API.
|
||||
- They dynamically change the Interaction Panel to make it easier to understand and interact with your flows.
|
||||
|
||||
Native Langflow Components were created to be powerful tools that work around Langflow's features. They are designed to be easy to use and understand, and to help you build your flows faster.
|
||||
|
||||
Let's dive into Inputs and Outputs.
|
||||
|
||||
## Inputs
|
||||
|
||||
Some Input components output Text, others Record, and others both (you pick). They can be used to input data into any field that accepts Text or Record data.
|
||||
|
||||
{/* Show pictures of Chat Input into Prompt and Chat Input into File Path in a file loader component */}
|
||||
|
||||
As with all components, they can be renamed to help you identify them more easily in the Interaction Panel and while using the API.
|
||||
|
||||
{/* Show picture of renaming a Chat Input component and the Interaction Panel */}
|
||||
Inputs are components that are used to define where data comes into your flow. They can be used to receive data from the user, from a database, or from any other source that can be converted to Text or Record.
|
||||
|
||||
The difference between Chat Input and other Input components is the format of the output, the number of configurable fields, and the way they are displayed in the Interaction Panel.
|
||||
|
||||
|
|
@ -27,6 +29,8 @@ You can find out more about it and the other Inputs [here](../components/inputs)
|
|||
|
||||
## Outputs
|
||||
|
||||
Some Output components output Text, others Record, and others both (you pick), just like the Inputs. They can be used to output data from any field that outputs Text or Record data.
|
||||
Outputs are components that are used to define where data comes out of your flow. They can be used to send data to the user, to the Interaction Panel, or to define how the data will be displayed in the Interaction Panel.
|
||||
|
||||
{/* Show pictures of Prompt into Chat Output and File Path in a file loader component into Chat Output */}
|
||||
The Chat Output works similarly to the Chat Input but does not have a field that allows for written input. It is used as an Output definition and can be used to send data to the user.
|
||||
|
||||
You can find out more about it and the other Outputs [here](../components/outputs).
|
||||
Loading…
Add table
Add a link
Reference in a new issue