Casholgy — Coaching Intelligence — A four-layer AI engine that turns coaching-session transcripts into summaries, insights, plans and QA.

Casholgy — Coaching Intelligence

A four-layer AI engine that turns coaching-session transcripts into summaries, insights, plans and QA.

Year
2025 – 2026
Client
Casholgy
Services
AI & LLM integration · Prompt & pipeline engineering · Data & evaluation
Category
AI & SaaS
Tech stack
Azure OpenAI, Python, Prompt engineering, JSON Schema, NLP tagging libraries, Structured outputs, Evaluation harness
The brief

For a financial-coaching platform we rebuilt the AI that sits behind every session: a Layer 1 session-summary engine, a Layer 2 insights engine that tags goals, pains and tone, a Layer 3 coaching-plan generator and a Layer 4 QA-and-compliance check — plus the design of 'Millie', the assistant that puts those outputs in front of users and coaches.

The challenge

The platform already had a session-summary prompt running on Azure OpenAI, but outputs were inconsistent: wrong structure, wrong voice (coach feedback drifting into third person), missing sections, and no way to test changes because there were very few real transcripts. A client demo was days away. Cost per session mattered as much as quality, because the model runs on every coaching conversation as the business scales.

What we built

  • Layer 1 — Session Summary Engine — Rewrote the coach, user and admin summary prompts into a shared context block plus role-specific instructions, fixing voice, structure and the missing coach-feedback section. Human-readable narrative only — no JSON leaking into the UI.
  • Layer 2 — Coaching Insights — Moved goal tags, pain tags, tone and contradiction detection out of free-text prompts into deterministic library-based extraction plus a strict JSON schema, so quadrant scores and trend data are valid every run and cheap to compute.
  • Layer 3 — Coaching Plan Engine — A plan generator that references Layer 2 tags and scores explicitly, producing structured, compliant plans coaches can edit rather than rewrite.
  • Layer 4 — QA & Compliance — An automated pass that scores every output for framework alignment, safe-zone language and coaching quality before it reaches a coach or user.
  • Test-transcript programme — Synthetic transcripts across personas (stress, retirement anxiety, property, cost-of-living pressure) with built-in triggers the system must flag, and a pass/fail log for every prompt iteration.
  • Integration pack for the in-house developer — Final prompt library, Layer 2 schema, how to load context blocks in Azure, where to enforce JSON, where to log contradictions, and the mapping to coach/admin UI fields.
  • Millie — product design — A phased design for the assistant layer: rule-based coach assistant first, adaptive engagement driver second, agentic orchestrator third — each phase gated on data maturity and QA.

How we worked

Started as a short prompt-engineering audit under a hard deadline and grew into an ongoing engineering partnership. Every prompt change shipped with before/after samples; every layer got a documented input/output contract so the platform team could integrate without guessing.

Outcome

Consistent, correctly structured summaries in time for the client demonstration, a repeatable pipeline where each layer feeds the next through validated JSON, and a testing method that lets the team change prompts with confidence instead of hope. The engagement expanded to full-time product engineering on the platform.

Gallery
4

AI layers designed and shipped

JSON + narrative

Output formats validated

4 × 2 transcripts

Test personas

Ongoing

Engagement

Frequently asked questions
  • Why move tagging out of the LLM prompt and into libraries?+

    Deterministic extraction is cheaper, faster and testable. The model is reserved for interpretation and narrative, where it adds value; classification and scoring run without it wherever possible.

  • How do you test AI output quality with almost no real data?+

    By writing synthetic transcripts with known triggers — a client who contradicts themselves, a pain point that must be tagged — and asserting the pipeline catches each one. It's unit testing for prompts.

KineticHex team
Let's talk

Ready to build something that lasts?

admin@kinetichex.com