fix: handle serverless 404 by falling back to DialoGPT/distilgpt2; default serverless model to DialoGPT 7396832 harismlnaslm commited on Oct 30, 2025
feat(endpoint): support HF_ENDPOINT_URL (OpenAI-style chat completions) using HUGGINGFAC_API_KEY_2; keep serverless fallback b98c2d7 harismlnaslm commited on Oct 30, 2025
fix(chat): stop dumping company overview; use training answer at >=0.85 similarity; only show overview for generic queries 54c20db harismlnaslm commited on Oct 30, 2025
Serverless-safe defaults: fallback from LLaMA/TinyLlama to DialoGPT; 404 auto-fallback to distilgpt2; robust prompt/cleanup for both families 3a93207 harismlnaslm commited on Oct 30, 2025
Default to TinyLlama; treat TinyLlama like Llama; add 404 fallback to TinyLlama; update available models e3e9bcd harismlnaslm commited on Oct 29, 2025
Guard against DEFAULT_MODEL=gpt2: force Llama-3.2-1B; support standard API key envs; add Llama prompt/cleanup; refresh models list 7ceabe4 harismlnaslm commited on Oct 29, 2025
Fix: switch default model from gpt2 to Llama-3.2-1B; add Llama prompt/cleanup; update models list; add test scripts 942f8b0 harismlnaslm commited on Oct 29, 2025
Add company overview synthesis when query mentions 'textilindo' without 95% match 5b0123f harismlnaslm commited on Oct 28, 2025
Increase similarity threshold to 95% and add debug logging 45b5185 harismlnaslm commited on Oct 28, 2025
Simplify generate_response logic to only use training data for 90%+ similarity matches 05cc402 harismlnaslm commited on Oct 28, 2025
Disable auto-training for debugging weather question issue 65257b0 harismlnaslm commited on Oct 28, 2025
Add explicit weather word detection to force general question classification 5b0e82e harismlnaslm commited on Oct 28, 2025
Add more general question indicators including 'right now' f80bbff harismlnaslm commited on Oct 28, 2025
Move general question detection before training data check 60a0269 harismlnaslm commited on Oct 28, 2025
Add general question detection to skip training data for weather/time questions 1e7f426 harismlnaslm commited on Oct 28, 2025
Improve similarity matching by filtering common words to prevent false positives ff0bd6a harismlnaslm commited on Oct 28, 2025
Prioritize high similarity training data matches (90%+) over AI model 6440987 harismlnaslm commited on Oct 28, 2025
Fix question classification: prevent general questions from using training data 725cf7b harismlnaslm commited on Oct 28, 2025
Add better error logging and contextual fallback responses 95f3204 harismlnaslm commited on Oct 28, 2025
Fix AI response priority: Use AI model for general questions, training data only for business questions 81a3ac1 harismlnaslm commited on Oct 28, 2025
Fix 404 error: Switch from Llama 3.1 8B to DialoGPT-medium (available on HF API) b35c210 harismlnaslm commited on Oct 27, 2025
Add auto-training functionality - continuous background training with trained response cache 77cde9a harismlnaslm commited on Oct 27, 2025
Configure to use HUGGINGFAC_API_KEY_2 and Meta Llama 3.1 8B as default model 4c10d31 harismlnaslm commited on Oct 27, 2025
Add Llama models to AI training: Include Llama 3.1 8B, 3.2 1B, and 3.2 3B as training options c80b7c6 harismlnaslm commited on Oct 27, 2025
Add AI training functionality: Integrate training scripts with web interface and API endpoints 30f839d harismlnaslm commited on Oct 27, 2025
Integrate training data: Use actual training data instead of mock responses for intelligent AI responses 94aafab harismlnaslm commited on Oct 27, 2025
Enhance mock responses with better context awareness and general knowledge 41a52ad harismlnaslm commited on Oct 27, 2025
Switch to Llama-2-7b-chat-hf model with proper chat formatting baf2e68 harismlnaslm commited on Oct 27, 2025
Switch to DialoGPT-small and add direct AI response for non-Textilindo questions b0f2f89 harismlnaslm commited on Oct 27, 2025
Fix README.md YAML frontmatter configuration for HF Spaces b1b57bb harismlnaslm commited on Oct 27, 2025
Simplify app.py and requirements.txt for HF Spaces compatibility f67dde9 harismlnaslm commited on Oct 27, 2025