
內容簡介
Creator Assistant Search 是一款為 WordPress 網站提供 AI 驅動搜尋功能的外掛。當訪客進行搜尋時,該外掛從 Qdrant 向量資料庫中檢索最相關的內容,並使用 OpenAI 的聊天模型生成簡潔的 AI 概述,顯示在搜尋結果頁面頂部。
【主要功能】
• AI 概述面板:在每個搜尋結果頁頂部顯示 AI 生成的簡潔答案
• 語義搜尋:根據語義相關性排名結果,而非僅依關鍵字匹配
• 支援佈景主題:兼容區塊主題和經典主題
• 動畫介面:使用現代化的動畫邊框和打字效果
• 來源歸屬:面板列出生成答案所用的來源文章
• 語言感知:根據網站語言生成 AI 回應
外掛標籤
開發者團隊
原文外掛簡介
Creator Assistant Search is an add-on for Creator Assistant – Hub that brings AI-powered search to your WordPress site. When a visitor performs a search, the plugin retrieves the most semantically relevant content from your Qdrant vector database and generates a concise AI Overview (displayed at the top of the search results page) using OpenAI’s chat models.
How it works
When a search query is submitted, the plugin converts it into a vector embedding via the Hub and queries your Qdrant collection for the most relevant content chunks.
The matching chunks are assembled into a prompt and sent to the OpenAI Chat API to generate a short, direct answer.
The answer is streamed progressively to the browser and displayed as an AI Overview panel above your search results, in both block themes and classic themes. Subsequent searches for the same query return the cached result instantly.
Key features
AI Overview panel: a concise AI-generated answer appears at the top of every search results page, based exclusively on your own site content.
Semantic search: results are ranked by semantic relevance (vector similarity) rather than keyword matching alone.
Block theme and classic theme support: the AI Overview is injected via the render_block_core/query filter in block themes, and via the loop_start action in classic themes.
Animated UI: the overview uses the Hub’s animated border component and the typed-text effect for a modern look.
Source attribution: the panel lists the source posts used to generate the answer.
Language-aware: the AI response is generated in the language of your site.
Color scheme: choose between automatic (follows system preference), light, or dark mode for the AI Overview panel from the WordPress Customizer (Appearance → Customize → AI Overview).
Streaming response: the AI answer is delivered via Server-Sent Events and typed progressively into the panel, with no page reload required.
Extensible: exposes filters and actions so other add-ons can customise the sources list, script data, and prompt context.
Requirements
Creator Assistant – Hub with OpenAI and Qdrant configured and at least one vectorizer active.
WordPress 6.6 or higher.
PHP 7.4 or higher.
External services
This plugin sends data to OpenAI to generate the AI Overview shown on your search results page. By using this plugin you agree to OpenAI’s terms and privacy policy.
OpenAI: when a visitor performs a search, the matching content chunks retrieved from your Qdrant database (via Creator Assistant – Hub) are assembled into a prompt together with the visitor’s search term and sent to the Chat Completions API to generate the AI Overview answer.
Service: https://platform.openai.com/
Privacy Policy: https://openai.com/policies/privacy-policy
Terms of Use: https://openai.com/policies/terms-of-use
This plugin relies on Creator Assistant – Hub for the OpenAI embeddings and Qdrant vector-search connections used to find relevant content for each query. See the Hub’s own “External services” section for details on that part of the data flow.
Data is only sent to OpenAI when a visitor performs a search on your site. Nothing is transmitted automatically upon activation.
Development
The source files for all compiled assets are included in the plugin under assets/src/.
Build tools required: Node.js (includes npm).
Install dependencies: npm install
Build JS and CSS: npm run build
JS only: npm run build:js (uses esbuild)
CSS only: npm run build:css (uses PostCSS + Sass)
Source JS files are in assets/src/js/ and compiled to assets/dist/js/.
Source CSS/SCSS files are in assets/src/css/ and compiled to assets/dist/css/.
