跳到内容

Bestony AI Provider for PPIO

v1.0.1

Bestony · 2026年11月17日 上架

PPIO provider for the WordPress PHP AI Client: text, vision, tools, structured output, and reasoning.

正在使用
10 以下
评分
暂无
累计下载
133
最近更新
2026年11月17日
需要 WordPress 7.0+已测试到 7.1.5PHP 7.4+

贡献者

Bestony AI Provider for PPIO adds PPIO as an OpenAI-compatible provider.

  • Models are discovered from GET /openai/v1/models.
  • Text and chat history use POST /openai/v1/chat/completions.
  • Catalogued models support vision input, function calling, JSON Schema, and JSON Object output.
  • reasoning_content, token usage, tool calls, and image content use the PHP AI Client parser.
  • Unknown models stay visible as text-only models. Embedding, reranking, ASR, TTS, audio, and video
    models are visible without an unsupported chat capability.

Image generation, video or audio output, embeddings, and reranking are documented non-goals because
this provider implements only PPIO’s model-list and chat-completion endpoints.

Configuration

Optional values can be set as environment variables or PHP constants:

  • PPIO_DEFAULT_MODEL — preferred text and vision model. Default: deepseek/deepseek-v4-flash.
  • PPIO_BASE_URL — API base URL. Default: https://api.ppio.com/openai/v1.
  • PPIO_STRUCTURED_OUTPUT — json_schema (default), json_object, or none.
  • PPIO_MODEL_INPUT_MODALITIES — include image in a comma-separated list to declare vision for all
    chat models, for example text,image.
  • PPIO_REQUEST_TIMEOUT — request timeout in seconds. Default: 120.
  • PPIO_CONNECT_TIMEOUT — connection timeout in seconds. Default: 10.
  • PPIO_SEPARATE_REASONING — optional boolean override for separate_reasoning.
  • PPIO_ENABLE_THINKING — optional boolean override for enable_thinking.

The automatic reasoning flags are enabled only for the documented models
deepseek/deepseek-r1-turbo and deepseek/deepseek-v3.2-exp. The structured JSON Schema request is
wrapped as json_schema.name=ppio_response; none removes response_format entirely.

External services

This plugin connects to the PPIO API to provide PPIO models to the WordPress AI Client, so sites can
use PPIO for text and vision features.

Requests go to the configured PPIO base URL. Chat requests can contain prompts, history, tool
definitions, JSON schemas, and images supplied by the calling plugin. The AI Client sends the PPIO
API key as a Bearer credential. No request is sent until model discovery or generation is requested.

This service is provided by PPIO:

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums