[WordPress] 外掛分享: RAG Chat for Amazon Bedrock

前言介紹

  • 這款 WordPress 外掛「RAG Chat for Amazon Bedrock」是 2025-10-25 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-10-29,距離現在已有 119 天。
  • 外掛最低要求 WordPress 6.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 3 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mobalabkashima |

外掛標籤

AI | rag | chatbot | amazon bedrock | knowledge base |

內容簡介

總結文案:
RAG Chat for Amazon Bedrock 是一個 WordPress 外掛,能無縫整合您的 WordPress 內容和 Amazon Bedrock 知識庫,打造智能的 RAG (檢索增強生成) 聊天機器人系統。

問題與答案:
1. 這個外掛的主要功能是什麼?
- 直接連接到 Amazon Bedrock 知識庫,無需外部伺服器。
- 自動同步 WordPress 的文章和頁面到 Amazon Bedrock,包括新建、更新和刪除內容。
- 提供即時聊天界面,讓訪客可以使用人工智慧與您的內容進行互動。
- 提供四個專用管理頁面進行設置和內容管理。
- 使用 AWS Signature Version 4 身份驗證保證安全的 API 通信。
- 可以追踪同步狀態並管理同步到 Amazon Bedrock 的內容。

2. 如何使用這個外掛?
- 在外掛設置中配置您的 AWS 憑證和 Amazon Bedrock 知識庫。
- 您的 WordPress 文章和頁面會自動同步到 Amazon Bedrock。
- 訪客可以使用聊天界面提問您的內容。
- Amazon Bedrock 會提取相關內容並使用您的 WordPress 數據生成智能回答。

3. 使用這個外掛需要哪些條件?
- 需要具有 Amazon Bedrock 存取權限的 AWS 帳戶。
- Amazon Bedrock 知識庫需要事先配置。
- 需要有效的 AWS 憑證(訪問金鑰 ID 和秘密訪問金鑰)。

原文外掛簡介

RAG Chat for Amazon Bedrock is a WordPress plugin that seamlessly integrates your WordPress content with Amazon Bedrock Knowledge Bases to create an intelligent RAG (Retrieval-Augmented Generation) chatbot system.
Key Features:

Direct Amazon Bedrock Integration: Connects directly to Amazon Bedrock Knowledge Bases without external servers
Automatic Content Synchronization: Automatically syncs WordPress posts and pages to Amazon Bedrock when content is created, updated, or deleted
Real-time Chat Interface: Provides a chat widget for visitors to interact with your content using AI
Comprehensive Admin Interface: Four dedicated admin pages for configuration and content management
AWS Security: Uses AWS Signature Version 4 authentication for secure API communication
Content Management: Track sync status and manage which content is synchronized to Amazon Bedrock

How It Works:

Configure your AWS credentials and Amazon Bedrock Knowledge Base in the plugin settings
New WordPress posts and pages are automatically synchronized to Amazon Bedrock when saved or deleted
Existing content can be synchronized using the export function in the Content Management page
Visitors can use the chat interface to ask questions about your content
Amazon Bedrock retrieves relevant content and generates intelligent responses using your WordPress data

Requirements:

AWS account with Amazon Bedrock access
Amazon Bedrock Knowledge Base configured
Valid AWS credentials (Access Key ID and Secret Access Key)

Demo:
See the plugin in action: Live Demo
Troubleshooting
Plugin Installation & Setup Issues
Plugin activation fails

Ensure your WordPress version meets the minimum requirement (6.6+)
Check that your PHP version is 7.4 or higher
Verify there are no plugin conflicts by temporarily deactivating other plugins

The chat interface doesn’t appear on my page

Make sure you’ve inserted the shortcode [rag_chat_ab_chat] in the correct location
Check that the plugin is activated
Verify your AWS credentials are correctly configured in the plugin settings

Content Synchronization Issues
Content sync is failing

