Get startedGet started for free

Translating the transcript into English

With the customer call transcript created, it's time to translate it into English for processing.

The transcript you created previously is available as transcript, and the country code is stored in country_code.

This exercise is part of the course

Multi-Modal Systems with the OpenAI API

View Course

Exercise instructions

  • Translate the text in transcript into English.
  • Extract the transcript text from response.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

client = OpenAI(api_key="")

# Translate the transcript into English
response = ____

# Extract the translated transcript text
en_transcript = ____
print(en_transcript)
Edit and Run Code