AI Provider for Perplexity

外掛說明

This plugin provides the Perplexity implementation for the WordPress AI Client. It registers Perplexity as an available AI provider, allowing other plugins built on the WordPress AI Client to generate web-grounded text using Perplexity’s Sonar models (Sonar, Sonar Pro, Sonar Reasoning, Sonar Reasoning Pro, and Sonar Deep Research).

The plugin connects to Perplexity’s OpenAI-compatible Chat Completions API. Bring your own API key from the Perplexity API settings.

Supported capabilities:

  • Web-grounded text generation (chat) with the Sonar model family
  • Chat history / multi-turn conversations
  • JSON / structured output

External services

This plugin connects to the Perplexity API to provide web-grounded text generation with Perplexity’s Sonar models. It is required for the plugin’s core purpose: it registers Perplexity as a provider for the WordPress AI Client so that AI features can generate responses.

The plugin sends a request to Perplexity’s API (https://api.perplexity.ai) each time a consuming AI feature generates content through the Perplexity provider. Each request includes your Perplexity API key (for authentication) and the input you submit for generation — such as the prompt text and any chat messages. No request is sent unless an AI feature actively triggers a generation, and no data is sent until you have configured a Perplexity API key. The plugin does not send any data on its own.

This service is provided by Perplexity AI. Please review their terms and privacy policy:

  • Terms of Service: https://www.perplexity.ai/hub/legal/perplexity-api-terms-of-service
  • Privacy Policy: https://www.perplexity.ai/hub/legal/privacy-policy

常見問題集

Does this plugin work on its own?

No, this plugin requires the PHP AI Client (and a consuming AI feature plugin) to be installed and activated. It provides the Perplexity-specific implementation that the PHP AI Client uses.

Where do I get an API key?

Create an API key in the Perplexity API settings. The key is configured through the AI Client / Connectors interface, not in this plugin directly.

Which models are supported?

The Sonar chat models: Sonar, Sonar Pro, Sonar Reasoning, Sonar Reasoning Pro, and Sonar Deep Research. Perplexity does not expose a public model listing endpoint for these chat models, so the supported models are defined within the plugin.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AI Provider for Perplexity〉的開發相關工作。

參與者

將〈AI Provider for Perplexity〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release. Adds Perplexity (Sonar) text generation support to the WordPress AI Client.