# π³π¬ Naija Agent
### LLM-Powered User Modelling & Personalised Recommendation System
**DSN Γ Bluechip Technologies β LLM Agent Challenge Β· Hackathon 3.0**
---
## π Live Application
**
naija-agent-production.up.rβ¦
---
## π Overview
Naija Agent is a two-task LLM-based system that models Nigerian user behaviour and delivers personalised cross-domain recommendations. It is built on real data from **Yelp**, **Amazon Reviews**, and **Goodreads**, powered by **Claude claude-opus-4-5**, and contextualised deeply for Nigerian users, language, and culture.
| Task | Description |
|------|-------------|
| **Task A β User Modelling** | Simulates how a specific user would review an unseen item β capturing their tone, rating behaviour, vocabulary, and Nigerian cultural context |
| **Task B β Recommendation** | Delivers personalised cross-domain recommendations using chain-of-thought reasoning, handling cold-start users and multi-turn refinement |
---
## ποΈ Architecture
---
naija-agent/
βββ app/
β βββ main.py # FastAPI endpoints β Task A and Task B
β βββ agent.py # AI brain β Claude API + prompt engineering
β βββ data.py # Dataset loader β Yelp, Amazon, Goodreads
β βββ index.html # Single-page frontend UI
β βββ data/
β βββ yelp_sample.json # 26 users, 452 Nigerian businesses
β βββ amazon_sample.json # 50 users, 473 products
β βββ goodreads_sample.json # 46 users, 200 books
βββ extract_data.py # One-time data extraction pipeline
βββ requirements.txt # Python dependencies
βββ Dockerfile # Container definition
βββ docker-compose.yml # Multi-service orchestration
βββ README.md
## π Datasets
---
| Dataset | Source | Users | Items | Domain |
|---------|--------|-------|-------|--------|
| Yelp | Kaggle (yelp-dataset) | 26 | 452 businesses | Food & Restaurants |
| Amazon Reviews | Kaggle (amazon-product-reviews) | 50 | 473 products | Products & Shopping |
| Goodreads | Ka β¦