perplexity
Usage Instructions
Generate completions using Perplexity AI models with real-time knowledge and search capabilities. Create responses, answer questions, and generate content with customizable parameters.
Where to Get Your Perplexity API Key
To get an API key for Perplexity, you need to manage it through your account settings in the web interface.
Here is the step-by-step process:
Tools
perplexity_chat
Generate completions using Perplexity AI chat models
Input
systemPrompt
string
No
System prompt to guide the model behavior
content
string
Yes
The user message content to send to the model
model
string
Yes
Model to use for chat completions (e.g., sonar, mistral)
max_tokens
number
No
Maximum number of tokens to generate
temperature
number
No
Sampling temperature between 0 and 1
apiKey
string
Yes
Perplexity API key
Output
content
string
Generated response
model
string
Model used
usage
json
Token usage
Notes
Category:
toolsType:
perplexity
Was this helpful?
