Back to Case Studies

Dialogix

AI English-Speaking Partner for Personalised Conversation Practice with Instant Mistake Feedback

VentureEducation & EdTechMar 2024 – Mar 2025
0.95
Accuracy of mistake feedback
Top 3
Mistakes per talk, with rule and fix
5 inputs
Level, topic, grammar shape each talk
Co-founder
And Chief AI Officer of the startup

My Role

Role
Co-founder & Chief AI Officer
Own venture
Team
Solo build, with a co-founder CEO
Stage reached
MVP / beta, stopped (no PMF)
Key decisions
  • Only the top three mistakes, with rule and fix
  • AI replies capped at two sentences
  • Self-hosted Whisper so audio stays in-house

Approach at a Glance

Details
  1. 1Topic Generation
  2. 2Conversation Partner
  3. 3Structured Mistake Feedback
  4. 4Speech-to-Text
  5. 5Backend and Product

Executive Summary

Dialogix is an AI conversation partner for people learning English, built as my own startup together with a co-founder and CEO. I was co-founder and Chief AI Officer, and built the AI, the backend and the speech-to-text service myself.

Learners don't just chat with a bot. Every conversation is shaped around what they need to practise:

  • Personalised openers: the system starts a dialogue matched to the learner's English level, topic, sub-topic, grammar area and the specific rule to practise, such as Business English, talking to investors, in the present simple.
  • A native-speaker partner: the AI keeps the conversation going in short replies of up to two sentences, steering it towards the phrase or rule being practised.
  • Speaking, not only typing: spoken answers are transcribed by a self-hosted Whisper service.
  • Feedback that teaches: after the conversation, the learner gets the three most important mistakes, each with the corrected version, the name of the rule and a short explanation.

The feedback was 0.95 accurate on an offline test set. The product reached the MVP / beta stage. We stopped it because we didn't find product-market fit.


Product Context

Most language learners struggle with speaking practice. Real conversation partners are expensive or not always available, and generic chatbots chat but don't teach: they don't focus on what the learner is working on, and they either ignore mistakes or flood the learner with corrections.

The product had to:

  • Target the practice: keep a natural conversation centred on a chosen topic, phrase or grammar rule.
  • Stay at the learner's level: adapt language and questions to their English level.
  • Correct usefully: pick the few mistakes that matter most and explain them briefly, instead of listing everything.
  • Support speech: let learners speak, since speaking is the skill they most want to practise.

Technical Approach

  1. Topic Generation – An LLM writes the opening question from the learner's parameters: level, topic, sub-topic, grammar and rule, ignoring any left empty. If the learner doesn't like the opener, the previous attempts are fed back as rejected, and a new one is generated.

  2. Conversation Partner – The dialogue runs with a system prompt that sets the AI as a native English speaker, focused on the phrase, grammar and rule to practise, and limited to two sentences per message so the learner does most of the talking.

  3. Structured Mistake Feedback – A LangChain chain analyses all of the learner's messages, skips punctuation, and returns the three most important mistakes as structured JSON validated against a typed schema: the mistaken fragment, the corrected fragment, the rule and an explanation of up to 15 words. If there are no mistakes, the learner gets praise instead. Feedback accuracy was 0.95 on an offline test set.

  4. Speech-to-Text – A separate, containerised Whisper service transcribes spoken answers, so audio never has to leave our infrastructure.

  5. Backend and Product – A Flask API with authentication and accounts and real-time messaging over Socket.IO, storing chat history in MongoDB, plus a support service that forwards tickets to the team. The web app and landing page are built with Next.js, and every service runs in Docker.


Outcome

We built a working MVP that runs a personalised, level-appropriate speaking practice and gives short, accurate feedback, with 0.95 accuracy on an offline test set. It reached the beta stage, and we stopped it because we didn't find product-market fit. The hardest lesson was not technical: a product that works well still needs a market that will pay for it.

Technologies

LLMsLangChainOpenAIStructured OutputWhisperSpeech-to-TextFlaskSocket.IOMongoDBNext.jsDocker

Planning something similar?

Tell me about it on a short call. New projects can start within 2 weeks