perplexity-ai-connector
Service icon

Perplexity AI Connector

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 21 Jul (3 weeks ago)
 by 
5.0
 (4 ratings)
perplexity-ai-connector

Perplexity AI Connector

Documentation
1.0.0

📘 Documentation – Perplexity AI Connector

📦 Installation Steps

  1. Download & Install

    • Install the Perplexity AI Connector from the OutSystems Forge.

    • Install the Perplexity AI Demo for testing it out.

  2. API Key Setup for Demo App

    • Go to Service Center > Factory > Modules > PerplexityAIDemo > Site Properties.

    • Locate APIKey.

    • Replace the default value with your valid Perplexity AI API Key.


⚙️ Configuration


  • Open your Reactive Web or Mobile App.

  • Add a reference to the PerplexityAIConnector module.

  • Take Server Action: PerplexityChatCompletion as dependency.


Input Parameters:


Mandatory:

  • model: typically "sonar", "sonar-reasoning", "sonar-deep-research". You can use static entity named models also

  • messages: List of {role, content} objects (e.g., system, user, assistant)

Non Mandatory:

  • search_mode: "web" or "academic"

  • reasoning_effort: "low", "medium", or "high"

  • search_domain_filter: List of domains (e.g., ["nasa.gov"])

  • search_recency_filter: e.g., "week", "day"

  • return_images, return_related_questions: Boolean

  • temperature, top_p, presence_penalty, frequency_penalty: (optional tuning parameters)