test2 / app

Commit History

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

Update app/admin/templates/admin.html
787933a
verified

joedown11 commited on

Update app/admin/templates/admin.html
8e541e3
verified

joedown11 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

Use MutationObserver JS to reliably remove top spacing in chat bubbles
7850b34

Martechsol commited on

Broaden CSS selectors to fix top spacing in Gradio 5 chat bubbles
ed4d3e0

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

Show actual API error message instead of generic rate limit
ce3c7f4

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

Remove type='messages' from Chatbot for Gradio 5+ compatibility
1165d76

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

Fix bot behavior: handle greetings, strip reasoning monologues, and sanitize history
efff587

Martechsol commited on

Fix Groq 413 Payload Too Large by reducing max_tokens and context chunks
759466a

Martechsol commited on

Update Groq Qwen model ID to qwen/qwen3-32b
c7da36f

Martechsol commited on

Switch entirely to qwen-2.5-32b due to DeepSeek-R1 string deprecations
e22f4ac

Martechsol commited on

Update DeepSeek-R1 model alias to deepseek-r1-distill-qwen-32b
5dd5f30

Martechsol commited on

Update decommissioned DeepSeek-R1 model alias to specdec
4eb6acc

Martechsol commited on

Fix Groq 400 Bad Request for DeepSeek-R1 by adjusting temperature
cbd5364

Martechsol commited on

Fix ui_gradio LLMService initialization and update README
4b0218a

Martechsol commited on

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

Martechsol commited on

Update SYSTEM_PROMPT to use bullet points conditionally
c2e2462

Martechsol commited on