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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

2.0.0

  • Initial WordPress.org submission version.