Perplexity
API actions for the Perplexity integration.
Perplexity
Connect Perplexity's AI models to answer questions with responses backed by web search.
Generate a response with Perplexity
Sends a prompt to Perplexity and returns the generated response text.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | The question or instructions to send to Perplexity. |
model | string | No | Choose which Perplexity Sonar model answers your prompt. All models search the web before answering. |
Response
{
"model": "sonar",
"response_text": "Here is a web-researched answer to your question."
}