Perplexity
Instructions for using language models hosted on Perplexity with Spice.
Last updated
Was this helpful?
Instructions for using language models hosted on Perplexity with Spice.
Last updated
Was this helpful?
To use a language model hosted on Perplexity, specify perplexity
in the from
field.
To use a specific model, include its model ID in the from
field (see example below). If not specified, the default model is sonar
.
The following parameters are specific to Perplexity models:
perplexity_auth_token
The Perplexity API authentication token.
-
perplexity_*
-
Note: Like other models in Spice, Perplexity can set default overrides for OpenAI parameters. See .
Additional, perplexity specific parameters to use on all requests. See