-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Critical Findings:
-
Data Availability Gap (33% Failure Rate)
• Your nutrition agent is experiencing 404 errors on 33% of requests (315 out of 944 calls)
• The nutrition service only has data for dogs and cats (/nutrition/dog, /nutrition/cat)
• When customers ask about rabbits or other pets, the service returns 404 errors
• This is the primary cause of hallucination - when the agent can't find real data, it fabricates responses -
Agent Error Handling Failure
• The nutrition agent has a 12.5% fault rate with KeyError exceptions
• When the nutrition service returns 404s, the agent fails to handle this gracefully
• Instead of saying "we don't have that information," it generates fictional product recommendations -
Limited Product Database
• Your nutrition service contains only basic nutritional information for dogs and cats
• Content length shows 235 bytes for dogs, 250 bytes for cats - very limited data
• No product inventory, just basic nutritional guidelines
• The agent is trying to recommend products that don't exist in your database
Performance Issues Identified:
-
High Latency in Agent Processing
• Nutrition agent latency spikes to 81+ seconds during complex queries
• Bedrock Claude model calls averaging 1.5-6 seconds per request
• 1,177-1,553 input tokens suggest the agent is processing large context windows -
Service Dependencies
• Agent calls nutrition service via load balancer (a61dafdaceaa340d5b3fc9d3a00f71c6-746455772.us-east-1.elb.amazonaws.com
)
• MongoDB queries are fast (1-2ms) but limited in scope
• Service discovery latency up to 95ms for internal operations
Hi @awsapm my Pet clinic chat bot is recommending nutritional pet products that we do not recommend in our clinic. The above is context we got from an initial troubleshooting. Can you help confirm the issue?