# UserLocation

> **Class** in `langchain_perplexity`

📖 [View in docs](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation)

## Signature

```python
UserLocation()
```

## Extends

- `BaseModel`

## Properties

- `latitude`
- `longitude`
- `country`
- `region`
- `city`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/partners/perplexity/langchain_perplexity/types.py#L8)