fabricatio_improve.models.improve
A module containing kwargs types for content correction and checking operations.
Classes
A class representing an improvement suggestion. |
Module Contents
- class fabricatio_improve.models.improve.Improvement(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAbleA class representing an improvement suggestion.
- problem_solutions: List[fabricatio_improve.models.problem.ProblemSolutions]
Collection of problems identified during review along with their potential solutions.
- async supervisor_check(check_solutions: bool = True) Self
Perform an interactive review session to filter problems and solutions.
Presents an interactive prompt allowing a supervisor to select which problems (and optionally solutions) should be retained in the final review.
- Parameters:
check_solutions (bool, optional) – When True, also prompts for filtering individual solutions for each retained problem. Defaults to False.
- Returns:
The current instance with filtered problems and solutions.
- Return type:
Self
- classmethod gather(*improvements: Unpack[Tuple[Improvement, Ellipsis]]) Self
Gather multiple improvements into a single instance.