HumaiX
P2Vocational training and healthcare · Germany

RAG-Based Support Automation in Healthcare Training

A support team could not keep up with thousands of students asking about enrolment, payment, exams, and technical issues, and answering correctly meant knowing 21 medical textbooks plus every institutional procedure. We built a RAG assistant that answers from sources and hands over to a human whenever it is not sure.

21

Medical textbooks indexed

913,531

Past conversations

275

Web pages

The problem

The institution's support team was buried under enrolment, payment, exam, certificate, and technical questions from thousands of students. Scale was not the hard part. Answering correctly required knowing the contents of 21 medical textbooks and all of the institution's procedures, and in a healthcare context a wrong answer is not an acceptable error — which ruled out a standard chatbot from the outset.

How we approached it

All 21 medical textbooks and the institution's full content went into a vector database. Every incoming question is classified first — five main categories, fourteen subcategories, and over thirty tags — then semantic search finds the most relevant source, and the answer is generated from that source alone rather than from the model's general knowledge. Confidence scoring is the backbone of the architecture: below the threshold the system does not answer at all, it routes the case to a human. In a healthcare context the right design decision was not to widen coverage but to stay silent where certainty runs out.

Outcome

  • End-to-end flow from HubSpot ticket through classification and semantic search to answer and CRM update
  • Automatic language detection across German and English
  • Context from earlier correspondence preserved across ongoing tickets
  • Answers grounded in retrieved sources rather than the model's general knowledge alone
  • Cases below the confidence threshold routed to a human automatically

Stack

n8nSupabase / pgvectorOpenAI EmbeddingsHubSpot

What this project generalises to

In a regulated field, a knowledge assistant's quality is measured less by how many questions it answers than by how reliably it declines the ones it should. Confidence scoring here is not a tuning parameter — it is the load-bearing column of the architecture.

The service this case is evidence for

Corporate Knowledge Assistant (RAG)

Other case studies

All case studies

Client names are withheld under confidentiality; the sector and region describe the real engagement.

Last updated: 7 August 2026

Talk About Your Knowledge Assistant