# model_must_be_deployed

> **Function** in `langchain_elasticsearch`

📖 [View in docs](https://reference.langchain.com/python/langchain-elasticsearch/_utilities/model_must_be_deployed)

## Signature

```python
model_must_be_deployed(
    client: Elasticsearch,
    model_id: str,
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-elastic/blob/e78a327f38e09abd10128ed28c8774e9a8f9fec0/libs/elasticsearch/langchain_elasticsearch/_utilities.py#L49)