Transforms unstructured text (specifically Morocco's ministerial decree on digitizing public procurement) into a queryable knowledge graph. Llama 3.1 (8B, served via Ollama) extracts entities and relationships from the source text, which are incrementally stored as triplets in Neo4j. User questions in natural language are converted to Cypher queries via Langchain, retrieving relevant graph relationships (full-text indexed) and generating grounded answers with source attribution, reducing hallucination compared to a plain LLM. Built and run on Google Colab.
Fine-tuned DarijaBERT with LoRA to classify Moroccan Darija dialect text as positive, negative, or neutral.
Offline agent that turns plain French, English, or Arabic questions into verified SQL over a 117K-row Caterpillar support-claims database, validated at 87% execution accuracy on a 100-question, 3-language benchmark.