Skip to content

Ship a real example knowledge doc (RAG + e2e) - #5

Merged
MaxwellDPS merged 1 commit into
mainfrom
feat/real-knowledge-doc
Jul 15, 2026
Merged

MaxwellDPS merged 1 commit into
mainfrom
feat/real-knowledge-doc

Conversation

@MaxwellDPS

Copy link
Copy Markdown
Collaborator

What

The shipped knowledge base doc was a placeholder whose text led with "This is a sample document … replace it with your own files." That boilerplate dominated RAG retrieval — a "which day is trash pickup?" query surfaced the "replace me" intro instead of the actual schedule, and the e2e KNOWLEDGE test never got its answer.

  • Replace it with real, clean household reference content (trash/recycling, Wi-Fi, contacts, thermostat, mail) and no meta boilerplate, so retrieval returns the facts.
  • Track this one example under data/knowledge/ via a .gitignore exception — user-dropped docs there stay ignored — so a fresh clone has a working, indexable knowledge base out of the box.

Verified

Reindexed live (1 doc, 2 chunks); "trash pickup" retrieval returns Tuesday; test_knowledge_over_call passes end to end. This was the last non-guarded e2e failure.

The shipped knowledge base doc was a placeholder whose text led with "This is
a sample document ... replace it with your own files." That boilerplate
dominated RAG retrieval — a "which day is trash pickup" query surfaced the
"replace me" intro instead of the actual schedule, and the e2e KNOWLEDGE test
never got its answer.

Replace it with real, clean household reference content (trash/recycling
schedule, Wi-Fi, contacts, thermostat, mail) and no meta boilerplate, so
retrieval returns the facts. Track this one example under data/knowledge/ via
a .gitignore exception (user-dropped docs there stay ignored), so a fresh
clone has a working, indexable knowledge base out of the box.

Verified: reindexed live (1 doc, 2 chunks), "trash pickup" retrieval returns
Tuesday, and test_knowledge_over_call passes end to end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MaxwellDPS
MaxwellDPS merged commit 509a596 into main Jul 15, 2026
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.

1 participant