Perplexity
Configure Perplexity as a custom endpoint in IntelliAsk.
Perplexity provides the Sonar family of search-grounded models, used in IntelliAsk as a custom endpoint.
Get an API key
Create a key from the Perplexity API settings. Add it to your .env file:
Configuration
Add the endpoint to the custom list under endpoints in your intelliask.yaml. If your file already has an endpoints.custom list, paste only the - name: entry into it, keeping the same indentation:
Notes
- Fetching the model list is not supported, so keep
fetch: falseand maintain thedefaultlist manually. - The API is strict for some models. Fields like
stopandfrequency_penaltycan cause an error when set to 0, so drop them withdropParams.
Last updated on