perplexity

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Perplexity Skill

Perplexity Skill

AI-powered search engine with real-time answers.
基于AI的搜索引擎,提供实时答案。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/perplexity/install.sh | bash
Or manually:
bash
cp -r skills/perplexity ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/perplexity/install.sh | bash
或手动安装:
bash
cp -r skills/perplexity ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保canifi-env已安装:

canifi-env set PERPLEXITY_API_KEY "your_api_key"
undefined
canifi-env set PERPLEXITY_API_KEY "your_api_key"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,且绝不会获取你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭证仅能在你的本地机器上访问,绝不会被传输。

Capabilities

功能特性

  1. Search Answers: Get sourced responses
  2. Pro Search: Deep research mode
  3. Collections: Organize research
  4. Focus Modes: Academic, writing, etc.
  5. Follow-ups: Refine queries
  1. 搜索答案:获取带来源的回复
  2. 专业搜索:深度研究模式
  3. 收藏集:整理研究内容
  4. 专注模式:学术、写作等场景
  5. 跟进查询:优化你的搜索请求

Usage Examples

使用示例

Quick Search

快速搜索

User: "Ask Perplexity about recent AI developments"
Assistant: Returns sourced answer
用户:“让Perplexity查询近期AI发展情况”
助手:返回带来源的答案

Pro Research

深度研究

User: "Do a deep dive on climate technology"
Assistant: Runs comprehensive research
用户:“深入研究气候技术”
助手:执行全面的研究分析

Academic Search

学术搜索

User: "Find academic sources on this topic"
Assistant: Returns scholarly citations
用户:“查找该主题的学术来源”
助手:返回学术引用内容

Follow Up

跟进查询

User: "Tell me more about that third source"
Assistant: Expands on specific result
用户:“详细介绍第三个来源的内容”
助手:扩展特定结果的信息

Authentication Flow

认证流程

  1. API key authentication
  2. Pro subscription for advanced
  3. OAuth for integrations
  4. Rate limits apply
  1. API密钥认证
  2. 专业版订阅解锁高级功能
  3. OAuth集成
  4. 存在调用速率限制

Error Handling

错误处理

ErrorCauseSolution
Auth FailedInvalid keyCheck API key
Rate LimitedToo many queriesWait
Pro RequiredFeature limitedUpgrade
Search FailedQuery issueRephrase
错误类型原因解决方案
认证失败密钥无效检查API密钥
速率受限查询次数过多等待一段时间后重试
需要专业版功能受限升级至专业版
搜索失败查询内容存在问题重新表述查询语句

Notes

注意事项

  • Real-time web search
  • Source citations
  • Pro Search depth
  • Focus modes
  • Collections
  • API available
  • 实时网页搜索
  • 来源引用
  • 专业搜索深度
  • 专注模式
  • 收藏集功能
  • 提供API接口