perplexity

TotalClaw 作者 totalclaw

通过 Perplexity API 在网络上搜索人工智能驱动的答案。返回带有引用的接地响应。支持批量查询。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~zats-perplexity
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~zats-perplexity/file -o zats-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 `PERPLEXITY_API_KEY` environment variable
- Responses include citations when available
- Batch queries are processed in a single API call