John Willis
John Willis
> ``` > from langchain.document_loaders import DirectoryLoader > loader = DirectoryLoader('./server', glob="**/*.md") > data = loader.load() > ``` > > Error > > ``` > from pdfminer.utils import open_filename >...
It's been running successfully on 3.10 for several weeks without any changes. I'm pretty sure this is an error related to a recent change in Langchain.
unstructured is installed. /usr/lib/python3.10# pip show unstructured Name: unstructured Version: 0.9.0 Summary: A library that prepares raw documents for downstream ML tasks. Home-page: https://github.com/Unstructured-IO/unstructured Author: Unstructured Technologies Author-email: [email protected] License:...
Thanks For looking into this... Does this help? Error loading documents Traceback (most recent call last): File "", line 5, in documents = loader.load() File "/usr/local/lib/python3.10/dist-packages/langchain/document_loaders/directory.py", line 137, in load...
That worked it. Thank You.