Skip to content

TogoLM v1.0 — First open-source AI infrastructure for Togo

Choose a tag to compare

@omarfarouk228 omarfarouk228 released this 13 Jun 00:25
· 195 commits to main since this release

What is TogoLM?

TogoLM is the first open-source AI knowledge layer dedicated to Togo — a complete
pipeline from raw web scraping to a fine-tuned LLM and public REST API that developers,
startups, and institutions can build upon.


What's included in v1.0

Corpus — 62 168 documents, 30 sources

  • Government: jo.gouv.tg, finances.gouv.tg, education.gouv.tg, agriculture.gouv.tg,
    commerce.gouv.tg, justice.gouv.tg, otr.tg, inseed.tg, cnss.tg, service-public.gouv.tg,
    presidenceduconseil.gouv.tg, legitogo.gouv.tg, and more
  • Press: icilome.com, togoactualite.com, togofirst.com, lomeinfos.com,
    letogolais.com, savoirnews.net, republicoftogo.com
  • Encyclopedic / international: fr.wikipedia.org, europa.eu, unicef.org

Fine-tuned model — published on Hugging Face

REST API — live at api.togolm.kofcorporation.com

  • POST /v1/query — RAG question answering
  • POST /v1/query/stream — SSE streaming
  • GET /v1/search — Full-text search
  • GET /v1/stats — Corpus statistics

Showcase — live at togolm.kofcorporation.com

  • Corpus browser, full-text search, streaming RAG chat, developer docs

Quick start

git clone https://github.com/omarfarouk228/togolm.git
cd togolm && cp .env.example .env
uv sync
uvicorn api.app.main:app --reload --port 8000

---
Project lead: Omar Farouk KOUGBADA · KOF CORPORATION · Lomé, Togo