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'