mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
---
|
|
title: Perplexity
|
|
description: Example configuration for Perplexity
|
|
---
|
|
|
|
# [Perplexity](https://www.perplexity.ai)
|
|
|
|
> Perplexity API key: [perplexity.ai/settings/api](https://www.perplexity.ai/settings/api)
|
|
|
|
**Notes:**
|
|
|
|
- **Known:** icon provided.
|
|
- **Known issue:** fetching list of models is not supported.
|
|
- API may be strict for some models, and may not allow fields like `stop` and `frequency_penalty` may cause an error when set to 0, in which case, you should use [`dropParams`.](/docs/configuration/librechat_yaml/object_structure/custom_endpoint#dropparams)
|
|
- The example includes a model list, which was last updated on 3 July 2024, for your convenience.
|
|
|
|
```yaml
|
|
- name: "Perplexity"
|
|
apiKey: "${PERPLEXITY_API_KEY}"
|
|
baseURL: "https://api.perplexity.ai/"
|
|
models:
|
|
default: [
|
|
"sonar-deep-research",
|
|
"sonar-reasoning-pro",
|
|
"sonar-reasoning",
|
|
"sonar-pro",
|
|
"sonar",
|
|
"r1-1776"
|
|
]
|
|
fetch: false # fetching list of models is not supported
|
|
titleConvo: true
|
|
titleModel: "llama-3-sonar-small-32k-chat"
|
|
summarize: false
|
|
summaryModel: "llama-3-sonar-small-32k-chat"
|
|
forcePrompt: false
|
|
dropParams: ["stop", "frequency_penalty"]
|
|
modelDisplayLabel: "Perplexity"
|
|
```
|
|
|
|

|