Skip to content

Pet Clinic AI Chatbot is recommending nutritional products not available in our clinic #194

@liustve

Description

@liustve

Root Cause Analysis

The Issue: AI Hallucination Due to System Configuration

Your chatbot is making up product names like "PurrfectChoice Rabbit Complete
diet" because:

  1. Hardcoded Product Names in System Prompts: The nutrition agent is explicitly
    instructed to recommend specific branded products like "PurrfectChoice,
    BarkBite, FeatherFeast" that appear to be fictional/placeholder names in the
    system configuration.

  2. Backend Service Failures: The nutrition service is experiencing a 76.31% error
    rate when trying to fetch actual product data from the MongoDB database, causing
    the AI to fall back on generating responses without real data.

  3. Disconnected Data Sources: When the nutrition agent calls
    get_nutritional_supplements and get_feeding_guidelines tools, they return errors
    like "Nutrition service could not find information for pet: rabbit", forcing
    the AI to generate responses based solely on its training data and system
    prompts.

Critical Infrastructure Issues Found

  1. Nutrition Service Database Errors: 76.31% error rate on
    GET /nutrition/:pet_type operations
  2. DynamoDB Throttling: 42.27% fault rate on visit creation due to
    ProvisionedThroughputExceededException
  3. Customer Service Latency: 89+ second response times on owner lookup operations

Hi @awsapm my Pet clinic chat bot is recommending nutritional pet products that we do not have in our clinic. The above is context we got from an initial troubleshooting. Can you help confirm the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions