Integrations

Supercharge Perplexity with Relevance AI

The Perplexity API integration allows developers to utilize advanced AI-driven search and chat completion features within their applications. Relevance AI amplifies this integration by enabling the creation of AI Agents that can engage in meaningful conversations and provide instant information.

Give your AI Agents Perplexity Superpowers

Perplexity provides powerful AI models for real-time chat and information retrieval. With Relevance AI, you can harness these capabilities to create intelligent AI Agents that enhance user interactions and automate complex tasks.

Real-Time Knowledge Synthesis

Empowers agents to instantly combine and analyze information from multiple sources for comprehensive, up-to-date responses.

Contextual Intelligence

Enhances the agent's ability to understand and maintain context across complex, multi-turn conversations.

Adaptive Learning Integration

Strengthens the agent's ability to continuously update its knowledge base with real-time information and emerging trends.

Tools

Equip AI Agents with the Perplexity Tools they need

Relevance AI seamlessly integrates with Perplexity to enhance your workflows with advanced AI-driven search and chat capabilities.

Perplexity - Chat Completions
An AI-powered search and discovery tool that enables conversational interactions using various Perplexity models for generating responses and reasoning
Name
Perplexity API Call
Description
Make an authorized request to a Perplexity API
Parameters
["oauth_account_id", "method", "path", "body", "headers"]
Use Case
A data science team uses Perplexity API calls to automate their research workflow by programmatically querying the API for real-time analysis and insights, saving hours of manual research time while ensuring consistent and reliable results.
Quick Start

Connect Perplexity to Relevance AI in minutes

Security & Reliability

The Perplexity API integration allows developers to harness advanced AI-driven search and chat capabilities seamlessly within their applications. By utilizing a RESTful API interface, you can access powerful language models for real-time chat completions and information retrieval.

With secure OAuth-based authentication, the integration ensures that only authorized users can access the API, while flexible endpoints cater to various use cases, making it easy to implement AI-powered conversations.

To get started, ensure you have a Perplexity account with API access and the necessary OAuth credentials. Your environment should support HTTPS and JSON parsing, and it's crucial to securely store your credentials.

Making your first API call is straightforward. For instance, a basic chat completion request can be structured to ask about artificial intelligence, and the expected response will provide a detailed answer from the AI model.

Common issues such as authentication errors or rate limiting can be easily troubleshot by verifying your credentials or implementing request throttling. Following best practices like error handling and request optimization will enhance your integration experience.

For further details, refer to the API documentation, model specifications, and OAuth configuration guide to ensure a smooth integration process.

No training on your data

Your data remains private and is never utilized for model training purposes.

Security first

We never store anything we don’t need to. The inputs or outputs of your tools are never stored.

Get Started

Best Practices for Non-Technical Users

To get the most out of the Perplexity API + Relevance AI integration without writing code:
  • Start with a clear API configuration: Ensure your OAuth credentials and permissions are correctly set up for seamless access.
  • Utilize predefined models: Leverage the available AI models like sonar-pro and sonar-reasoning for specific tasks to optimize performance.
  • Test API calls with sample data: Use basic chat completion requests to validate your setup before implementing complex queries.
  • Implement error handling: Prepare for common issues like authentication errors and rate limiting to ensure smooth operation.
  • Secure your credentials: Store OAuth tokens and account IDs securely, and always use HTTPS for API calls to protect sensitive information.