From 7bdc274e939a3a00cfc813a4449c1107495891f2 Mon Sep 17 00:00:00 2001 From: cragwolfe Date: Fri, 20 Sep 2024 09:17:05 -0700 Subject: [PATCH] chore: update unstructured API url and doc reference (#3224) chore: udpate unstructured API url and doc reference --- .../nodes/documentloaders/Unstructured/Unstructured.ts | 2 +- .../nodes/documentloaders/Unstructured/UnstructuredFile.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/nodes/documentloaders/Unstructured/Unstructured.ts b/packages/components/nodes/documentloaders/Unstructured/Unstructured.ts index 07ef437f4c1..18ca94f2898 100644 --- a/packages/components/nodes/documentloaders/Unstructured/Unstructured.ts +++ b/packages/components/nodes/documentloaders/Unstructured/Unstructured.ts @@ -29,7 +29,7 @@ type Element = { export class UnstructuredLoader extends BaseDocumentLoader { public filePath: string - private apiUrl = 'https://api.unstructured.io/general/v0/general' + private apiUrl = 'https://api.unstructuredapp.io/general/v0/general' private apiKey?: string diff --git a/packages/components/nodes/documentloaders/Unstructured/UnstructuredFile.ts b/packages/components/nodes/documentloaders/Unstructured/UnstructuredFile.ts index beb5e772128..df680e63781 100644 --- a/packages/components/nodes/documentloaders/Unstructured/UnstructuredFile.ts +++ b/packages/components/nodes/documentloaders/Unstructured/UnstructuredFile.ts @@ -61,7 +61,7 @@ class UnstructuredFile_DocumentLoaders implements INode { label: 'Unstructured API URL', name: 'unstructuredAPIUrl', description: - 'Unstructured API URL. Read more on how to get started', + 'Unstructured API URL. Read more on how to get started', type: 'string', default: 'http://localhost:8000/general/v0/general' },