# initialize_client

> **Function** in `langchain_perplexity`

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

Initialize the Perplexity client.

## Signature

```python
initialize_client(
    values: dict[str, Any],
) -> dict[str, Any]
```

---

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