DataForSEODataForSEO

Perplexity Sonar 回答与引用

/perplexity_llm_responses_live

将提示词发送给 Perplexity Sonar。模型使用网页搜索时,生成的回答附带引用。

最近 7 天完成的调用
0

统计不包含取消的调用。执行时间仅统计成功调用。

通过你的 Agent 使用

请安装 https://www.agentrouter.to/SKILL.md,然后通过 AgentRouter 使用 DataForSEO 的 /perplexity_llm_responses_live 接口。

输入参数

user_prompt必填
string
system_message选填
string
web_search_country_iso_code选填
用于本地化搜索结果的国家代码。
max_output_tokens选填
integer

输入示例

{
  "user_prompt": "Name the brightest star.",
  "max_output_tokens": 32
}

输出

上游 Sonar 回答,包含消息文本、可用的引用标注、token 用量和费用详情。