Commit History

fix: handle serverless 404 by falling back to DialoGPT/distilgpt2; default serverless model to DialoGPT
7396832

harismlnaslm commited on

feat(endpoint): support HF_ENDPOINT_URL (OpenAI-style chat completions) using HUGGINGFAC_API_KEY_2; keep serverless fallback
b98c2d7

harismlnaslm commited on

fix(chat): stop dumping company overview; use training answer at >=0.85 similarity; only show overview for generic queries
54c20db

harismlnaslm commited on

Serverless-safe defaults: fallback from LLaMA/TinyLlama to DialoGPT; 404 auto-fallback to distilgpt2; robust prompt/cleanup for both families
3a93207

harismlnaslm commited on

Default to TinyLlama; treat TinyLlama like Llama; add 404 fallback to TinyLlama; update available models
e3e9bcd

harismlnaslm commited on

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

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

Add company overview synthesis when query mentions 'textilindo' without 95% match
5b0123f

harismlnaslm commited on

Increase minimum threshold in find_best_match to 85%
592f8de

harismlnaslm commited on

Increase similarity threshold to 95% and add debug logging
45b5185

harismlnaslm commited on

Fix all indentation errors in app.py
567ace1

harismlnaslm commited on

Simplify generate_response logic to only use training data for 90%+ similarity matches
05cc402

harismlnaslm commited on

Disable auto-training for debugging weather question issue
65257b0

harismlnaslm commited on

Add explicit weather word detection to force general question classification
5b0e82e

harismlnaslm commited on

Fix syntax errors in app.py
fbc8171

harismlnaslm commited on

Simplify general question detection logic
9737a6e

harismlnaslm commited on

Add debug logging for training data matching
c51406a

harismlnaslm commited on

Add debug logging for general question detection
a613f31

harismlnaslm commited on

Add more general question indicators including 'right now'
f80bbff

harismlnaslm commited on

Move general question detection before training data check
60a0269

harismlnaslm commited on

Add general question detection to skip training data for weather/time questions
1e7f426

harismlnaslm commited on

Improve similarity matching by filtering common words to prevent false positives
ff0bd6a

harismlnaslm commited on

Prioritize high similarity training data matches (90%+) over AI model
6440987

harismlnaslm commited on

Fix question classification: prevent general questions from using training data
725cf7b

harismlnaslm commited on

Remove HTML interface, keep API only
c152345

harismlnaslm commited on

Add better error logging and contextual fallback responses
95f3204

harismlnaslm commited on

Switch to GPT-2 model for better API reliability
ee609d9

harismlnaslm commited on

Fix AI response priority: Use AI model for general questions, training data only for business questions
81a3ac1

harismlnaslm commited on

Fix 404 error: Switch from Llama 3.1 8B to DialoGPT-medium (available on HF API)
b35c210

harismlnaslm commited on

Add auto-training functionality - continuous background training with trained response cache
77cde9a

harismlnaslm commited on

Configure to use HUGGINGFAC_API_KEY_2 and Meta Llama 3.1 8B as default model
4c10d31

harismlnaslm commited on

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

Add AI training functionality: Integrate training scripts with web interface and API endpoints
30f839d

harismlnaslm commited on

Update documentation and add training data integration
9d43f25

harismlnaslm commited on

Integrate training data: Use actual training data instead of mock responses for intelligent AI responses
94aafab

harismlnaslm commited on

Fix indentation error in get_gpu_info function
c5e93f3

harismlnaslm commited on

Enhance mock responses with better context awareness and general knowledge
41a52ad

harismlnaslm commited on

Switch to DialoGPT-small with proper formatting
44a76d5

harismlnaslm commited on

Force GPT-2 model selection
1e78269

harismlnaslm commited on

Switch to GPT-2 model with proper formatting
4eaf8da

harismlnaslm commited on

Simplify to use DialoGPT-medium with proper formatting
e9c5017

harismlnaslm commited on

Switch to DialoGPT-large and add better logging
b21430f

harismlnaslm commited on

Switch to Llama-2-7b-chat-hf model with proper chat formatting
baf2e68

harismlnaslm commited on

Switch to DialoGPT-small and add direct AI response for non-Textilindo questions
b0f2f89

harismlnaslm commited on

Add better logging and direct AI test endpoint
4b954a0

harismlnaslm commited on

Improve keyword matching for better responses
78440ac

harismlnaslm commited on

Fix model compatibility and improve chat interface
b6b08c4

harismlnaslm commited on

Fix short_description length in README.md
9a3240f

harismlnaslm commited on

Fix README.md YAML frontmatter configuration for HF Spaces
b1b57bb

harismlnaslm commited on

Simplify app.py and requirements.txt for HF Spaces compatibility
f67dde9

harismlnaslm commited on