BasicEvaluator#
classDiagram
EvaluatorBase <|-- BasicEvaluator
- class council.evaluators.BasicEvaluator[source]#
Bases:
EvaluatorBase
A BasicEvaluator that carries along the last Skill source of each Chain ExecutionUnit.
- execute(context: AgentContext) List[ScoredChatMessage] #
Executes the evaluator on the agent’s context within the given budget.
- Parameters:
context (AgentContext) – The context for executing the evaluator.
- Returns:
A list of scored agent messages resulting from the evaluation.
- Return type:
List[ScoredChatMessage]
- Raises:
None –
- render_as_dict(include_children: bool = True) Dict[str, Any] #
returns the graph of operation as a dictionary
- render_as_json() str #
returns the graph of operation as a JSON string