tooluniverse.tools.HypothesisGenerator module

HypothesisGenerator

Generates research hypotheses based on provided background context, domain, and desired format. U…

tooluniverse.tools.HypothesisGenerator.HypothesisGenerator(context, domain, number_of_hypotheses, hypothesis_format='concise declarative sentences', *, stream_callback=None, use_cache=False, validate=True)[source]

Generates research hypotheses based on provided background context, domain, and desired format. U…

Parameters:
  • context (str) – Background information, observations, or data description from which to deriv…

  • domain (str) – Field of study or research area (e.g., ‘neuroscience’, ‘ecology’, ‘materials …

  • number_of_hypotheses (str) – Number of hypotheses to generate (e.g., ‘3’, ‘5’).

  • hypothesis_format (str) – Optional directive on how to structure each hypothesis. Choose from one of th…

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

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any