# check_response

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/tongyi/check_response)

Check the response from the completion call.

## Signature

```python
check_response(
    resp: Any,
) -> Any
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/llms/tongyi.py#L56)