langchain.evaluation.agents.trajectory_eval_chain
.TrajectoryEval¶
- class langchain.evaluation.agents.trajectory_eval_chain.TrajectoryEval[source]¶
A named tuple containing the score and reasoning for a trajectory.
- score: float¶
The score for the trajectory, normalized from 0 to 1.
- reasoning: str¶
The reasoning for the score.