Skip to content

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

@liustve

Description

@liustve

Root Cause Analysis

Primary Issue: Data Availability Gap in Nutrition Service

The nutrition service (nutrition-service-nodejs) is experiencing a 50% failure rate with 404 errors when querying for pet nutrition information:
6,242 successful requests (200 status)
6,088 failed requests (404 status)

This means that when the nutrition agent tries to look up nutritional information for certain pet types, the nutrition service database doesn't
have the data, so it returns a 404 error.

What's Happening in Your System

  1. Pet Clinic Agent receives customer questions about pet nutrition
  2. Nutrition Agent is invoked to provide nutritional recommendations
  3. Nutrition Agent calls the Nutrition Service via GET /nutrition/:pet_type
  4. 50% of the time, the nutrition service returns 404 (pet type not found in database)
  5. When data is missing, the nutrition agent appears to be hallucinating or making up products instead of gracefully handling the missing data

Hi @awsapm my pet clinic chat bot is recommending nutritional pet products we do not have in our clinic. The above is context we from an initial troubleshooting can you confirm this is 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