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
- Your WordPress posts and pages are automatically synchronized to Amazon Bedrock
- 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)
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.






