The Command Media AI Suite is a major expansion of our AI tools for WordPress. What started as AI Search Summaries has grown into a fuller set of website assistance features: smarter search summaries, an embedded AI chatbot, and AI-suggested replies for Contact Form 7 inquiries.
The goal is simple: help visitors find useful answers faster, and help site teams respond with more context and confidence. This release also adds better reporting, feedback tools, and controls behind the scenes, so teams can understand how the AI features are being used and keep improving them over time.
AI Suite v2.0 is available immediately to all AI licensees. If your site hasn’t been updated yet, contact us today for a free upgrade!
Changelog
2.0.0
Command Media AI has grown from AI Search Summaries into a broader set of AI tools for WordPress: Search Summaries, ChatKit-powered chatbots, and Contact Form 7 suggested replies. This release also adds richer logging, feedback collection, REST access, stronger prompt-injection defenses, better retrieval controls, and more cost/token management options.
Added
- Added **CM ChatKit Chatbot**, a Gutenberg block that embeds OpenAI ChatKit chatbots on WordPress pages.
Each block can use its own Agent Builder workflow ID, allowing one site to host multiple specialized chatbots. ChatKit sessions are created server-side through a WordPress REST endpoint, with workflow IDs allow-listed via `CMOPT_AI_CHATKIT_WORKFLOW_IDS` or the legacy `CMOPT_AI_CHATKIT_WORKFLOW_ID` option so arbitrary workflows cannot consume the site’s OpenAI key.
- Added **RAG-powered ChatKit client tools** so chatbots can answer from site content instead of relying on model training data.
The chatbot can call `site_summary` for concise AI Search Summary answers with citations, or `site_search` to retrieve full text from top matching WordPress documents when a user asks for specific details that summaries might omit. The older `search_site` tool name is still accepted as a compatibility alias.
- Added **configurable ChatKit retrieval limits** for the full-document `site_search` tool.
Site owners can tune the number of documents pulled with `CMOPT_AI_CHATKIT_SEARCH_MAX_RESULTS` and the maximum characters per document with `CMOPT_AI_CHATKIT_SEARCH_MAX_CHARS`; both are filterable and clamped to safe bounds. These limits are independent from the Search Summary article count, so chatbot deep-search behavior can be tuned separately from one-shot summaries.
- Added **ChatKit block appearance controls**.
Editors can configure height, max width, color scheme, accent color, corner radius, density, font family, and chrome toggles for hiding the chat title or history icon.
- Added **Contact Form 7 AI suggested replies**.
Forms can opt in by placing the `[_ai_suggested_response]` special mail tag in the admin email template. The plugin reads the visitor’s submitted inquiry, retrieves relevant site content with the same RAG search conventions used by AI Search Summaries, and drafts a plain-text response that the site team can review and copy into their reply. Suggestions are only added where the admin places the tag and are not automatically sent to the visitor.
- Added **Contact Form 7 AI configuration options**.
The suggested-reply workflow has configurable system prompt, user prompt, article count, post types, email label, and OpenAI timeout via `CMOPT_AI_CF7_*` options. CF7 can inherit the Search Summary post types or use a separate context source.
- Added **shared AI query logging for Contact Form 7 generations**.
CF7 suggested replies now appear in the same AI query log as Search Summaries, with readable inquiry text, source posts, generated reply, timestamp, and execution time.
- Added **AI Query Log admin UI** using WordPress DataViews.
The log is available under Settings, shows search term/inquiry, WordPress source results, AI response, timestamp, execution time, and feedback fields.
- Added **CSV export for the AI Query Log**, including date-range filters and UTF-8 BOM support for non-English characters.
- Added **front-end feedback collection** for Search Summaries.
Users can give thumbs-up or thumbs-down feedback on AI answers, optionally add a short reason, and the result is saved back to the matching query-log row. Feedback can be filtered in the admin log.
- Added **automatic AI query log rotation**.
- Added **public REST access for AI answers** at `/wp-json/commandmedia/v1/answer/`.
The endpoint returns structured status codes/messages and response data suitable for ChatKit and other integrations.
- Added **centralized OpenAI request handling** through `cmd_openai_request()`.
Search Summaries, ChatKit sessions, and CF7 suggested replies now share one helper for OpenAI authentication, JSON encoding, request execution, response decoding, and WordPress HTTP API integration.
Improved
- Improved Search Summary retrieval with configurable `CMOPT_AI_SYSTEM_PROMPT`, `CMOPT_AI_USER_PROMPT`, `CMOPT_AI_NUM_ARTICLES`, `CMOPT_AI_POST_TYPES`, and `CMOPT_AI_MODEL`.
- Changed the default AI model to `gpt-5.4-mini` for better speed/cost behavior.
- Added `CMOPT_AI_MAX_COMPLETION_TOKENS` to cap completion length and control token usage.
- Added `CMOPT_AI_PRIORITY` support for OpenAI priority processing, including a fallback retry without priority if the selected model or account rejects `service_tier: priority`.
- Added `CMOPT_AI_USE_DEFAULT_WPQUERY` so Search Summaries can reuse the already-ranked WordPress search results instead of running a second custom query. This preserves Relevanssi/ElasticPress ranking and avoids unnecessary extra retrieval work.
- Improved context formatting by converting post HTML to Markdown before sending it to the model, with fallback to original HTML if conversion fails.
- Improved AI response formatting with a stricter allowed HTML set, support for richer semantic tags, and safer output wrapping.
- Added filters for customizing the AI response heading, disclaimer text, per-post context formatting, visible taxonomy/category labels, and ChatKit `site_search` limits.
- Added support for displaying source taxonomy/category labels next to related results.
- Added ElasticPress score capture in debug/source output to help diagnose ranking behavior.
- Added configurable “privileged phrases” that are quoted in search queries so exact important phrases can receive better treatment from search engines such as Relevanssi.
- Improved REST and API query handling with server-side query length limits and shorter REST query truncation.
- Improved query-log readability, including preserved line breaks for CF7 inquiries and wider feedback/reason display.
