test2 / app /services /rag_pipeline.py

Commit History

Revert all changes to app/services/rag_pipeline.py to match original RAG v1
48aede9

joedown11 commited on

Add pipeline phase timing logs to help debug Hugging Face space speed
b5bae8b

joedown11 commited on

Integrate RAG v1.2 admin panel and handoff features
84160f5

joedown11 commited on

Fix intent map: compound keywords, follow-up starters, prorata robustness
a045fe5

Martechsol commited on

Fix follow-up detection: add prepositional starters for context continuity
8a2c74f

Martechsol commited on

Fix prorata and single-word HR term retrieval robustness
f117eae

Martechsol commited on

Fix inconsistent leave and per-annum responses
c1ad2c8

Martechsol commited on

Fix acceptability retrieval; shorten redirect responses
17cf569

Martechsol commited on

Fix retrieval for prorata queries
cbad467

Martechsol commited on

Improve bot: self-identity, non-English redirect, privacy-tone for personal data, no hallucination on people/org, varied fallbacks
fdb603b

Martechsol commited on

Fix: Broad HR queries + Anti-hallucination hardening (no fake careers page)
75fca74

Martechsol commited on

Fix: Conversational Intelligence - Natural greetings, varied responses, no robot loop
17881df

Martechsol commited on

Production Intelligence: Graceful Guidance + Full Intent Coverage + Urdu Support
2578a3a

Martechsol commited on

Upgrade: Hybrid Intelligence (LLM Query Rewriter + Local Expansion)
2fd623e

Martechsol commited on

Upgrade: Intelligence & Reasoning (Added Format D + Expanded Intent Map)
87cb951

Martechsol commited on

Fix follow-up typo handling (then/them) + prevent specific leave type listing other types
4688215

Martechsol commited on

Add conversational follow-up resolver: pronouns (them/it/this) now resolve to last topic for accurate retrieval
4601cc2

Martechsol commited on

Hardening RAG Intelligence: Restoration of perfect format decision table, optimized thresholds, and query expansion logic for GPT-4o-mini
34fe777

Martechsol commited on

feat: institutional-grade intelligence upgrade with hybrid expansion, logical deduction, and core reference data
1080b20

Martechsol commited on

Restore: Revert codebase to stable May 14th 6 PM state
cdcad66

Martechsol commited on

feat: hardcode leave entitlements in system prompt for guaranteed completeness
227b99a

Martechsol commited on

feat: further intelligence boost via multi-intent matching and relaxed rerank thresholds
5a21442

Martechsol commited on

feat: increase HR assistant intelligence via logical deduction and broader retrieval
5f34360

Martechsol commited on

Restore to latest backup from 13 May - 2026-05-15 17:56
608d6ed

Martechsol commited on

Generic: Replace hardcoded intent map with universal keyword extractor, fix 'can i resign'
3033432

Martechsol commited on

Fix: Disable stale cache, add ul/li CSS reset, unify post-processing with _clean_html
f2f1be6

Martechsol commited on

Fix: Replace LLM expander with instant hybrid normalizer, fix re-index, fix prorata
d25ce84

Martechsol commited on

Optimization: Lowered relevance threshold for better recall
4633ccc

Martechsol commited on

Performance: Professional batched search and latency optimizations
5126e68

Martechsol commited on

Upgrade: Professional intelligent retrieval pipeline with robust tokenization and LLM query expansion
c6668ae

Martechsol commited on

Fix: Add specific intent rules for 'half day' and 'unauthorized' leaves to prevent generic catch-all matching
0ee8f27

Martechsol commited on

Fix: add clean topic names for LLM while preserving rich keyword search variants
2e4bcf2

Martechsol commited on

Refactor intent map with human-friendly topic names to fix short query ambiguity
21c0b2c

Martechsol commited on

Fix: rewrite short/vague queries for LLM to prevent false no-info responses
28312e0

Martechsol commited on

Enhance sandwich deduction intent mapping and query expansion logic
15a2ed9

Martechsol commited on

Eliminate first Groq API call: replace LLM query rewrite with instant local keyword expander (~3-6s saved per request)
d58c972

Martechsol commited on

Optimize RAG pipeline for speed: persistent HTTP client, faster reranker, and result caching
6ece568

Martechsol commited on

Fix reranker filtering out casual/sick leaves by enriching rerank query with expanded LLM keywords
beaf377

Martechsol commited on

feat: enhance RAG intelligence - intent-first protocol, /no_think for Qwen3, smart rerank fallback, context word cap
bd428d3

Martechsol commited on

Implement DeepSeek-R1, BGE-Large, and Hybrid Search
e9f7c7b

Martechsol commited on

Upgraded RAG pipeline for ChatGPT-level depth and intelligence (Multi-query, larger context, smarter prompts)
c9f0bd2

Martechsol commited on

Upload 47 files
3910b9e
verified

joedown11 commited on

wipe space
482f599

joedown11 commited on

Implement Deep Intelligence: Query Expansion, Reranking, and High-Precision Chunking
8c1f7b3

Martechsol commited on

Fix Admin sidebar sync and increase relevance threshold to 0.45
0443bfd

Martechsol commited on

Enhance AI intelligence and personalization with user names
6a95e3a

Martechsol commited on

feat: add secure admin panel, session store, localStorage tracking
de42780

Martechsol commited on