mellea.stdlib.docs.richdocument
Representations of Docling Documents.
Classes
RichDocument
A RichDocument
is a block of content with an underlying DoclingDocument.
It has helper functions for working with the document and extracting parts of it.
Methods:
parts
RichDocument
has no parts.
format_for_llm
docling
to_markdown
get_tables
Table
s that are a part of this document.
save
load
from_document_file
TableQuery
Table-specific query.
Methods:
format_for_llm
TableTransform
Table-specific transform.
Methods:
format_for_llm
Table
A Table
represents a single table within a larger Docling Document.
Methods:
from_markdown
to_markdown
Table
as markdown.
transpose
Table
if successful.