Documentation Index
Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Microsoft Word is a word processor developed by Microsoft.本文介绍如何load
Word documents into a document format that we can use downstream.
Using Docx2txt
Load .docx usingDocx2txt into a document.
Using unstructured
Please see Unstructured for more instructions on setting up Unstructured locally, including setting up required system dependencies.Retain elements
在底层,Unstructured 为不同的文本块创建不同的 “elements”。默认情况下我们将它们组合在一起,但你可以通过指定mode="elements" 轻松保持这种分离。
Using Azure AI document intelligence
Azure AI Document Intelligence (formerly known asThis current implementation of a loader usingAzure Form Recognizer) is machine-learning based service that extracts texts (including handwriting), tables, document structures (e.g., titles, section headings, etc.) and key-value-pairs from digital or scanned PDFs, images, Office and HTML files. Document Intelligence supportsJPEG/JPG,PNG,BMP,TIFF,HEIF,DOCX,XLSX,PPTXandHTML.
Document Intelligence can incorporate content page-wise and turn it into LangChain documents. The default output format is markdown, which can be easily chained with MarkdownHeaderTextSplitter for semantic document chunking. You can also use mode="single" or mode="page" to return pure texts in a single page or document split by page.
Prerequisite
An Azure AI Document Intelligence resource in one of the 3 preview regions: East US, West US2, West Europe - follow this document to create one if you don’t have. You will be passing<endpoint> and <key> as parameters to the loader.
pip install -qU langchain langchain-community azure-ai-documentintelligence
通过 MCP 将这些文档连接到 Claude、VSCode 等工具以获取实时答案。

