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
+34
View File
@@ -0,0 +1,34 @@
LLM calls per turn (compress + route + answer):
turn 1 rewriter=0 router=1 answer=1
turn 2 rewriter=1 router=1 answer=1
User message the answering LLM received on turn 2:
How long does it take to show up?
Answer using the following information:
content: Acme Cloud Refund Policy
Annual plans can be refunded in full within 30 days of purchase. Monthly plans can be refunded within 7 days of the first charge. After those windows, no refund is issued, but you can cancel at any time and keep access until the end of the paid period.
Once a refund is approved, it takes 5 to 10 business days to appear on your card statement. The time depends on your bank, not on Acme Cloud. Refunds always go back to the original payment method; we cannot pay them out to a different card.
If a refund does not show up after 10 business days, contact support with the invoice number so we can send you the acquirer reference number.
file_name: refund-policy.txt
content: Acme Edge Box Hardware Returns
The Acme Edge Box can be returned within 45 days of delivery if it is in its original packaging. Request a return label from the support portal; the label is valid for 14 days.
After our warehouse receives the box, the refund is processed within 3 business days. It then follows the normal card timeline of 5 to 10 business days.
Boxes that arrive damaged or with missing power adapters are inspected first, which can add up to 5 business days.
file_name: hardware-returns.txt
content: Acme Cloud Account Security
Password reset links expire after 30 minutes and can be used only once. If a link has expired, request a new one from the sign-in page.
Two-factor authentication is mandatory for organisation owners. Supported methods are authenticator apps and hardware security keys. SMS codes are not supported.
SSO via SAML 2.0 is available on the Business plan. After SSO is enforced, password sign-in is disabled for every member except the organisation owner, who keeps a break-glass login.
file_name: account-security.txt