From 0ec2af4a9fdb671f350f72b0285458c55bc5f238 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 22 Jul 2024 17:59:27 +0100 Subject: [PATCH] update loaders to community package --- .../nodes/documentloaders/S3Directory/S3Directory.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/nodes/documentloaders/S3Directory/S3Directory.ts b/packages/components/nodes/documentloaders/S3Directory/S3Directory.ts index 3c1f4272527..cb2ea79150f 100644 --- a/packages/components/nodes/documentloaders/S3Directory/S3Directory.ts +++ b/packages/components/nodes/documentloaders/S3Directory/S3Directory.ts @@ -10,9 +10,9 @@ import * as os from 'node:os' import { DirectoryLoader } from 'langchain/document_loaders/fs/directory' import { JSONLoader } from 'langchain/document_loaders/fs/json' -import { CSVLoader } from 'langchain/document_loaders/fs/csv' -import { PDFLoader } from 'langchain/document_loaders/fs/pdf' -import { DocxLoader } from 'langchain/document_loaders/fs/docx' +import { CSVLoader } from '@langchain/community/document_loaders/fs/csv' +import { PDFLoader } from '@langchain/community/document_loaders/fs/pdf' +import { DocxLoader } from '@langchain/community/document_loaders/fs/docx' import { TextLoader } from 'langchain/document_loaders/fs/text' import { TextSplitter } from 'langchain/text_splitter'