o2o-infinith-demo/supabase/functions/_shared
Haewon Kam e64d168d34 feat: Perplexity sonar-pro research agent with structured online presence analysis
Replaced simple "find handles" prompt with comprehensive research agent:
- Model: sonar → sonar-pro (advanced multi-step web search)
- System prompt: full research methodology with 2-3 keyword searches,
  URL fetching, quantitative data extraction
- Output: structured JSON with channels (handles + follower counts +
  subscriber counts) + platforms (강남언니 rating, reviews)
- Research results saved to scrape_data.onlinePresenceResearch for
  downstream use in collect-channel-data and generate-report

Added _shared/researchPrompt.ts with prompt template + builder.
Updated agent documentation in doc/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 01:31:00 +09:00
..
extractSocialLinks.ts fix: type-safe string handling in extractSocialLinks/mergeSocialLinks 2026-04-04 01:17:49 +09:00
normalizeHandles.ts fix: Instagram data collection pipeline — handle normalization + DB persistence 2026-04-03 14:45:00 +09:00
researchPrompt.ts feat: Perplexity sonar-pro research agent with structured online presence analysis 2026-04-04 01:31:00 +09:00
verifyHandles.ts fix: YouTube channel ID (UC...) handling + handle-to-channelId resolution 2026-04-04 01:00:21 +09:00