ConsensusResult
Result of running consensus across multiple model responses.
Usage
ConsensusResult(
winner,
winner_model,
agreement_score,
strategy,
responses=list(),
disagreements=list(),
consensus_reached=True
)Parameters
winner: str-
The winning/selected response text.
winner_model: str-
The model that produced the winning response.
agreement_score: float-
Overall agreement score from 0.0 (complete disagreement) to 1.0 (unanimous).
strategy: ConsensusStrategy-
The consensus strategy that was used.
responses: list[ModelResponse] = list()-
All individual model responses that were compared.
disagreements: list[Disagreement] = list()-
Detected disagreements between responses.
consensus_reached: bool = True- Whether consensus was successfully reached (relevant for UNANIMOUS strategy).