perplexity-hello-world
Installation
SKILL.md
Perplexity Hello World
Overview
Minimal working example demonstrating Perplexity's core value: web-grounded answers with citations. Unlike standard LLMs, Perplexity searches the web for every query and returns cited sources.
Prerequisites
- Completed
perplexity-install-authsetup openaipackage installedPERPLEXITY_API_KEYenvironment variable set
Instructions
Step 1: Basic Search with Citations (TypeScript)
import OpenAI from "openai";