mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 11:01:22 +03:00
[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:
@@ -63,7 +63,8 @@ class UnstructuredFile_DocumentLoaders implements INode {
|
||||
description:
|
||||
'Unstructured API URL. Read <a target="_blank" href="https://docs.unstructured.io/api-reference/api-services/saas-api-development-guide">more</a> on how to get started',
|
||||
type: 'string',
|
||||
default: 'http://localhost:8000/general/v0/general'
|
||||
placeholder: process.env.UNSTRUCTURED_API_URL || 'http://localhost:8000/general/v0/general',
|
||||
optional: !!process.env.UNSTRUCTURED_API_URL
|
||||
},
|
||||
{
|
||||
label: 'Strategy',
|
||||
|
||||
Reference in New Issue
Block a user