📝 docs(flow-runner.mdx): update introduction to clarify the purpose of the CustomComponent

📝 docs(flow-runner.mdx): update example description to focus on creating a component to run other flows
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-28 14:25:50 -03:00
commit ab6d6bc803

View file

@ -8,11 +8,11 @@ import Admonition from "@theme/Admonition";
# FlowRunner Component
Now let's see how to create a component that runs other flows.
The CustomComponent allows us to create new components that can interact with Langflow itself.
This example will be a bit more complex, but it will show you some of the methods available in the _`CustomComponent`_ class.
In this example, we are going to create a component that allows us to run other flows.
What we will see in this example:
What we will see:
- How to list the flows in the collection using the _`list_flows`_ method.
- How to load a flow using the _`load_flow`_ method.