perplexity
通过 Perplexity API 在网络上搜索人工智能驱动的答案。返回带有引用的接地响应。支持批量查询。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~mrnicholasbcarter-code-openrouter-perplexitycURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~mrnicholasbcarter-code-openrouter-perplexity/file -o mrnicholasbcarter-code-openrouter-perplexity.md## 概述(中文)
通过 Perplexity API 在网络上搜索人工智能驱动的答案。返回带有引用的接地响应。支持批量查询。
## 原文
# Perplexity Search
AI-powered web search that returns grounded answers with citations.
## Search
Single query:
```bash
node {baseDir}/scripts/search.mjs "what's happening in AI today"
```
Multiple queries (batch):
```bash
node {baseDir}/scripts/search.mjs "What is Perplexity?" "Latest AI news" "Best coffee in NYC"
```
## Options
- `--json`: Output raw JSON response
## Notes
- Requires `OPENROUTER_API_KEY` environment variable
- Responses include citations when available
- Batch queries are processed in a single API call