gpt4-pdf-chatbot-langchain icon indicating copy to clipboard operation
gpt4-pdf-chatbot-langchain copied to clipboard

langchain/document_loaders has no exported member DocxLoader

Open rohanikshvaku opened this issue 1 year ago • 1 comments

Hi,

I would like to be able to parse DOCX files as well. So as per the langchain js docs, I have installed Mammoth.

Then I added import { DocxLoader } from "langchain/document_loaders";

But I get this error: langchain/document_loaders\"' has no exported member 'DocxLoader'

Please help me with this. Thanks!

rohanikshvaku avatar Apr 07 '23 07:04 rohanikshvaku

Did you add a document loader below pdf loader in ingest.ts?

bschleter avatar Apr 15 '23 14:04 bschleter

Hi, @rohanikshvaku! I'm Dosu, and I'm here to help the gpt4-pdf-chatbot-langchain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you are encountering an error while trying to import the DocxLoader from the langchain/document_loaders module. User "bschleter" has asked if you added a document loader below the pdf loader in ingest.ts. However, it seems that the issue is still unresolved.

If this issue is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding and cooperation. Let us know if there's anything else we can assist you with!

dosubot[bot] avatar Sep 22 '23 16:09 dosubot[bot]