# determine_model

> **Function** in `langchain_nvidia_ai_endpoints`

📖 [View in docs](https://reference.langchain.com/python/langchain-nvidia-ai-endpoints/_statics/determine_model)

Determine the model to use based on a name, using only the table of known models.

Raise a warning if the model is found to be an alias of a known model.

If the model is not found, return `None`.

## Signature

```python
determine_model(
    name: str,
) -> Optional[Model]
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-nvidia/blob/5bfb68d5b10aa0330a6b79a36375b9bc0c6acef7/libs/ai-endpoints/langchain_nvidia_ai_endpoints/_statics.py#L1111)