Retrieve information from Amazon Bedrock Knowledge Bases using natural language queries
BedrockKBRetrieverTool
BedrockKBRetrieverTool
enables CrewAI agents to retrieve information from Amazon Bedrock Knowledge Bases using natural language queries.
boto3
and python-dotenv
packagesArgument | Type | Required | Default | Description |
---|---|---|---|---|
knowledge_base_id | str | Yes | None | The unique identifier of the knowledge base (0-10 alphanumeric characters) |
number_of_results | int | No | 5 | Maximum number of results to return |
retrieval_configuration | dict | No | None | Custom configurations for the knowledge base query |
guardrail_configuration | dict | No | None | Content filtering settings |
next_token | str | No | None | Token for pagination |