Files
ragflow/conf/models/perplexity.json
jay77721 47ecc2a231 feat: populate content_length and max_output from official docs (#17836)
## Summary

- Verify and populate `content_length` (context window) and `max_output`
(max generation tokens) for all **478 chat/vision models** across **47
provider configs**
- Data sourced from **official API documentation** via 12 parallel
agents + targeted web verification
- Update Go test assertions to match verified values

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-05 15:22:57 +08:00

65 lines
1.1 KiB
JSON

{
"name": "Perplexity",
"url": {
"default": "https://api.perplexity.ai"
},
"url_suffix": {
"chat": "v1/sonar",
"embedding": "v1/embeddings",
"models": "v1/models"
},
"class": "perplexity",
"models": [
{
"name": "sonar",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
]
},
{
"name": "sonar-pro",
"content_length": 200000,
"max_output": 8192,
"model_types": [
"chat"
]
},
{
"name": "sonar-reasoning-pro",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
}
},
{
"name": "sonar-deep-research",
"content_length": 131072,
"max_output": 131072,
"model_types": [
"chat"
]
},
{
"name": "pplx-embed-v1-0.6b",
"max_tokens": 32000,
"model_types": [
"embedding"
]
},
{
"name": "pplx-embed-v1-4b",
"max_tokens": 32000,
"model_types": [
"embedding"
]
}
]
}