Skip to main content
Docling parses PDF, DOCX, PPTX, HTML, and other formats into a rich unified representation including document layout, tables etc., making them ready for generative AI workflows like RAG. 此集成 provides Docling’s capabilities via the DoclingLoader document loader.

安装和设置

Simply install langchain-docling from your package manager, e.g. pip:

文档加载器

The DoclingLoader class in langchain-docling seamlessly integrates Docling into LangChain, enabling you to:
  • use various document types in your LLM applications with ease and speed, and
  • leverage Docling’s rich representation for advanced, document-native grounding.
Basic usage looks as follows:
For end-to-end usage check out this example.

额外资源