View Source AWS.TranscribeStreaming (aws-elixir v1.0.7)

Amazon Transcribe streaming offers four main types of real-time transcription: Standard, Medical, Call Analytics, and Health Scribe.

*

Standard transcriptions are the most common option. Refer to for details.

*

Medical transcriptions are tailored to medical professionals and incorporate medical terms. A common use case for this service is transcribing doctor-patient dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to for details.

*

Call Analytics transcriptions are designed for use with call center audio on two different channels; if you're looking for insight into customer service calls, use this option. Refer to for details.

*

HealthScribe transcriptions are designed to automatically create clinical notes from patient-clinician conversations using generative AI. Refer to [here] for details.

Link to this section Summary

Functions

Provides details about the specified Amazon Web Services HealthScribe streaming session.

Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.

Starts a bidirectional HTTP/2 stream, where audio is streamed to Amazon Web Services HealthScribe and the transcription results are streamed to your application.

Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.

Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.

Link to this section Functions

Link to this function

get_medical_scribe_stream(client, session_id, options \\ [])

View Source

Provides details about the specified Amazon Web Services HealthScribe streaming session.

To view the status of the streaming session, check the StreamStatus field in the response. To get the details of post-stream analytics, including its status, check the PostStreamAnalyticsResult field in the response.

Link to this function

start_call_analytics_stream_transcription(client, input, options \\ [])

View Source

Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.

Use this operation for Call Analytics transcriptions.

The following parameters are required:

*

language-code

*

media-encoding

*

sample-rate

For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.

Link to this function

start_medical_scribe_stream(client, input, options \\ [])

View Source

Starts a bidirectional HTTP/2 stream, where audio is streamed to Amazon Web Services HealthScribe and the transcription results are streamed to your application.

When you start a stream, you first specify the stream configuration in a MedicalScribeConfigurationEvent. This event includes channel definitions, encryption settings, and post-stream analytics settings, such as the output configuration for aggregated transcript and clinical note generation. These are additional streaming session configurations beyond those provided in your initial start request headers. Whether you are starting a new session or resuming an existing session, your first event must be a MedicalScribeConfigurationEvent.

After you send a MedicalScribeConfigurationEvent, you start AudioEvents and Amazon Web Services HealthScribe responds with real-time transcription results. When you are finished, to start processing the results with the post-stream analytics, send a MedicalScribeSessionControlEvent with a Type of END_OF_SESSION and Amazon Web Services HealthScribe starts the analytics.

You can pause or resume streaming. To pause streaming, complete the input stream without sending the MedicalScribeSessionControlEvent. To resume streaming, call the StartMedicalScribeStream and specify the same SessionId you used to start the stream.

The following parameters are required:

*

language-code

*

media-encoding

*

media-sample-rate-hertz

For more information on streaming with Amazon Web Services HealthScribe, see Amazon Web Services HealthScribe.

Link to this function

start_medical_stream_transcription(client, input, options \\ [])

View Source

Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.

The following parameters are required:

*

language-code

*

media-encoding

*

sample-rate

For more information on streaming with Amazon Transcribe Medical, see Transcribing streaming audio.

Link to this function

start_stream_transcription(client, input, options \\ [])

View Source

Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.

The following parameters are required:

*

language-code or identify-language or identify-multiple-language

*

media-encoding

*

sample-rate

For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.