CommencerCommencez gratuitement

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.

Cet exercice fait partie du cours

<cours>Multi-Modal Systems with the OpenAI API</cours>
Voir le cours

Instructions de l’exercice

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

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

client = OpenAI(api_key="")

# Translate the transcript into English
response = ____

# Extract the translated transcript text
en_transcript = ____
print(en_transcript)
Modifier et exécuter le code