Verify your AWS credentials have the correct permissions
Check that your Knowledge Base ID and Data Source ID are correct
Ensure your Knowledge Base has a “Custom” type data source
For existing content, use the “Export Posts and Pages to Amazon Bedrock” feature on the Content Management page

Export operation times out
If you have many posts and pages, “Export Posts and Pages to Amazon Bedrock” may take a long time and cause timeout errors depending on your PHP settings. To reduce the risk of timeout:

Export content in smaller batches by selecting specific date ranges
Consider increasing your PHP execution time limit if you have server access
Contact your hosting provider if timeout issues persist
For large-scale exports, we offer a dedicated bulk export PHP script that runs independently on your server and can handle large volumes of content without web browser timeout limitations. Contact us at https://tally.so/r/3jjoga for more information about our bulk export solution

AWS Authentication & Permissions
AWS permission errors

Double-check all required IAM permissions are granted to your user
Verify your AWS Access Key ID and Secret Access Key are correct
Ensure your AWS account has access to Amazon Bedrock in the selected region
Check the AWS CloudTrail logs for detailed error information

AWS Marketplace subscription error
If you encounter “Model access is denied” with “aws-marketplace:ViewSubscriptions” permission errors:

Your IAM user needs the aws-marketplace:ViewSubscriptions permission
Add this permission to your IAM user’s policy
Wait 15 minutes after fixing the permissions before trying again
This is required for AWS Marketplace subscription completion

Model Access & Configuration
Model use case details required
If you encounter an error like “Model use case details have not been submitted for this account. Fill out the Anthropic use case details form before using the model”:

Anthropic requires use case details before using their models
Fill out the Anthropic use case details form in your AWS console
Wait 15 minutes after submitting before trying again
See the AWS documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html

Inference profile required error
If you get an error like “Invocation of model ID anthropic.claude-haiku-4-5-20251001-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile”:

Some models require using inference profiles instead of direct model invocation
Use the ID or ARN of an inference profile that contains the model
Configure inference profiles in your Amazon Bedrock settings
See the AWS documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html

Chat responses are not working

Verify that your AWS region is correct in the plugin settings
Check that your Knowledge Base contains synchronized content
Ensure your IAM user has bedrock:RetrieveAndGenerate permissions
Try asking questions related to your synchronized content

External services
This plugin uses the following Amazon Bedrock API endpoints provided by Amazon Web Services, Inc.:

PUT https://bedrock-agent.{$region}.amazonaws.com/knowledgebases/{$knowledge_base_id}/datasources/{$data_source_id}

Called when a post or page is created or updated.
Used to add / update content on Amazon Bedrock.
The whole content (post or page) is sent.

POST https://bedrock-agent.{$region}.amazonaws.com/knowledgebases/{$knowledge_base_id}/datasources/{$data_source_id}/documents/deleteDocuments

Called when a post is deleted or moved to trash.
Used to delete content from Amazon Bedrock.
Only the post / page ID is sent.

POST https://bedrock-agent-runtime.{$region}.amazonaws.com/retrieveAndGenerate

Called when a visitor asks a question.
Used to generate responses using Amazon Bedrock’s AI.
The query that the user enters is sent.
The response contains a session ID, and it will be send to this endpoint in the subsequent requests along with the query.

Please see the following links for more information about Amazon Web Services:

AWS Service Terms
AWS Privacy

