QuestionQ110
VerifiedFoundation Model Integration, Data Management, and ComplianceAn ecommerce company uses an Anthropic Claude Sonnet model in Amazon Bedrock to generate product recommendations. An AWS Lambda function retrieves:
- Customer purchase data from Amazon DynamoDB
- Product reviews from Amazon S3
- Customer profile information from Amazon RDS
The function then sends this data directly to the Amazon Bedrock model through API calls. Recently, customers with extensive purchase histories have started receiving incomplete recommendations.
Amazon CloudWatch logs for the Lambda function show execution timeouts, and CloudWatch logs for the Amazon Bedrock API calls show intermittent errors. Upon reviewing the logs, the company finds that some requests fail with context length exceeded errors, while other requests complete but appear to ignore portions of the input data.
The company wants the recommendation system to take into account all customer data when generating recommendations, and it wants to use Amazon Bedrock Knowledge Bases to improve how the data is organized and retrieved.
Which combination of solutions will meet these requirements?
Community Discussion