ChatPerplexity
features and configurations head to the API reference.
Class | Package | Local | Serializable | JS support | Package downloads | Package latest |
---|---|---|---|---|---|---|
ChatPerplexity | langchain-perplexity | ❌ | beta | ❌ |
Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
---|---|---|---|---|---|---|---|---|---|
❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ✅ | ❌ |
langchain-perplexity
integration package.
PPLX_API_KEY
environment variable:
ChatPerplexity
response.additional_kwargs["search_results"]
.
ChatPerplexity
also supports streaming functionality:ChatPerplexity
Supports Structured Outputs for Tier 3+ Users