Skip to content

Expand PetVault KB for travel care and product fit workflows - #2

Merged
Kingslayer-bot merged 1 commit into
mainfrom
fix/structure-and-report-sanitizer
Jul 8, 2026
Merged

Expand PetVault KB for travel care and product fit workflows#2
Kingslayer-bot merged 1 commit into
mainfrom
fix/structure-and-report-sanitizer

Conversation

@Kingslayer-bot

Copy link
Copy Markdown
Owner

Summary

Expands PetVault KB from billing/insurance-focused to five core user scenarios:
bill explanation, insurance boundary, emergency guardrail, travel care, product fit.

Key Changes

  • Fixed P0 material/routing/pdf_policy type alignment
  • Added travel_care KB: domain, 2 sources, 4 articles, routing, eval, tests
  • Added product_fit/nutrition KB: 2 articles, eval, tests, safe boundaries
  • Fixed internal term collisions (置信度, diagnosis_or_assessment)
  • Expanded KNOWN_TERMS 24→40, added retrieval quality tests
  • Deprecated kb/eval/ in favor of .agents/eval_cases/

Validation

224 tests passed, 0 failures, 0 errors (was 181)

Remaining

  • nfra/pingan source URLs need specific docs
  • HK/SG/JP regional rules deferred
  • CI index freshness deferred

- Fix material/routing/pdf_policy type alignment (claim_document, medical_report, clinic_communication, bill)
- Add travel care KB: domain, sources (USDA APHIS, CN customs), 4 articles, routing, eval cases, tests
- Add product fit / nutrition KB: 2 articles with safe boundaries, eval cases, tests
- Fix internal term collisions in KB articles (置信度, diagnosis_or_assessment)
- Add forbidden terms to registry (pipeline, agent_registry, qa_result, pdf_policy)
- Add retrieval quality tests (12 queries across 5 domains)
- Deprecate kb/eval/ in favor of .agents/eval_cases/
- Expand KNOWN_TERMS from 24 to 40 for better Chinese query matching
- 224 tests pass (was 181)
@Kingslayer-bot
Kingslayer-bot merged commit 00eda65 into main Jul 8, 2026
2 checks passed
@Kingslayer-bot
Kingslayer-bot deleted the fix/structure-and-report-sanitizer branch July 8, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants