LlamaIndex
Docling 作为官方的 LlamaIndex 扩展可用。
要开始使用,请查看 LlamaIndex 中的分步指南。
组件
Docling 阅读器
读取文档文件并使用 Docling 填充 LlamaIndex Document
对象 — 可以序列化 Docling 的数据模型(无损地,例如 JSON 格式)或导出为简化格式(有损地,例如 Markdown 格式)。
Docling 节点解析器
读取由 Docling Reader 以 Docling 格式填充的 LlamaIndex Document
对象,并利用其对 Docling 格式的了解,将它们解析为 LlamaIndex Node
对象,供 LlamaIndex 应用程序下游使用,例如作为嵌入的块。