# TrajectoryEval

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/evaluation/agents/trajectory_eval_chain/TrajectoryEval)

A named tuple containing the score and reasoning for a trajectory.

## Signature

```python
TrajectoryEval()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    score: float,
    reasoning: str,
)
```

| Name | Type |
|------|------|
| `score` | `float` |
| `reasoning` | `str` |


## Properties

- `score`
- `reasoning`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/fb6ab993a73180538f6cca876b3c85d46c08845f/libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py#L40)