Related Projects
This plugin is based on WP RAG (https://github.com/mobalab/wp-rag), which provides RAG functionality using external servers and OpenAI’s APIs. RAG Chat for Amazon Bedrock offers a different approach by integrating directly with Amazon Bedrock Knowledge Bases for users who prefer AWS-native solutions.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「RAG Chat for Amazon Bedrock」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.0.1 | 0.0.2 | trunk |

延伸相關外掛(你可能也想知道)

  • BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor 》u in creating a comprehensive and informative knowledge base page using BetterDocs. This WordPress plugin allows you to organize your FAQ (Frequent...。
  • Echo Knowledge Base – Documentation, FAQs, AI Chat & AI Search 》g integration lets you integrate your WordPress Knowledge Base with the popular Help Dialog software, allowing you to provide instant support to yo...。
  • Helpie FAQ — Accordion, Docs & Knowledge Base 》Helpie FAQ 是一個先進的 WordPress 常見問題解答外掛,可以輕鬆地在 WordPress 網站上創建、編輯和嵌入常見問題解答和手風琴。您可以輕鬆地創建驚人的手冊頁...。
  • weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot 》使用這個外掛,您可以為您的產品創建出美觀的文檔。在您的網站上整理您的產品文檔,呈現出美輪美奐的風格!, , 文檔, Github, , 這個外掛讓您可以在 WordPres...。
  • Yada Wiki 》Yada Wiki 提供了一種 wiki 文章型別、自定義標籤和分類、目錄索引以及章節表格選項的 WordPress 外掛。此外,該外掛還允許您使用 wiki 頁面標題將您的 wiki ...。
  • WordPress Knowledge base & Documentation Plugin – WP Knowledgebase 》建立一個具有吸引力且專業的知識庫或文件。WP知識庫易於使用、易於自訂,並可與任何佈景主題配合使用。, 為什麼知識庫很重要?, , 常常會有人選擇自我服務 - ...。
  • EazyDocs – AI Powered Knowledge Base, Wiki, Documentation & FAQ Builder 》EazyDocs 是一款功能強大的 WordPress 知識庫、文件製作外掛程式。它是一套完整的解決方案,可用於創建知識庫、文件、諮詢中心、支援中心、常見問題、維基等...。
  • Knowledge Base documentation & wiki plugin – BasePress Docs 》ar articles widget, Article attachments, Article feedback with comments and ratings, Article history revisions, Advanced analytics and reporting, C...。
  • KB Support – Customer Support Ticket & Helpdesk Plugin, Knowledge Base Plugin 》KB Support是提供客戶支援和幫助台服務的最佳WordPress外掛。, 擁有豐富的功能,你可以確信自KB Support啟用以來,能為您的代理和顧客提供完美的幫助台解決方...。
  • Creative Addons for Elementor 》我們的 Elementor 小工具是為撰寫者而設計的。我們讓撰寫詳細的說明、逐步指南、手冊和詳細的文檔變得容易。, 為作家而建立, 我們有很多創建文件、文章、知識...。
  • Support Genix – Helpdesk, AI Chatbot, Knowledge Base & Customer Support Ticketing System 》dPress Support Genix 是一個支援票證系統,支援票證管理系統,客戶支援票證管理和幫助台套件,可用於 WordPress 網站。現在使用者可以在 WordPress 網站上建...。
  • DocsPress – Online Documentation 》此外掛提供您的多個產品的線上文件。在 WordPress 網站上建立、主持和管理文檔。, 連結, , 即時 demo, GitHub, , 功能特色, , 支援多個產品, AJAX 搜尋, AJAX...。
  • VS Knowledge Base 》關於, 這是一個輕量級的外掛,用於建立知識庫。, 在頁面上添加 shortcode [knowledgebase] 或使用小工具來顯示您的分類和文章。, 您可以通過為縮略語或小工具...。
  • PeerBoard Forum and Community 》PeerBoard是一個強大而現代化的社群平台,可讓使用者嵌入及完全白標籤自己的社群。透過PeerBoard,個人及企業都能打造符合他們受眾需求的社群。 PeerBoard的W...。
  • Knowledge Base 》Knowledge Base 是一款易於使用的 WordPress 外掛,可以讓您在 WordPress 網誌上建立知識庫 / 常見問題解答區。, 這非常適合如果您有單一或多個產品,並想要...。

文章
Filter
Apply Filters
Mastodon