Loading…
Loading…
OpenAI · LLM + image gen + TTS + transcription
Cortex AI assist (homework drafts, parent digests, announcement copy, profile bios), gpt-image-2 for atelier marketing imagery, Whisper for transcription, OpenAI TTS for narration. All routed through the Koydo ai-gateway Edge Function.
Integration shape
ai-gateway Edge Function (Supabase) routes Cortex requests to OpenAI our default AI model or a higher-capability model (premium tasks). Pseudonymization happens before transmission: learner names → 'student'; tutor names → 'tutor'. PII never leaves Koydo plaintext. ai_usage ledger captures every call (provider, model, latency, cost, accept/edit/regret outcome).
Value exchange
OpenAI gets: educational-sector usage + structured pseudonymization model that other edtech can adopt. Koydo gets: production-grade LLMs at usage-based pricing, gpt-image-2 for image gen (DALL-E 2/3 retired 2026-05-12), Whisper as transcription fallback for on-device STT misses.
Fit note
Per AI Runtime Law (koydo-design): AFM-first on-device → OpenAI fallback → Google Vertex secondary → deterministic template. OpenAI is the primary cloud provider but never the only one. Anthropic is default-off codebase-wide per owner directive 2026-05-24.