Skip to content

Interface: LlamaIndexDocumentLike ​

Defined in: src/llama/pdfMarkdownReader.ts:16

Returned record shape. With llamaindex installed each item is a real Document (same prototype as import { Document } from "llamaindex"); without it, a plain object with the same field name. Either way the metadata field is metadata — never extra_info.

Properties ​

metadata ​

ts
metadata: Record<string, unknown>;

Defined in: src/llama/pdfMarkdownReader.ts:18


text ​

ts
text: string;

Defined in: src/llama/pdfMarkdownReader.ts:17

AGPL-3.0-or-later — inherited from PyMuPDF and pymupdf4llm.