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
roleandcontent - Roles: “system”, “user”, “assistant”, etc.
- Each message includes
perplexity_reason
Perform complex reasoning tasks using the Perplexity Sonar Reasoning Pro model.
Input Parameters:
messages(required): Array of conversation messages- Each message includes
roleandcontent - Roles: “system”, “user”, “assistant”, etc.
- Each message includes
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_asktool 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_reasontool to perform in-depth reasoning analysis.
API Key Setup Method
- Sign up for Perplexity AI .
- Generate an API key from the developer dashboard.
- Select Perplexity integration in QueryPie AI.
- 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