跳至正文内容
返回引擎矩阵
已上线 LivePerplexity AI · engine="perplexity"

Perplexity API

无状态采集 Perplexity 真实网页端回答,完整提取编号引用、全部检索来源列表、搜索改写词及原始 HTML 快照。

核心采集能力

  • 精确保留正文字符偏移与行内角标引用映射
  • 提取多轮检索步骤产生的搜索改写词与完整候选页列表
  • 高权重信源归因与域名权威度分析的理想基线引擎

请求参数说明

ParamDefault说明
engine*"perplexity"目标引擎标识("perplexity")。
prompt*—提交给 Perplexity 网页端的评测提问。
country"us"出口国家代码(us / jp / kr / gb / de)。
web_searchtrue是否启用联网检索(默认开启)。

标准结构化响应示例(JSON)

                  
                    {
  "request_id": "req_01JXYZ9E4F6G8H0J2K",
  "status": "success",
  "collected_at": "2026-11-25T07:15:44Z",
  "timing": {
    "request_ms": 4590,
    "parse_ms": 15,
    "total_ms": 4605
  },
  "billing": {
    "credits_charged": 6,
    "credits_remaining": 4994,
    "mode": "sync"
  },
  "execution_policy": {
    "cache_used": false,
    "memory_enabled": false,
    "session_reused": false,
    "auth_mode": "anonymous",
    "web_search_requested": true,
    "is_web_search_performed": true
  },
  "client_context": {
    "engine": "perplexity",
    "model_detected": "sonar-web-ui",
    "surface": "web",
    "device_type": "desktop_web",
    "app_version": null,
    "country": "us",
    "language": "en"
  },
  "input": {
    "prompt": "What are the best serverless Postgres databases for production AI applications in 2026?"
  },
  "result": {
    "answer_markdown": "Production AI teams evaluating serverless Postgres typically shortlist **Neon** (best for per-agent branching and scale-to-zero) [1], **Supabase** (best batteries-included pgvector + auth platform) [2], and **Prisma Postgres / Aurora Serverless v2** depending on cloud lock-in constraints [3].",
    "text_blocks": [
      {
        "type": "paragraph",
        "text": "Neon leads in developer velocity with copy-on-write database branches and automatic compute scaling under bursty AI inference traffic.",
        "reference_indexes": [
          0
        ]
      },
      {
        "type": "paragraph",
        "text": "Supabase combines pgvectorscale compatibility with edge APIs, reducing glue code for RAG applications.",
        "reference_indexes": [
          1
        ]
      },
      {
        "type": "paragraph",
        "text": "Aurora Serverless v2 fits teams requiring existing AWS PrivateLink, IAM, and multi-region failover guarantees.",
        "reference_indexes": [
          2
        ]
      }
    ],
    "is_truncated": false,
    "search_queries": [
      "serverless postgres AI applications 2026 comparison",
      "pgvectorscale Neon Supabase latency benchmark"
    ],
    "web_results": [
      {
        "position": 1,
        "ref_id": "pplx_0",
        "title": "Neon for AI Agents — Instant Branching & Scale to Zero",
        "url": "https://neon.tech/use-cases/ai-agents",
        "domain": "neon.tech",
        "snippet": "Provision isolated Postgres databases in under a second for AI agent sandboxes."
      },
      {
        "position": 2,
        "ref_id": "pplx_1",
        "title": "Supabase pgvector Production Guide",
        "url": "https://supabase.com/docs/guides/ai/vector-indexes/hnsw-indexes",
        "domain": "supabase.com",
        "snippet": "Tune HNSW index parameters for sub-10ms vector queries in managed Postgres."
      },
      {
        "position": 3,
        "ref_id": "pplx_2",
        "title": "AWS Aurora Serverless v2 Architecture",
        "url": "https://aws.amazon.com/rds/aurora/serverless/",
        "domain": "aws.amazon.com",
        "snippet": "Automatic scaling with multi-AZ high availability and PostgreSQL compatibility."
      }
    ],
    "reference_links": [
      {
        "index": 0,
        "ref_id": "pplx_0",
        "title": "Neon for AI Agents — Instant Branching & Scale to Zero",
        "url": "https://neon.tech/use-cases/ai-agents",
        "domain": "neon.tech",
        "source_name": "Neon",
        "snippet": "Sub-second database provisioning for AI agents."
      },
      {
        "index": 1,
        "ref_id": "pplx_1",
        "title": "Supabase pgvector Production Guide",
        "url": "https://supabase.com/docs/guides/ai/vector-indexes/hnsw-indexes",
        "domain": "supabase.com",
        "source_name": "Supabase",
        "snippet": "Production HNSW tuning on managed Postgres."
      },
      {
        "index": 2,
        "ref_id": "pplx_2",
        "title": "AWS Aurora Serverless v2 Architecture",
        "url": "https://aws.amazon.com/rds/aurora/serverless/",
        "domain": "aws.amazon.com",
        "source_name": "AWS",
        "snippet": "Enterprise VPC-native serverless PostgreSQL."
      }
    ],
    "citations": [
      {
        "char_offset": 130,
        "source_indexes": [
          0
        ]
      },
      {
        "char_offset": 196,
        "source_indexes": [
          1
        ]
      },
      {
        "char_offset": 284,
        "source_indexes": [
          2
        ]
      }
    ]
  },
  "evidence": {
    "raw_html_url": "https://evidence.geoeval.com/v1/req_01JXYZ9E4F6G8H0J2K/raw.html?sig=3c5e7a91",
    "screenshot_url": null,
    "expires_at": "2026-12-02T07:15:44Z"
  }
}