{"id":306668,"date":"2026-06-09T16:52:48","date_gmt":"2026-06-09T16:52:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-knowledge-base-agent\/"},"modified":"2026-06-09T16:52:17","modified_gmt":"2026-06-09T16:52:17","slug":"wpcraftengineer-ai-knowledge-base","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/wpcraftengineer-ai-knowledge-base\/","author":23470025,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"6.9.4","requires":"6.0","requires_php":"8.0","requires_plugins":null,"header_name":"WPCraftEngineer AI Knowledge Base","header_author":"WP Craft Engineer","header_description":"WPCraftEngineer AI Knowledge Base adds searchable AI-powered Q&A widgets using configured external AI providers.","assets_banners_color":"667094","last_updated":"2026-06-09 16:52:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/wpcraftengineer.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":30,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"wpcraftengineer","date":"2026-06-09 16:52:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3566359,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3566359,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3566359,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3566359,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2364,1643,14090,944,1104],"plugin_category":[],"plugin_contributors":[259299],"plugin_business_model":[],"class_list":["post-306668","plugin","type-plugin","status-publish","hentry","plugin_tags-chatbot","plugin_tags-faq","plugin_tags-knowledge-base","plugin_tags-search","plugin_tags-support","plugin_contributors-wpcraftengineer","plugin_committers-wpcraftengineer"],"banners":{"banner":"https:\/\/ps.w.org\/wpcraftengineer-ai-knowledge-base\/assets\/banner-772x250.png?rev=3566359","banner_2x":"https:\/\/ps.w.org\/wpcraftengineer-ai-knowledge-base\/assets\/banner-1544x500.png?rev=3566359","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wpcraftengineer-ai-knowledge-base\/assets\/icon-128x128.png?rev=3566359","icon_2x":"https:\/\/ps.w.org\/wpcraftengineer-ai-knowledge-base\/assets\/icon-256x256.png?rev=3566359","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>The plugin is not affiliated with Anthropic, OpenAI, or Google. You must provide your own API key for the provider you choose.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Natural language knowledge base search.<\/li>\n<li>Chat widget that answers from saved knowledge base entries.<\/li>\n<li>Admin-managed entries, collections, and basic analytics.<\/li>\n<li>Optional query logging in the WordPress database.<\/li>\n<li>Configurable provider: Anthropic Claude, OpenAI, or Google Gemini.<\/li>\n<li>Shortcodes and sidebar widget support.<\/li>\n<\/ul>\n\n<h4>Shortcodes<\/h4>\n\n<pre><code>[wpcfe_aikb] Full widget with search and chat.\n[wpcfe_aikb collection=\"HR Policies\"] Full widget filtered by collection.\n[wpcfe_aikb_chat] Chat only.\n[wpcfe_aikb_chat collection=\"Support FAQs\"] Chat filtered by collection.\n[wpcfe_aikb_search] Search only.\n<\/code><\/pre>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.0 or newer.<\/li>\n<li>PHP 8.0 or newer.<\/li>\n<li>Your own API key for Anthropic, OpenAI, or Google Gemini.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>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.<\/p>\n\n<h4>Anthropic Claude<\/h4>\n\n<p>When Anthropic is selected, the plugin sends prompts, visitor questions, conversation history, and relevant knowledge base content to the Anthropic API at <code>https:\/\/api.anthropic.com\/v1\/messages<\/code>. This is used to generate answers, classify entries, and test the configured provider connection.<\/p>\n\n<p>Service provider: Anthropic PBC.\nTerms: https:\/\/www.anthropic.com\/legal\/commercial-terms\nPrivacy: https:\/\/www.anthropic.com\/legal\/privacy<\/p>\n\n<h4>OpenAI<\/h4>\n\n<p>When OpenAI is selected, the plugin sends prompts, visitor questions, conversation history, and relevant knowledge base content to the OpenAI API at <code>https:\/\/api.openai.com\/v1\/chat\/completions<\/code>. This is used to generate answers, classify entries, and test the configured provider connection.<\/p>\n\n<p>Service provider: OpenAI, L.L.C.\nTerms: https:\/\/openai.com\/policies\/terms-of-use\nPrivacy: https:\/\/openai.com\/policies\/privacy-policy<\/p>\n\n<h4>Google Gemini<\/h4>\n\n<p>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 <code>https:\/\/generativelanguage.googleapis.com\/v1beta\/models\/...:generateContent<\/code>. This is used to generate answers, classify entries, and test the configured provider connection.<\/p>\n\n<p>Service provider: Google LLC.\nTerms: https:\/\/ai.google.dev\/gemini-api\/terms\nPrivacy: https:\/\/policies.google.com\/privacy<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>wpcraftengineer-ai-knowledge-base<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through <strong>Plugins &gt; Installed Plugins<\/strong>.<\/li>\n<li>Go to <strong>WPCraftEngineer AI Knowledge Base &gt; Settings<\/strong>.<\/li>\n<li>Select an AI provider and enter your API key.<\/li>\n<li>Add knowledge base entries and place a shortcode on any page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20store%20conversations%3F\"><h3>Does this plugin store conversations?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"which%20ai%20providers%20are%20supported%3F\"><h3>Which AI providers are supported?<\/h3><\/dt>\n<dd><p>Anthropic Claude, OpenAI, and Google Gemini are supported. The site administrator chooses the provider in the plugin settings and supplies the API key.<\/p><\/dd>\n<dt id=\"can%20i%20restrict%20a%20widget%20to%20one%20collection%3F\"><h3>Can I restrict a widget to one collection?<\/h3><\/dt>\n<dd><p>Yes. Use the <code>collection<\/code> shortcode attribute, for example <code>[wpcfe_aikb_chat collection=\"Support FAQs\"]<\/code>.<\/p><\/dd>\n<dt id=\"is%20there%20a%20rest%20api%3F\"><h3>Is there a REST API?<\/h3><\/dt>\n<dd><p>Yes. Endpoints are available under <code>\/wp-json\/wpcfe-aikb\/v1\/<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Initial WordPress.org submission version.<\/li>\n<\/ul>","raw_excerpt":"Create AI-powered searchable knowledge base widgets using your own configured AI provider API key.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/306668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=306668"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcraftengineer"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=306668"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=306668"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=306668"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=306668"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=306668"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=306668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}