Best Practices Advanced
Maximize your Perplexity experience with effective prompting strategies, API integration for developers, cross-tool research workflows, and a systematic research methodology.
Effective Prompting
The quality of your questions directly affects the quality of Perplexity's answers. Follow these prompting strategies:
| Strategy | Bad Example | Good Example |
|---|---|---|
| Be specific | "Tell me about AI" | "What are the key differences between transformer and RNN architectures for NLP tasks?" |
| Add context | "Best database?" | "What is the best database for a real-time chat app with 10K concurrent users?" |
| Specify format | "Compare React and Vue" | "Compare React and Vue in a table covering performance, learning curve, ecosystem, and job market" |
| Set time bounds | "Latest AI news" | "What are the most significant AI developments in the past 30 days?" |
| Request depth | "How does OAuth work?" | "Explain the OAuth 2.0 authorization code flow step by step, including the role of each token" |
Perplexity API
Developers can integrate Perplexity's search capabilities into their own applications using the Perplexity API:
import requests url = "https://api.perplexity.ai/chat/completions" headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" } payload = { "model": "sonar", "messages": [ { "role": "user", "content": "What are the latest trends in web development?" } ] } response = requests.post(url, json=payload, headers=headers) print(response.json())
Research Methodology
Use this systematic approach for thorough research with Perplexity:
-
Start broad, then narrow
Begin with a general question to understand the landscape, then use follow-ups to dive into specific aspects.
-
Use multiple focus modes
Search the same topic with different focus modes (All, Academic, Reddit) to get diverse perspectives.
-
Verify key claims
Click citations for important findings. Cross-reference with at least two sources for critical decisions.
-
Organize in Spaces
Create a Space for the research project and keep all related threads organized together.
-
Synthesize findings
Ask Perplexity to summarize the key findings from your research thread into a structured report.
Common Mistakes to Avoid
- Blind trust: Always verify citations for important claims. AI can occasionally misinterpret sources.
- Vague queries: "Tell me about X" yields generic answers. Be specific about what you want to know.
- Ignoring follow-ups: The first answer is rarely the final answer. Use follow-ups to refine and deepen.
- Not using Spaces: Without Spaces, your research is scattered across disconnected threads.
- Quick Search for complex topics: Use Pro Search when the question requires depth and nuance.
Course Complete!
Congratulations on completing the Perplexity AI course! You now know how to search effectively, use Pro Search for deep research, organize knowledge with Spaces, and integrate the API. Start using Perplexity as your primary research tool and see the difference it makes.
← Back to Course Overview
Lilly Tech Systems