Version: 1.8On this pagePydanticAiHtmlDistiller Interface for HTML distillers. A distiller reduces raw HTML to a compact representation that an LLM can read cheaply. The built-in distillers are PydanticAiCleanHtmlDistiller and PydanticAiSkeletonDistiller.Index Methodsdistillget_prompt_notesMethods distill distill(html): strConvert raw HTML to a compact representation suitable for an LLM.Parametershtml: strReturns strget_prompt_notes get_prompt_notes(): str | NoneReturn a short description of the produced representation, or None.Returns str | None
Interface for HTML distillers.
A distiller reduces raw HTML to a compact representation that an LLM can read cheaply. The built-in distillers are
PydanticAiCleanHtmlDistillerandPydanticAiSkeletonDistiller.