Lodol Docs

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

ParameterTypeRequiredDescription
promptstringYesThe prompt to send to Perplexity
modelstringNoOptional Perplexity model id (defaults to the recommended Sonar model)

Response

{
  "model": "mock_value",
  "response_text": "mock_value",
  "status": "mock_value"
}

On this page