perplexity-migration-deep-dive

Featured

Migrate to Perplexity Sonar from other search/LLM APIs using the strangler fig pattern. Use when switching from Google Custom Search, Bing API, or other LLMs to Perplexity, or migrating from legacy pplx-api models. Trigger with phrases like "migrate to perplexity", "switch to perplexity", "replace search API with perplexity", "perplexity replatform".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Perplexity Migration Deep Dive ## Current State !`npm list openai 2>/dev/null | grep openai || echo 'N/A'` !`grep -rn "google.*search\|bing.*api\|serpapi\|pplx-7b\|pplx-70b" --include="*.ts" --include="*.py" . 2>/dev/null | head -5 || echo 'No legacy search APIs found'` ## Overview Migrate from traditional search APIs (Google Custom Search, Bing, SerpAPI) or legacy LLMs to Perplexity Sonar. Key advantage: Perplexity combines search + LLM summarization in a single API call, replacing a multi-step pipeline. ## Migration Comparison | Feature | Google CSE / Bing | Perplexity Sonar | |---------|-------------------|------------------| | Returns | Raw search results (links + snippets) | Synthesized answer + citations | | Answer generation | Requires separate LLM call | Built-in | | Citation handling | Manual extraction | Automatic `citations` array | | Cost structure | Per-search ($5/1K queries) | Per-token + per-request | | Recency filter | Date range parameters | `search_recency_filter` | | Domain filter | Site restriction | `search_domain_filter` | ## Instructions ### Step 1: Assess Current Integration ```bash set -euo pipefail # Find existing search API usage grep -rn "googleapis.*customsearch\|bing.*search\|serpapi\|serper\|tavily" \ --include="*.ts" --include="*.py" --include="*.js" \ . 2>/dev/null || echo "No search APIs found" # Count integration points grep -rln "search.*api\|customsearch\|bing.*web" \ --include="*.ts" --include="*.py" --include="*.js" \ . ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category