Perplexityai Tools
Perplexityai Create Chat Completion
通过 Aident Loadout 使用 Perplexityai Tools 的 Perplexityai Create Chat Completion。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5API 密钥连接
服务提供商说明
Perplexity Sonar Chat Completions (POST /v1/sonar). Generates web-grounded conversational AI responses with citations. Supports multiple Sonar models optimized for different use cases: - sonar: Fast, cost-effective for simple queries - sonar-pro: Enhanced quality for complex que…
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- Stop sequence(s) to end generation. Note: the API may not support custom stop words for all models.stop
- The Sonar model to use. 'sonar' for fast/cheap queries, 'sonar-pro' for complex queries, 'sonar-reasoning-pro' for chain-of-thought reasoning, 'sonar-deep-research' for exhaustive research (generates very long 10K+ word responses; prefer the async endpoint for this model).modelstring
- Nucleus sampling threshold controlling cumulative probability of tokens.top_pnumber
- Whether to stream the response using server-sent events.streamboolean
- A list of messages comprising the conversation. Each message has a role (system, user, assistant, tool) and content. Messages with 'tool' role must alternate with 'assistant' messages. Valid pattern: system -> user -> assistant -> tool -> user.messagesarray必填
- Maximum number of tokens to generate. Max 128000.max_tokensinteger
- Search mode. Options: 'web', 'academic', 'sec'.search_modestring
- Stream mode: 'full' (default) or 'concise'.stream_modestring
- Controls randomness. 0 is deterministic, up to 2 is more random.temperaturenumber
- Whether to include images in the response.return_imagesboolean
- Whether to disable web search entirely.disable_searchboolean
- Response format configuration.response_formatobject
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。