Releases: omarfarouk228/togolm
Releases · omarfarouk228/togolm
Release list
v1.0.1
What's new
/developers page redesign
- Sidebar with icons, section groups, and active green left-border indicator
- Endpoint cards with split REQUÊTE / RÉPONSE dark code panels (cURL · Python · JS)
- BASE URL card with copy button, HTTP headers table, 4-step getting-started guide
- Postman collection export button (i18n-aware, FR/EN)
Gemini 2.5 Flash thinking tokens
/v1/query/streamnow emitsthinkingSSE events from Gemini's reasoning phase- Showcase chat shows a collapsible "Réflexion en cours" block that auto-closes when the answer starts streaming
- Thinking disabled on off-topic fallback responses
Analytics fix
NEXT_PUBLIC_GA_IDinjected at build time vianixpacks.toml
Off-topic & RAG hardening
- Stricter off-topic detection; code-generation requests blocked at LLM fallback level
- Retrieval threshold raised; sources hidden on general-knowledge answers
/v1/statsand/v1/categoriesexempted from rate limiting
TogoLM v1.0 — First open-source AI infrastructure for Togo
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
- togolm/togolm-7b-instruct-v1
— Mistral 7B Instruct v0.3 fine-tuned with QLoRA on the Togolese corpus - togolm/togolm-corpus-v1 — Q&A dataset used for fine-tuning
REST API — live at api.togolm.kofcorporation.com
POST /v1/query— RAG question answeringPOST /v1/query/stream— SSE streamingGET /v1/search— Full-text searchGET /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