Add advanced-rag module: Easy RAG, query compression and expansion, routing, minScore, content injection, chat-memory cost and sources, each with a captured transcript

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b85ApxQRK2Z8yuzC5r
This commit is contained in:
Claude
2026-11-17 00:59:39 +05:30
parent da39f6437a
commit ae8fe985b4
27 changed files with 1195 additions and 0 deletions
@@ -0,0 +1,12 @@
Turn 1: "What is the refund window for annual plans?"
Turn 2 (follow-up): "How long does it take to show up?"
Naive RAG searches with the follow-up exactly as typed:
0.821 hardware-returns.txt
0.817 deployments.txt
0.816 refund-policy.txt
Searching with a self-contained rewrite instead ("How long does a refund for an annual plan take to show up on my card?"):
0.918 refund-policy.txt
0.857 hardware-returns.txt
0.795 deployments.txt