mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 06:42:21 +08:00
fix: Update components-loaders.md for accuracy with Unstructured (#5014)
This commit is contained in:
@ -56,7 +56,7 @@ The GitLoader component uses the GitLoader from LangChain to fetch and load docu
|
||||
|
||||
## Unstructured
|
||||
|
||||
This component uses the [Unstructured](https://unstructured.io/) library to load and parse PDF, DOCX, and TXT files into structured data. This component works with both the open-source library and the Unstructured API.
|
||||
This component uses the [Unstructured.io](https://unstructured.io/) Serverless API to load and parse files into structured data.
|
||||
|
||||
### Parameters
|
||||
|
||||
@ -64,11 +64,11 @@ This component uses the [Unstructured](https://unstructured.io/) library to load
|
||||
|
||||
| Name | Display Name | Info |
|
||||
| --- | --- | --- |
|
||||
| file | File | The path to the file to be parsed (supported types: pdf, docx, txt) |
|
||||
| api_key | API Key | Unstructured API Key (optional, if not provided, open-source library will be used) |
|
||||
| file | File | The path to the file to be parsed (supported types are listed [here](https://docs.unstructured.io/api-reference/api-services/overview#supported-file-types)) |
|
||||
| api_key | API Key | Unstructured.io Serverless API Key |
|
||||
|
||||
#### Outputs:
|
||||
|
||||
| Name | Display Name | Info |
|
||||
| --- | --- | --- |
|
||||
| data | Data | List of Data objects containing the parsed content from the input file |
|
||||
| data | Data | List of Data objects containing the parsed content from the input file |
|
||||
|
||||
Reference in New Issue
Block a user