chatRAG / app /services

Commit History

fix: sort sessions and chat threads by latest activity time
eefed4e
Running

joedown11 Cursor commited on

fix: make Default-name Run now clickable and show progress
0a77a04

joedown11 Cursor commited on

fix: Run now soft-deletes all default-name sessions immediately
4df7061

joedown11 Cursor commited on

feat: auto soft-delete default-name sessions with 24h undo
151b60d

joedown11 Cursor commited on

fix: reduce log flood — downgrade high-frequency per-request logs to DEBUG, silence uvicorn.access + httpx, upgrade OTP log to WARNING for visibility
9210ed5

joedown11 commited on

chore: push latest codebase to chatRAG - includes all fixes (escalation, notifications, WA debug)
d4645a6

joedown11 commited on

fix: revert to bare number format, add Baileys session connection pre-check to test endpoint
ee3fec5

joedown11 commited on

fix: send Baileys WA with + prefix (international format), 30s timeout, fix number stripping in save handler
55fa4e8

joedown11 commited on

fix: send Baileys WA with full JID format (number@s.whatsapp.net) - most Baileys wrappers require this
951def7

joedown11 commited on

debug: capture and surface Baileys API raw response body to diagnose delivery failure
dce7174

joedown11 commited on

fix: revert Baileys provider to original working version, remove response body validation
b9761ff

joedown11 commited on

feat: per-admin targeted notifications, dedicated Escalation settings, QoL pulse animation, rules rewrite
2671e72

joedown11 commited on

fix: add response body validation to Baileys provider, add diagnostics to test endpoint
f8c3b66

joedown11 commited on

fix: WA number stored without +, fix ProviderFactory.get_provider and send_message calls
05183df

joedown11 commited on

feat: claim-based escalation, admin transfer, per-admin WhatsApp, profile settings
f672bfd

joedown11 commited on

feat: show admin display name instead of 'Live Agent (Admin)' during takeover
0a972c5

joedown11 commited on

feat: Multi-Admin RBAC system - admin_store, router, frontend
f87c91f

joedown11 commited on

Add manager emails to llm service
e613266

joedown11 commited on

Update EBook Manager and PM VP names in system prompt
c9f9b2d

joedown11 commited on

fix: Robust intent matching for personal leave balances and tag stripping
8e81438

joedown11 commited on

feat: Show View Leave Summary button instead of auto-opening dashboard
8ca02a2

joedown11 commited on

feat: Add Prorata Dashboard auto-trigger on leave balance requests
605527e

joedown11 commited on

feat: implement full rating system - empty stars, hover preview, per-thread storage, admin badge
a27005b

joedown11 commited on

fix: response quality improvements and injection sanitization
0ce2ae3

joedown11 commited on

Switch org query handling from hardcoded dict to intent-based reasoning
ad822cb

joedown11 commited on

Add indirect org query reasoning to LLM prompt
96daccf

joedown11 commited on

Add new management personnel to LLM prompt
ea7792a

joedown11 commited on

Add Baileys WhatsApp provider and UI configurations
19e5623

joedown11 commited on

Update system prompt with leadership names and update URLs for testing space
3183bbf

joedown11 commited on

perf: remove unnecessary asyncio lock in get_session to improve read performance (file writes are already atomic via os.replace)
5012491

joedown11 commited on

fix: resolve race condition in get_session by adding async lock to prevent reading partially written JSON files
c9174cd

joedown11 commited on

fix: strengthen FORMAT C-SUMMARY (forbidden headings + wrong example) + add 'I want leave' → FORMAT D
bcc366e

joedown11 commited on

feat: LLM-based confirmation intent + rotating handover prompts
0ce46fa

joedown11 commited on

chore: update llm.py - expanded FORMAT table, C-SUMMARY/C-PROCEDURE split, PROCESS/PROCEDURE rule
945c829

joedown11 commited on

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

Update addon.html: replaced FAB close button with top bar minimize button
70cefa5

Martechsol commited on

Enforce strict rule: all leaves taken during probation are unpaid
b02cb86

Martechsol 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

Update RAG application
ac72e99

Martechsol commited on

Update system prompt to handle 'ok' and 'okay' with a shorter acknowledgment
e1cb4cc

Martechsol commited on

Update LLM system prompt: Add FORMAT E for structured multi-level topics
afb4b4d

Martechsol commited on

Replace all em dashes with hyphens in llm.py
3995f24

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