[Usntructured loaders] Make Unstructured API URL optional when environment variable is present (#3414)

* Make Unstructured API URL optional when environment variable is present

* Fix empty apiUrl option in Unsctructured flowise loader

* Add focumentation for env vars
This commit is contained in:
Jérémy JOURDIN
2024-11-01 23:03:53 +01:00
committed by GitHub
parent 15d59a9052
commit a159da5bfe
6 changed files with 38 additions and 9 deletions
@@ -0,0 +1,13 @@
# Unstructured File/Floder Loader
Unstructured File Loader integration for Flowise
## 🌱 Env Variables
| Variable | Description | Type | Default |
| ---------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
| UNSTRUCTURED_API_URL | Default `apiUrl` for Unstructured File/Floder Loader | String | http://localhost:8000/general/v0/general |
## License
Source code in this repository is made available under the [Apache License Version 2.0](https://github.com/FlowiseAI/Flowise/blob/master/LICENSE.md).