# get_default_host

> **Function** in `langchain_community`

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

Get the default Databricks workspace hostname.
Raises an error if the hostname cannot be automatically determined.

## Signature

```python
get_default_host() -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/llms/databricks.py#L178)