test2 / app

Commit History

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: resolve admin refresh logout issue by checking credentials dynamically
824b8cd

Martechsol commited on

Hardening admin security: moving credentials to environment variables
1d15f75

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

Finalize Export Chat button text and remove debug logs
28b38ef

Martechsol commited on

Enhance sidebar export with modal, radio options, and ZIP bundling
1c231f3

Martechsol commited on

UI: Further decrease export dropdown hide delay to 300ms
6aa2af3

Martechsol commited on

UI: Decrease export dropdown hide delay to 800ms
dbfc481

Martechsol commited on

UI: Improve export dropdown hover behavior with 1.5s delay and smooth transitions
8601306

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

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

Conciseness: Enforce 3-point limit for leaves and ignore secondary clauses
6efd459

Martechsol commited on

Intelligence: Concise-first prompt, context filtering, smart format selection
e33f2d7

Martechsol commited on

Refactor: Remove hardcoded topic defaults - make LLM fully context-driven
fc1b848

Martechsol commited on

Intelligence: Add Format D for yes/no, consequence, and conversational questions
845b072

Martechsol commited on

Fix: Apply br cleanup to OpenAI caller (active provider)
5fc0474

Martechsol commited on

Fix: Remove stray <br> before </li> and collapse double <br> in output
71345d5

Martechsol commited on

Restore: Premium HTML list formatting for structured responses
04d85ae

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

Fix: Prioritize original query and enhance compound word analyzer for prorata
b171a2a

Martechsol commited on

Fix: LLMService initialization TypeError and provider synchronization
b001a5f

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