Skip to content

Med Assist Voice Consultation

LiveKit-based voice consultation app with agent backend, web UI, and LLM support for medical assistance.

Publisher
AMD

Overview

Med Assist Blueprint UI

This Solution Blueprint provides an end-to-end real-time med-assist voice consultation workflow. It deploys frontend and agent services with LiveKit media transport, Qwen ASR transcription, and an LLM backend for consultation report generation.

It helps clinicians document voice consultations by transcribing doctor–patient conversations in real time, generating structured SOAP-style (Subjective, Objective, Assessment, Plan) reports for review, and surfacing potential clinical safety issues as categorized alerts (critical / warning / info) during the session.

Disclaimer: This project is a demonstration application intended for technical evaluation only. It does not provide medical advice, diagnosis, or treatment, and must not be used as a substitute for professional medical judgment.

AMD Solution Blueprints are packaged as Helm charts for deployment on a Kubernetes cluster. For development or further exploration, the source code is public and available in the Solution Blueprints GitHub repository.

Architecture

Diagram of a med-assist voice consultation workflow: the user joins a LiveKit session from the browser; an agent transcribes the doctor–patient call using an ASR service and, with support from an LLM, generates a structured SOAP consultation report for the user.Diagram of a med-assist voice consultation workflow: the user joins a LiveKit session from the browser; an agent transcribes the doctor–patient call using an ASR service and, with support from an LLM, generates a structured SOAP consultation report for the user.

STUNner Integration

Media traffic from the browser-based frontend to the LiveKit service now flows through STUNner, a Kubernetes-native WebRTC media gateway. STUNner acts as a STUN/TURN gateway between external clients and the LiveKit pods, simplifying NAT traversal and firewall configuration in cloud-native environments. This replaces direct exposure of LiveKit media ports in many setups.

ComponentRole
STUNner (‘stunner’)Kubernetes-native WebRTC media gateway (STUN/TURN server) that acts as a secure entry point for media traffic between the browser-based frontend and LiveKit.
LiveKit service (livekit)WebRTC room and media transport.
Agent service (pythonServices.agent)Handles transcription and LLM interactions.
Frontend service (pythonServices.frontend)Web UI on port 7860 for session interaction.
AIMDefault LLM backend dependency using Llama 3.3 70B Instruct (can be replaced via llm.existingService).
ASR service (qwen-asr)Default speech-to-text backend (can be replaced via qwen-asr.existingService).

Key Features

  • Real-time voice consultation flow over LiveKit with a browser-based frontend.
  • Continuous transcription of the doctor–patient call via Qwen ASR during the session.
  • LLM-powered generation of a structured SOAP-style consultation report (Subjective, Objective, Assessment, Plan) from the call transcript.
  • Flexible deployment model: deploy bundled LLM/ASR dependencies or reuse existing OpenAI-compatible endpoints.