Skip to Content

Perplexity

Perform real-time web research and reasoning tasks through the Perplexity AI API.

Key Features

  • AI conversations with real-time web search
  • Advanced reasoning task execution
  • Response generation based on latest information
  • Automatic citation source provision

Basic Information

Authentication Method

Authenticate using API Key.

Input Parameters

  • API Key (required): API key issued from Perplexity AI

Supported MCP Tools

AI Conversation Tools

perplexity_ask

Perform general conversations and question answering using the Perplexity Sonar Pro model.

Input Parameters:

  • messages (required): Array of conversation messages
    • Each message includes role and content
    • Roles: “system”, “user”, “assistant”, etc.

perplexity_reason

Perform complex reasoning tasks using the Perplexity Sonar Reasoning Pro model.

Input Parameters:

  • messages (required): Array of conversation messages
    • Each message includes role and content
    • Roles: “system”, “user”, “assistant”, etc.

Usage Example

For example,

  • When you input the prompt “Tell me about the latest AI technology trends in 2024”,
  • The LLM will call the perplexity_ask tool through MCP to perform real-time web search.
  • Then, it responds in the chat with the latest information and citation sources.

For complex analysis:

  • When you input “Provide an economic outlook analysis considering multiple factors”,
  • The LLM will call the perplexity_reason tool to perform in-depth reasoning analysis.

API Key Setup Method

  1. Sign up for Perplexity AI .
  2. Generate an API key from the developer dashboard.
  3. Select Perplexity integration in QueryPie AI.
  4. Complete the connection by entering the issued API key.

Precautions

  • Keep your generated API Key secure.
  • Check API usage limits and use appropriately.
  • Response time may be longer due to real-time web search functionality.
  • Always verify the reliability of provided citation sources.
Last updated on