test2 / app /services

Commit History

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

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

Add br between list items for vertical spacing
a919128

Martechsol commited on

Fix list spacing: compact single-line prompt example + thorough br/whitespace cleanup inside ul/ol
5724db0

Martechsol commited on

Strip stray br tags after ul/ol opening tags to remove top space in lists
11bc94e

Martechsol commited on

Remove leading space in chat bubbles via CSS margin fix and lstrip post-processing
9b8d175

Martechsol commited on

Fix full stops, consistent Format B for leave queries, unpaid leave retrieval
aa8b3eb

Martechsol commited on

Cap Format C at 4 lines, restore leave-name = count only intent
fbe9de5

Martechsol commited on

Enforce Format C for all policy questions with bold headers and line breaks
c098fd0

Martechsol commited on

Restore structured explanation format with bold headers and line breaks
e866dc2

Martechsol commited on

Allow 'can I take leave' intent and enforce bolding for key terms
5ee98a7

Martechsol commited on

Update bolding rules in system prompt for formal prose
445cda7

Martechsol commited on

Refine system prompt for better list formatting and formal tone
d41f5d2

Martechsol commited on

Fix formatting inconsistency and add support for greetings
7995568

Martechsol commited on

Migrate from Groq to OpenAI 4o-mini
47434d4

Martechsol commited on

Fix admin panel showing 'default name': update user_name in-place on rename, improve session list display
3944045

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

Refine RAG pipeline for comprehensive leave retrieval, improve system prompt, and fix Gradio HTML rendering
392a1db

Martechsol commited on

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

Martechsol commited on

Push requested version of llm.py with monologue suppression and history optimization
8aaaf99

Martechsol commited on

Hard revert of llm.py to state 034bc73 as requested
5009e48

Martechsol commited on

Reverting to previous stable state after failed specificity experiment
6f69206

Martechsol commited on

Enforce high specificity and strict question answering in system prompt
c69c19a

Martechsol commited on

Optimize token usage to resolve 413 Payload Too Large error
770f3b4

Martechsol commited on

Strip internal reasoning monologues and increase token headroom
2fab473

Martechsol commited on

Optimize LLM conciseness and fix response cutoff
034bc73

Martechsol commited on

Fix Groq 413 Payload Too Large by strictly capping context and tokens
138f67a

Martechsol commited on

Refine for Extreme Conciseness: enforce word economy and dense summarization
59e956f

Martechsol commited on

Optimize for Intelligent Completeness: 10 context chunks and dense system prompt
d59fe09

Martechsol commited on

Fix latency: switch to bge-small and bge-reranker-base for CPU optimization
0487d4b

Martechsol commited on