Skip to main content

Classes

CLASS Document

Documents should typically be used in a Message object.
Methods:

FUNC parts

parts(self) -> list[Component | CBlock]
The set of all the constituent parts of the Component.

FUNC format_for_llm

format_for_llm(self) -> str
Formats the Document into a string. Returns: a string