ontocast.agent.summarize_chunks¶
LLM summarization of content units before extraction.
should_summarize_unit(unit, summarize_sections)
¶
Whether a unit should be passed through the summarization node.
Source code in ontocast/agent/summarize_chunks.py
summarize_chunk(unit, tools, *, max_sentences)
async
¶
Compress a content unit for downstream extraction.