> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.math_utils.eval_math_responses

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### eval\_math\_responses

```python theme={null}
eval_math_responses(responses, solution=None) -> 
```

Select a response for a math problem using voting, and check if the response is correct if the solution is provided.<br />

<b>Parameters:</b>

| Name            | Description                        |
| --------------- | ---------------------------------- |
| `responses`     | The list of responses.<br /><br /> |
| `solution=None` |                                    |

<br />
