Logo Lanfrica

Maireg789/Telegram-Medical-Pipeline

Domain:

healthcare

Record type:

softwareproject
Creator:
Mai
Host:
An end-to-end ELT pipeline for Ethiopian medical data. Scrapes Telegram channels, transforms data using dbt & Postgres, and enriches it with YOLO object detection. # EthioMed: AI-Enriched Medical Data Warehouse **Author:** Maireg **Role:** Data Engineer at Kara Solutions **Status:** Final Submission (Completed Task 1–5) --- ## πŸ“Œ Project Overview EthioMed is a production-ready data engineering pipeline that transforms unstructured data from Ethiopian medical Telegram channels into a structured, AI-enriched analytical warehouse. By integrating **Computer Vision (YOLOv8)**, **dbt for dimensional modeling**, and **Dagster for orchestration**, the platform provides actionable insights into medical product trends, promotional strategies, and channel activity across Ethiopia. --- ## πŸ—οΈ Technical Architecture The project follows a modern **ELT (Extract, Load, Transform)** architecture: * **Ingestion (Extract):** Telethon-based scrapers extract raw messages and images. * **Enrichment (AI/CV):** **YOLOv8** processes images to categorize content. * **Storage (Load):** Raw data (JSON) and YOLO results (CSV) are loaded into **PostgreSQL**. * **Transformation (Transform):** **dbt** models raw data into a cleaned **Star Schema** with quality tests. * **Serving (API):** **FastAPI** serves analytical endpoints for business reporting. * **Orchestration:** **Dagster** manages lineage, daily scheduling, and automated testing. --- ## πŸ“‚ Project Structure ```text Telegram-Medical-Pipeline/ β”œβ”€β”€ api/ # FastAPI Application β”œβ”€β”€ data/ # Local Data Lake (GitIgnored) β”œβ”€β”€ medical_warehouse/ # dbt Project β”œβ”€β”€ scripts/ # Maintenance & Loading Scripts β”œβ”€β”€ src/ # Data Acquisition & Enrichment β”œβ”€β”€ pipeline.py # Dagster Orchestration & Scheduling β”œβ”€β”€ docker-compose.yml # PostgreSQL Orchestration └── requirements.txt # Project Dependencies ``` βš™οΈ Running the Pipeline 1. Automated Orchestration (Dagster) The entire pipeline is orchestrated via Dagster. code Bash dagster dev -f pipeline.py Hardening: Includes an a …

Languages