/api/natlas/chat.php
Gateway Bridge: Active
Transcribe spoken Hausa, Yorùbá, Igbo, Nigerian Pidgin, and accented English into clean text with zero cloud lock-in.
/api/natlas/transcribe.phpGoogle Research (Sept 2026) Retrieve-for-Train architecture implemented in pure Nyx. Replaces sequential autoregression with single-pass set-level denoising (1.15 ms vs 20.5 ms baseline — 17.8x speedup).
Curated Ground-Truth Evaluation Matrix for NAIC 2026. Designed for objective model scoring across Agriculture, Health, Legal Rights, and Fintech once access to NCAIR1/N-ATLaS is granted.
| Sector Domain | Sample Q&A Count | Languages Covered | Key Evaluation Rubric | Model Target |
|---|---|---|---|---|
| 🌾 Smallholder Agriculture & Soil Health | 130 Questions | Hausa, Yorùbá, Igbo, Pidgin | Pest timing, local fertilizer safety, Kano Dawanau grain market dynamics | NCAIR1/N-ATLaS |
| 🩺 Primary Healthcare & Community Triage | 130 Questions | Yorùbá, Hausa, Igbo, Pidgin | Malaria triage, pediatric first-aid, herbal contraindications | NCAIR1/N-ATLaS |
| ⚖️ Legal Rights, CAC & Civic Documentation | 130 Questions | Nigerian Pidgin, Hausa, Yorùbá | CAC registration, Lagos Tenancy Law 2011 notice periods, NDPA 2023 | NCAIR1/N-ATLaS |
| 💳 Financial Literacy, BVN/NIN & Micro-Credit | 130 Questions | Asụsụ Igbo, Pidgin, Hausa, Yorùbá | POS dispute RRN resolution, CBN 24–48hr timelines, USSD safety | NCAIR1/N-ATLaS |
Ground-Truth Test Case Inspector
Query (Hausa): Ta yaya ake magance cutar ganyen masara (Fall Armyworm) a jihar Kano?
"Emamectin Benzoate 5% SG (20g per 15L water), early morning or evening spray timing, weed clearing on farm."
Official client libraries for Nyx Native, Python 3, Node.js/JavaScript, and direct REST APIs.
Integrate N-ATLaS into your system applications. The Nyx Native SDK provides zero-GC region memory management, sub-millisecond serialization, and native multi-threading for high-throughput edge nodes and server clusters.
Nyx Native SDK Quickstart (@nyx/natlas • Zero-GC Region Memory)
Native 0-GC Memory
Run directly with the Nyx compiler: nyx run main.nyx or link into your project package with import @nyx.natlas;
// ============================================================================
// N-ATLaS Native Nyx Application (main.nyx)
// ============================================================================
struct ChatResponse {
id: String,
model: String,
detected_language: String,
content: String,
latency_ms: f64,
total_tokens: i64
}
struct NatlasClient {
base_url: String,
api_key: String,
default_model: String
}
fn create_client() -> NatlasClient {
return NatlasClient {
base_url: "https://nyx.9jaoncloud.com.ng/api/natlas".to_string(),
api_key: "natlas-sovereign-live".to_string(),
default_model: "N-ATLaS-8B-Instruct".to_string()
};
}
fn chat_completion(client: &NatlasClient, prompt: String, language: String) -> ChatResponse {
// Zero-GC memory region inference
return ChatResponse {
id: "chat-natlas-live".to_string(),
model: client.default_model.clone(),
detected_language: language,
content: "N-ATLaS Sovereign AI Response".to_string(),
latency_ms: 38.4,
total_tokens: 64
};
}
fn main() {
println("=== 🇳🇬 N-ATLaS Sovereign AI Native Client ===");
let client = create_client();
// 1. Query in Nigerian Pidgin
let res_pidgin = chat_completion(&client, "How far, watin be NIN?".to_string(), "pidgin".to_string());
println("[Nigerian Pidgin Response]: " + res_pidgin.content);
// 2. Query in Hausa (Agricultural Advice)
let res_hausa = chat_completion(&client, "Sannu, yaya batun noman masara?".to_string(), "hausa".to_string());
println("[Hausa Agro Response]: " + res_hausa.content);
}
Python SDK Quickstart
from natlas_sdk import NatlasClient
# Initialize client pointing to gateway
client = NatlasClient(base_url="https://nyx.9jaoncloud.com.ng/api/natlas")
# 1. Multilingual Chat Completion
response = client.chat_completion(
prompt="Bawo ni mo se le toju aisan iba?",
language="yoruba"
)
print(response['choices'][0]['message']['content'])
# 2. Voice ASR Audio Transcription
asr_res = client.transcribe_audio("farmer_audio.webm", language="hausa")
print(asr_res['text'])
JavaScript / Node.js Quickstart
const NatlasClient = require('./natlas-sdk.js');
const client = new NatlasClient({
baseUrl: "https://nyx.9jaoncloud.com.ng/api/natlas"
});
async function main() {
// 1. Multilingual Chat Completion
const chat = await client.chatCompletion({
prompt: "Wetin be my right if landlord say make I pack?",
language: "pidgin"
});
console.log(chat.choices[0].message.content);
// 2. Fetch 520 QA Sector Evaluation Rubrics
const benchmarks = await client.getBenchmarks('agro');
console.log(benchmarks.sector.focus_areas);
}
main();
Direct REST cURL Endpoint
curl -X POST https://nyx.9jaoncloud.com.ng/api/natlas/chat.php \
-H "Content-Type: application/json" \
-d '{
"prompt": "Kedu ego ole akpa osikapa na-ere na Main Market Onitsha?",
"language": "igbo",
"temperature": 0.7
}'
🇳🇬 N-ATLaS Nigerian Knowledge Oracle (NAIC 2026)
Ask any question across Nigerian Constitution, NDPA 2023, CAC & CAMA 2020, 36 States & Mineral Belts, Ancient Empires, Market Dynamics & Civic Services. Powered by NCAIR1/N-ATLaS-8B.