Interface: HtmlRead
Defined in: packages/agentos/src/cognition/library/readers/html.ts:44
What readHtml answers.
Properties
cut
cut:
boolean
Defined in: packages/agentos/src/cognition/library/readers/html.ts:55
True when anything was left out to keep within the bounds: characters, or a table's rows or columns.
images
images:
number
Defined in: packages/agentos/src/cognition/library/readers/html.ts:53
The images left out of the body: the img elements outside the parts of the page that are not read, those in
rows or text a bound left out among them.
markdown
markdown:
string
Defined in: packages/agentos/src/cognition/library/readers/html.ts:48
The body as Markdown, its blocks apart by one empty line; '' for a page with no words.
title
title:
string|null
Defined in: packages/agentos/src/cognition/library/readers/html.ts:46
The text of <title>, else of the first h1, which is then not written in the body; else null.