tooluniverse.tools.OutputSummarizationComposer moduleΒΆ
OutputSummarizationComposer
Composes output summarization workflow by chunking long outputs, processing each chunk with AI suβ¦
- tooluniverse.tools.OutputSummarizationComposer.OutputSummarizationComposer(tool_output, query_context, tool_name, chunk_size=30000, focus_areas='key_findings_and_results', max_summary_length=10000, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ
Composes output summarization workflow by chunking long outputs, processing each chunk with AI suβ¦
- Parameters:
tool_output (
str
) β The original tool output to be summarizedquery_context (
str
) β Context about the original querytool_name (
str
) β Name of the tool that generated the outputchunk_size (
int
) β Size of each chunk for processingfocus_areas (
str
) β Areas to focus on in summarizationmax_summary_length (
int
) β Maximum length of final summarystream_callback (
Callable
, optional) β Callback for streaming output
- Return type:
Any