langchain/evaluation/agents/trajectory_eval_chain.py/TrajectoryEvalChain/_call
class TrajectoryEvalChain:    def _call(
        self,
        inputs: Dict[str, str],
        run_manager: Optional[CallbackManagerForChainRun] = None,
    ) -> Dict[str, Any]:
        raw_output = self.eval_chain.run(
            {"tool_descriptions": self._tools_description, **inputs}
        )
        parsed_output = self.output_parser.parse(raw_output)

        if self.return_reasoning:
            return {"score": parsed_output.score, "reasoning": parsed_output.reasoning}

        return {"score": parsed_output.score}