# model_parse

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/_compat/model_parse)

## Signature

```python
model_parse(
    model: type[_ModelT],
    data: Any,
) -> _ModelT
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/33995e14a84c53b65b82482b3d2fe0624b379bda/python/langsmith/_openapi_client/_compat.py#L169)