key_word_Fast_API / services /analyzer.py

Commit History

fix: Improve prompts to return JSON object, add error for list response
5b10e71

ihtesham0345 commited on

perf: Reduce max_new_tokens 1500→800, cut output by 50% for faster CPU inference
b0fb0e7

ihtesham0345 commited on

fix: Simplify prompts for 0.5B model reliability + resilient error handling
6e467d1

ihtesham0345 commited on

feat: Add multi-platform social media analysis with 7 platform-specific endpoints
38098b4

ihtesham0345 commited on

Add Schema Validation Safety Net: Auto-fill missing JSON fields with defaults
c31af39

ihtesham0345 commited on

Fix JSON Crash: Lower Temp to 0.3 + Enhance Repair Logic + Add Error Fallback
fdbd75a

ihtesham0345 commited on

Switch to Qwen-0.5B (Nano) for instant speed and 100% stability
f169fdd

ihtesham0345 commited on

Optimize for Speed: 30 Keywords / 1500 Tokens to stop Local CPU Timeout
99776a0

ihtesham0345 commited on

Reduce to 50 keywords to prevent CPU Timeout (Internal Server Error)
4d779c6

ihtesham0345 commited on

Scale up to 150 keywords using Local Inference
9a256bc

ihtesham0345 commited on

Migrate to Local Inference (Qwen-1.5B) to permanently bypass API limits: Re-added Torch/Transformers
50196f5

ihtesham0345 commited on

Switch to SmolLM2 (HF Native) to resolve provider support issues
e7e750b

ihtesham0345 commited on

Switch to Qwen-1.5B (Lightweight) to fix all API limits
24ee997

ihtesham0345 commited on

Switch to Google Gemma-2-9B-IT for dependable serverless support
ddcd3d9

ihtesham0345 commited on

Fix NameError and Switch to Phi-3-Mini to bypass 402 Payment Limits
3509502

ihtesham0345 commited on

Fix truncation error: Reduce to 50 keywords + JSON repair logic
7252943

ihtesham0345 commited on

Increase keyword limit to 150 and max_tokens to 8000
394498e

ihtesham0345 commited on

Extend output: 10 keywords/hashtags + add Content Titles
e8267ad

ihtesham0345 commited on

Update prompts for stronger SEO data extraction
3d17470

ihtesham0345 commited on

Switch to Qwen/Qwen2.5-7B-Instruct for reliable availability
1b66ca1

ihtesham0345 commited on

Switch to Zephyr-7B-Beta for Chat API compatibility
ad41aff

ihtesham0345 commited on

Fix API method: Use chat_completion for Mistral Instruct
d877e39

ihtesham0345 commited on

Upgrade to Mistral-7B Serverless API for high intelligence
33ab95a

ihtesham0345 commited on

Fix 500 error: Add sentencepiece and optimize speed
b6a5fc1

ihtesham0345 commited on

Switch to local LLM (TinyLlama)
0bf7aa3

ihtesham0345 commited on

Initial commit of SEO Analyzer FastAPI
663cb99

ihtesham0345 commited on