Skip to content
M

MindScribe.AI

Helping Indian therapists focus on care, not paper

Created on 7th September 2025

M

MindScribe.AI

Helping Indian therapists focus on care, not paper

The problem MindScribe.AI solves

Therapist can use this product to summarize session transcripts and keep track patient sessions. They can just upload the recording without the hassle of writing everything down.

Challenges we ran into

Challenge:
We got trouble formatting and displaying the generated transcription from the session recording.

The entire process begins in the transcribeAudio function. When you upload a recording, this function sends it to the ElevenLabs API.

The key thing to understand is that the ElevenLabs Speech to Text API, as used in this app, returns the entire transcription as a single block of text. It does not automatically separate speakers or provide individual timestamps for each sentence.

Solution:
The structureTranscript function then performs the crucial conversion step. It takes this single text string and formats it into the application's required TranscriptEntry[] array structure by prompting gemini-2.5-flash model. Since all the text comes in one piece, it creates an array with just one single entry.

Finally, when you navigate to the new session's page (SessionDetailPage), the application fetches the session data, including the transcript array.

This array is passed down to the TranscriptPanel component, which is responsible for rendering it. The panel simply maps over the array and displays each entry. In the case of an ElevenLabs transcription, it will only have one item to display.

Tracks Applied (1)

Voice AI & Conversational Products | Powered by Elevenlabs

Used Elevenlabs to generate transcript of therapy session recording between therapist and patients.
ElevenLabs

ElevenLabs

Discussion

Builders also viewed

See more projects on Devfolio