AWS Bedrock KB Retrieval

By awslabsCreated 4 days ago
starstarstarstarstar

Query Amazon Bedrock Knowledge Bases with natural language to retrieve relevant information.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

AwsBedrockKnowledge BaseRetrievalAi Search

What is AWS Bedrock KB Retrieval?

AWS Bedrock KB Retrieval is a system for querying Amazon Bedrock Knowledge Bases using natural language to retrieve relevant information from multiple data sources.

How to use AWS Bedrock KB Retrieval?

To use AWS Bedrock KB Retrieval:

  1. Install the required dependencies (Python 3.10, uv)
  2. Configure AWS credentials with proper permissions
  3. Set up knowledge bases with specific tags
  4. Either run via uvx or Docker container
  5. Query knowledge bases using natural language
  6. Optionally enable reranking for improved relevance

Key features of AWS Bedrock KB Retrieval

  • Discovery of available knowledge bases and data sources
  • Natural language querying of knowledge bases with citation
  • Data source filtering capabilities
  • Optional result reranking for improved relevance

Use cases of AWS Bedrock KB Retrieval

  1. Enterprise search across company documentation
  2. Customer support knowledge base access
  3. Content management system integration
  4. Research data retrieval from institutional repositories
  5. Product documentation search

FAQ about AWS Bedrock KB Retrieval

  • What permissions are required?

IAM permissions for listing/describing knowledge bases, accessing data sources, and querying knowledge bases. Additional permissions needed for reranking.

  • Which regions support reranking?

Specific regions only - see official documentation for up-to-date list.

  • Can I filter results by data source?

Yes, you can include or exclude specific data sources in your queries.

  • What types of content are excluded from results?

Results with IMAGE content type are currently excluded from responses.