Title: WPCraftEngineer AI Knowledge Base
Author: WP Craft Engineer
Published: <strong>2026 年 6 月 9 日</strong>
Last modified: 2026 年 6 月 9 日

---

搜索插件

![](https://ps.w.org/wpcraftengineer-ai-knowledge-base/assets/banner-772x250.png?
rev=3566359)

![](https://ps.w.org/wpcraftengineer-ai-knowledge-base/assets/icon-256x256.png?rev
=3566359)

# WPCraftEngineer AI Knowledge Base

 作者：[WP Craft Engineer](https://profiles.wordpress.org/wpcraftengineer/)

[下载](https://downloads.wordpress.org/plugin/wpcraftengineer-ai-knowledge-base.2.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/wpcraftengineer-ai-knowledge-base/#description)
 * [评价](https://cn.wordpress.org/plugins/wpcraftengineer-ai-knowledge-base/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wpcraftengineer-ai-knowledge-base/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wpcraftengineer-ai-knowledge-base/#developers)

 [支持](https://wordpress.org/support/plugin/wpcraftengineer-ai-knowledge-base/)

## 描述

WPCraftEngineer AI Knowledge Base lets site owners create a searchable support knowledge
base and display AI-powered search or chat widgets on the frontend. The plugin stores
knowledge base entries in your WordPress database and sends visitor questions plus
relevant knowledge base content to the AI provider selected in the plugin settings.

The plugin is not affiliated with Anthropic, OpenAI, or Google. You must provide
your own API key for the provider you choose.

#### Features

 * Natural language knowledge base search.
 * Chat widget that answers from saved knowledge base entries.
 * Admin-managed entries, collections, and basic analytics.
 * Optional query logging in the WordPress database.
 * Configurable provider: Anthropic Claude, OpenAI, or Google Gemini.
 * Shortcodes and sidebar widget support.

#### Shortcodes

    ```
    [wpcfe_aikb] Full widget with search and chat.
    [wpcfe_aikb collection="HR Policies"] Full widget filtered by collection.
    [wpcfe_aikb_chat] Chat only.
    [wpcfe_aikb_chat collection="Support FAQs"] Chat filtered by collection.
    [wpcfe_aikb_search] Search only.
    ```

#### Requirements

 * WordPress 6.0 or newer.
 * PHP 8.0 or newer.
 * Your own API key for Anthropic, OpenAI, or Google Gemini.

### External services

This plugin can connect to third-party AI services when an administrator configures
an API key and a visitor or administrator uses the search, chat, provider test, 
or auto-classification features. The plugin sends the user’s question or test prompt,
relevant knowledge base entry content, and selected model details to the configured
AI provider so that the provider can generate search results, classifications, or
chat answers.

#### Anthropic Claude

When Anthropic is selected, the plugin sends prompts, visitor questions, conversation
history, and relevant knowledge base content to the Anthropic API at `https://api.
anthropic.com/v1/messages`. This is used to generate answers, classify entries, 
and test the configured provider connection.

Service provider: Anthropic PBC.
 Terms: https://www.anthropic.com/legal/commercial-
terms Privacy: https://www.anthropic.com/legal/privacy

#### OpenAI

When OpenAI is selected, the plugin sends prompts, visitor questions, conversation
history, and relevant knowledge base content to the OpenAI API at `https://api.openai.
com/v1/chat/completions`. This is used to generate answers, classify entries, and
test the configured provider connection.

Service provider: OpenAI, L.L.C.
 Terms: https://openai.com/policies/terms-of-use
Privacy: https://openai.com/policies/privacy-policy

#### Google Gemini

When Google Gemini is selected, the plugin sends prompts, visitor questions, conversation
history, and relevant knowledge base content to the Google Gemini Generative Language
API at `https://generativelanguage.googleapis.com/v1beta/models/...:generateContent`.
This is used to generate answers, classify entries, and test the configured provider
connection.

Service provider: Google LLC.
 Terms: https://ai.google.dev/gemini-api/terms Privacy:
https://policies.google.com/privacy

No third-party AI request is made unless an administrator has entered an API key
and uses or enables a feature that requires the selected provider.

## 安装

 1. Upload the `wpcraftengineer-ai-knowledge-base` folder to `/wp-content/plugins/`.
 2. Activate the plugin through **Plugins > Installed Plugins**.
 3. Go to **WPCraftEngineer AI Knowledge Base > Settings**.
 4. Select an AI provider and enter your API key.
 5. Add knowledge base entries and place a shortcode on any page.

## 常见问题

### Does this plugin store conversations?

Only if query logging is enabled. When enabled, query text, generated response text,
detected language, and timestamp are stored in the site’s WordPress database for
analytics.

### Which AI providers are supported?

Anthropic Claude, OpenAI, and Google Gemini are supported. The site administrator
chooses the provider in the plugin settings and supplies the API key.

### Can I restrict a widget to one collection?

Yes. Use the `collection` shortcode attribute, for example `[wpcfe_aikb_chat collection
="Support FAQs"]`.

### Is there a REST API?

Yes. Endpoints are available under `/wp-json/wpcfe-aikb/v1/`.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WPCraftEngineer AI Knowledge Base」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ WP Craft Engineer ](https://profiles.wordpress.org/wpcraftengineer/)

[帮助将「WPCraftEngineer AI Knowledge Base」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpcraftengineer-ai-knowledge-base)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wpcraftengineer-ai-knowledge-base/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wpcraftengineer-ai-knowledge-base/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wpcraftengineer-ai-knowledge-base/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wpcraftengineer-ai-knowledge-base/)。

## 更新日志

#### 2.0.0

 * Initial WordPress.org submission version.

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**8 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpcraftengineer-ai-knowledge-base/)
 * 标签
 * [chatbot](https://cn.wordpress.org/plugins/tags/chatbot/)[faq](https://cn.wordpress.org/plugins/tags/faq/)
   [knowledge base](https://cn.wordpress.org/plugins/tags/knowledge-base/)[search](https://cn.wordpress.org/plugins/tags/search/)
   [support](https://cn.wordpress.org/plugins/tags/support/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpcraftengineer-ai-knowledge-base/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wpcraftengineer-ai-knowledge-base/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wpcraftengineer-ai-knowledge-base/reviews/)

## 贡献者

 *   [ WP Craft Engineer ](https://profiles.wordpress.org/wpcraftengineer/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wpcraftengineer-ai-knowledge-base/)