langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Added simple docx loader - docx2txt

Open rishni-firstthing-ai opened this issue 2 years ago • 3 comments

Added a simple docx loader for those that don't have/use Unstructured

rishni-firstthing-ai avatar Apr 24 '23 04:04 rishni-firstthing-ai

Ok. I'll throw in an example, fix the docstring comment, and push again.

N00b question: Maybe someone can tell me why the lint / build step keeps failing? What do I need to fix?

rishni-firstthing-ai avatar Apr 25 '23 05:04 rishni-firstthing-ai

Ok. I'll throw in an example, fix the docstring comment, and push again.

N00b question: Maybe someone can tell me why the lint / build step keeps failing? What do I need to fix?

if you run make format and then make lint locally you should see more informative error mesages. im also happy to fix those!

hwchase17 avatar Apr 25 '23 05:04 hwchase17

The failure on the lint/build doesn't look like something I can fix?

$ make lint poetry run mypy . venv\Scripts\activate_this.py:27: error: "str" has no attribute "decode"; maybe "encode"? [attr-defined] venv\Scripts\activate_this.py:30: error: Module has no attribute "real_prefix" [attr-defined] Found 2 errors in 1 file (checked 717 source files) make: *** [lint] Error 1

rishni-firstthing-ai avatar Apr 25 '23 12:04 rishni-firstthing-ai