tooluniverse.tools.QuestionRephraser moduleΒΆ

QuestionRephraser

Generates three distinct paraphrases of a given question while ensuring answer options remain val…

tooluniverse.tools.QuestionRephraser.QuestionRephraser(question, options=None, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Generates three distinct paraphrases of a given question while ensuring answer options remain val…

Parameters:
  • question (str) – The original question text to be rephrased

  • options (str) – Answer options (e.g., multiple choice options) that should remain valid for t…

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

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any