types.DocumentLike

Structural type for any unchunked document raghilda can consume.

Usage

Source

types.DocumentLike()

A DocumentLike exposes a document’s content (and optionally origin and attributes). raghilda normalizes such objects with Document.from_any(). Use ChunkedDocumentLike instead for objects that already carry chunks.