Problem
Teams need a daily watch over Moroccan press and social media. Because the collected content is sensitive, all AI processing had to stay local.
Data
- 10 Moroccan sources: press, YouTube, X and Facebook
- Evaluation set of 30 annotated articles
Approach
- Automated collection, cleaning and de-duplication of articles
- Report generated twice a day
- Local LLM agents (Ollama qwen2.5, Flowise) for classification and sentiment analysis
- MiniLM embeddings stored in ChromaDB and a RAG chatbot that cites its sources
- Moved inference from CPU to GPU
- Built with Sadik Dassaa, supervised by Dr. Ing. Hasnââ Chaabi
Results
- Classification: 82% accuracy; sentiment: 76% (on 30 annotated articles)
- RAG chatbot: relevant sources in 85% of queries
- Processing time: from several minutes down to 5–15 s per article
What I would improve
- Extend the evaluation set beyond 30 annotated articles for more reliable measurements
- Improve sentiment analysis (76%) with annotated examples from Moroccan media