Perplexity
API actions for the Perplexity integration.
Perplexity
Connect Perplexity models for conversational and search-backed responses.
Generate a response with Perplexity
Sends a prompt to Perplexity's chat API and returns the generated response text.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | The prompt to send to Perplexity |
model | string | No | Optional Perplexity model id (defaults to the recommended Sonar model) |
Response
{
"model": "mock_value",
"response_text": "mock_value",
"status": "mock_value"
}