test2 / app /services

Commit History

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

fix(llm): stop AI from addressing the user by name
5963329

Martechsol commited on

fix(backend): allow renaming sessions before first message is sent
b7bc320

Martechsol commited on

fix: implement session merging to allow multiple logins for the same user without splitting history
51f7e96

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: reach 100% intelligence with broader retrieval and mandatory deduction rules
43dba01

Martechsol commited on

feat: improve list completeness and add conclusion logic
3e4ec2d

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

Add OpenAI integration while preserving stable intelligence - 2026-05-15 18:05
9882b62

Martechsol commited on

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

Martechsol commited on

Polish: Add step numbers to structured list format
1ce24aa

Martechsol commited on

Intelligence: Remove all hardcoded format rules, let LLM choose format by intent
6a5a00d

Martechsol commited on