tooluniverse.tools.ToolOutputSummarizer moduleΒΆ
ToolOutputSummarizer
AI-powered tool for summarizing long tool outputs, focusing on key information relevant to the orβ¦
- tooluniverse.tools.ToolOutputSummarizer.ToolOutputSummarizer(tool_output, query_context, tool_name, focus_areas='key_findings_and_results', max_length=32000, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ
AI-powered tool for summarizing long tool outputs, focusing on key information relevant to the orβ¦
- Parameters:
tool_output (
str
) β The original tool output to be summarizedquery_context (
str
) β Context about the original query that triggered the tooltool_name (
str
) β Name of the tool that generated the outputfocus_areas (
str
) β Specific areas to focus on in the summarymax_length (
int
) β Maximum length of the summary in charactersstream_callback (
Callable
, optional) β Callback for streaming output
- Return type:
Any