# ChainStringRunMapper

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/smith/evaluation/string_run_evaluator/ChainStringRunMapper)

Extract items to evaluate from the run object from a chain.

## Signature

```python
ChainStringRunMapper()
```

## Extends

- `StringRunMapper`

## Properties

- `input_key`
- `prediction_key`

## Methods

- [`map()`](https://reference.langchain.com/python/langchain-classic/smith/evaluation/string_run_evaluator/ChainStringRunMapper/map)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f4bc5031dbcf24edb0374a07830915a285222567/libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py#L156)