From 900c10972ba7fc9ed0c96f1eddac234402ef959b Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Wed, 8 Apr 2026 13:29:59 +0300 Subject: [PATCH] Update docs --- docs/agents/rlm.md | 2 +- docs/cli.md | 3 ++- docs/python.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/agents/rlm.md b/docs/agents/rlm.md index 87418538..ea39c453 100644 --- a/docs/agents/rlm.md +++ b/docs/agents/rlm.md @@ -62,7 +62,7 @@ The agent's code runs in a sandboxed Python interpreter ([pydantic-monty](https: | `list_documents(limit, offset)` | List documents in the knowledge base | | `get_document(id_or_title)` | Get full text content of a document | | `get_chunk(chunk_id)` | Get a chunk with metadata (headings, page numbers, labels) for citations | -| `get_docling_document(document_id)` | Get the full DoclingDocument structure as a dict (texts, tables, pictures, pages) | +| `get_docling_document(document_id)` | Get the DoclingDocument structure as a dict (texts, tables, pictures) | | `llm(prompt)` | Call an LLM for classification, summarization, or extraction | When documents are pre-loaded via the `documents` parameter, they are injected as a `documents` variable accessible in the sandbox code. diff --git a/docs/cli.md b/docs/cli.md index e0d53988..56d1435c 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -375,10 +375,11 @@ Error: Database requires migration from 0.19.0 to 0.26.5. 3 migration(s) pending Run `haiku-rag migrate` to apply the pending migrations. The command shows which migrations were applied: ``` -Applied 3 migration(s): +Applied 4 migration(s): - 0.20.0: Add 'docling_document_json' and 'docling_version' columns - 0.23.1: Add content_fts column for contextualized FTS search - 0.25.0: Compress docling_document with gzip + - 0.38.0: Split docling_document pages into separate column and re-compress with zstd Migration completed successfully. ``` diff --git a/docs/python.md b/docs/python.md index f507c636..43d98740 100644 --- a/docs/python.md +++ b/docs/python.md @@ -64,7 +64,7 @@ The `format` parameter controls how text content is parsed: - `"plain"` - Plain text, no parsing (creates a simple text document) !!! note - The document's `content` field stores the markdown export of the parsed document for consistent display. The original input is preserved in the `docling_document_json` field. + The document's `content` field stores the markdown export of the parsed document for consistent display. The original DoclingDocument structure is preserved in the `docling_document` field (zstd-compressed, without page images). Page images are stored separately in `docling_pages`. From file: ```python