Logo Lanfrica

ghwmelite-dotcom/ask-ozzy

Domaine:

digital infrastructure

Type de record:

software
Créateur:
ghw
Hôte:
AI-powered productivity platform for Government of Ghana operations. Multi-model chat, deep research, document drafting, data analysis, RAG knowledge base, and multi-channel access (web, WhatsApp, SMS, USSD). Built on Cloudflare Workers. --- **AskOzzy** is a full-stack AI assistant built exclusively for Ghana's civil service. It gives civil servants, students, and the general public access to intelligent document drafting, deep research, data analysis, and multilingual communication — all running on Cloudflare's global edge network for speed, security, and data sovereignty. ## ✨ Highlights - 🤖 **10 AI Models** — GPT-OSS 120B, Llama 4 Scout, Llama 3.3 70B, QwQ 32B, Qwen3 30B, Mistral Small, Gemma 3, Granite 4.0, and more - 🔌 **139+ API Endpoints** — Single Hono/TypeScript Worker powering the entire backend - 🗄️ **32 Database Tables** — Comprehensive relational schema across 9 migration files - 📝 **45 Prompt Templates** — GoG memos, cabinet briefs, policy drafts, student essays, IT specs - 📴 **Offline-First PWA** — Works without internet; queues and syncs automatically - 📡 **Multi-Channel Access** — Browser, WhatsApp, SMS, and USSD (`*713*OZZY#`) ## 🛡️ The Trust Pipeline — no raw model output, ever Every response travels through a six-gate anti-hallucination pipeline: known-error registry → grounded retrieval → cited drafting → independent fact-check → adjudication → channel-aware formatting. ## 🏗️ Architecture One Worker. Every channel. Zero cold starts. ```mermaid flowchart LR subgraph CH["📡 Channels"] WEB["🌐 Web PWA offline-first "] WA["💬 WhatsApp"] SMS["✉️ SMS"] USSD["📟 USSD *713*OZZY# "] end subgraph EDGE["☁️ Cloudflare Edge — single Hono Worker"] MW["CORS · Auth · Rate Limiting"] RT["139+ Route Handlers"] end subgraph DATA["🗄️ Edge Data & AI"] D1[("D1 · SQLite 32 tables")] KV[("KV Sessions 7-day TTL")] VEC[("Vectorize 768-dim cosine")] AI["⚡ Workers AI 10 models, SSE streaming"] PAY["💳 Paystack GHS payments"] end WEB & WA & SMS & USSD --> MW --> RT RT --> D1 & KV & VEC & AI RT --> PAY style CH fill:#1a1420,stroke:#CE1126,color:#e7eaf0 style EDGE fill:#141a16,stroke:#006B3F,color:#e7eaf0 style DATA fill:#1a180f,stroke:#FCD116,color:#e7eaf0 ``` ### 🔍 RAG pipeline ```mermaid flo …