langchain/docs/modules
Matt Robinson 2f15c11b87
feat: document loader for MS Word documents (#1282)
### Summary

Adds a document loader for MS Word Documents. Works with both `.docx`
and `.doc` files as longer as the user has installed
`unstructured>=0.4.11`.

### Testing

The follow workflow test the loader for both `.doc` and `.docx` files
using example docs from the `unstructured` repo.

#### `.docx`

```python
from langchain.document_loaders import UnstructuredWordDocumentLoader

filename = "../unstructured/example-docs/fake.docx"
loader = UnstructuredWordDocumentLoader(filename)
loader.load()
```

#### `.doc`

```python
from langchain.document_loaders import UnstructuredWordDocumentLoader

filename = "../unstructured/example-docs/fake.doc"
loader = UnstructuredWordDocumentLoader(filename)
loader.load()
```
2023-02-24 08:26:19 -08:00
..
agents Make Tools own model, add ToolKit Concept (#1095) 2023-02-18 13:40:43 -08:00
chains Update key_concepts.md (#1209) (#1237) 2023-02-22 13:30:53 -08:00
document_loaders feat: document loader for MS Word documents (#1282) 2023-02-24 08:26:19 -08:00
indexes Correct typo in "Question Answering" How-To Guide (#1221) 2023-02-21 17:02:58 -08:00
llms Add Writer, Banana, Modal, StochasticAI (#1270) 2023-02-24 06:58:58 -08:00
memory chroma docs (#1012) 2023-02-12 23:02:01 -08:00
prompts chroma docs (#1012) 2023-02-12 23:02:01 -08:00
utils add ifttt tool (#1244) 2023-02-22 22:29:43 -08:00
agents.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
chains.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
document_loaders.rst Harrison/unstructured support (#903) 2023-02-05 23:02:07 -08:00
indexes.rst improve docs for indexes (#1146) 2023-02-19 23:14:50 -08:00
llms.rst Fix minor error in LLM documentation (#602) 2023-01-12 18:16:32 -08:00
memory.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
prompts.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
state_of_the_union.txt Docs refactor (#480) 2023-01-02 08:24:09 -08:00
utils.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00