tooluniverse.tools.DescriptionAnalyzer module

DescriptionAnalyzer

Analyzes a tool’s original description and the results of multiple test cases, then suggests an i…

tooluniverse.tools.DescriptionAnalyzer.DescriptionAnalyzer(original_description, test_results, *, stream_callback=None, use_cache=False, validate=True)[source]

Analyzes a tool’s original description and the results of multiple test cases, then suggests an i…

Parameters:
  • original_description (str) – The original description of the tool.

  • test_results (str) – A JSON string containing a list of test case input/output pairs.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any