今すぐ始める
Perplexityai Tools

Perplexityai Create Chat Completion

Aident Loadout を通じて Perplexityai Tools の Perplexityai Create Chat Completion を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 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…

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • stop
    Stop sequence(s) to end generation. Note: the API may not support custom stop words for all models.
  • modelstring
    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).
  • top_pnumber
    Nucleus sampling threshold controlling cumulative probability of tokens.
  • streamboolean
    Whether to stream the response using server-sent events.
  • messagesarray
    必須
    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.
  • max_tokensinteger
    Maximum number of tokens to generate. Max 128000.
  • search_modestring
    Search mode. Options: 'web', 'academic', 'sec'.
  • stream_modestring
    Stream mode: 'full' (default) or 'concise'.
  • temperaturenumber
    Controls randomness. 0 is deterministic, up to 2 is more random.
  • return_imagesboolean
    Whether to include images in the response.
  • disable_searchboolean
    Whether to disable web search entirely.
  • response_formatobject
    Response format configuration.

確認できる出力

  • data
    必須
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必須
    Whether or not the action execution was successful or not

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース