Perplexity
Use Perplexity AI chat models
Configuration
System Prompt
System prompt to guide the model behavior...
User Prompt*
Enter your prompt here...
Model
Select...
Temperature
0
Max Tokens
Maximum number of tokens
API Key*
••••••••
Tools
perplexity_chat
Generate completions using Perplexity AI chat models
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
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
| Parameter | Type | Description |
|---|---|---|
success | boolean | Operation success status |
content | string | Generated text content |
model | string | Model used for generation |
prompt_tokens | number | Number of tokens in the prompt |
completion_tokens | number | Number of tokens in the completion |
Usage Instructions
Integrate Perplexity into the workflow. Can generate completions using Perplexity AI chat models.
Notes
- Category:
tools - Type:
perplexity