-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Describe the bug
I am getting error in a text based use case while using the RAG flow with Knowledge Base, where my kb has multimedia storage S3 bucket enabled. While testing out with normal bedrock knowledge base test playground mode works fine, GAAB solution provides error.
{ "level": "ERROR", "location": "handle_event:103", "message": "An exception occurred in the processing of chat: Error occurred while invoking Bedrock model family 'anthropic' model 'apac.anthropic.claude-3-5-sonnet-20241022-v2:0'. An error occurred (ValidationException) when calling the Converse operation: The model returned the following errors: Input is too long for requested model.", "timestamp": "2025-08-21 10:23:24,337+0000", "service": "BEDROCK_CHAT", "xray_trace_id": "1-68a6f390-ff0b18e031e0b7a792d9255d" }
To Reproduce
- Create a bedrock Knowledge base, LLM as a parser(used Claude 3 Haiku, semantic chunking, embedding model titan text v2, enable multimedia storage to a s3 bucket).
- Test the bedrock knowledge base
- Deploy a GAAB usecase (usecase type - text usecase, model - Anthropic Claude 3.5 sonnet v2, RAG based point to the same Knowledge Base, prompt can be default)
- Test it out
Expected behavior
A clear and concise description of what you expected to happen.
Please complete the following information about the solution:
- Version: v3.0.4
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0276) - Generative AI Application Builder on AWS Solution. Version v1.0.0".
- Region: ap-south-1
- Was the solution modified from the version published on this repository?
- If the answer to the previous question was yes, are the changes available on GitHub?
- Have you checked your service quotas for the sevices this solution uses?
- Were there any errors in the CloudWatch Logs?: Attached above
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.