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.
Este ejercicio forma parte del curso
Multi-Modal Systems with the OpenAI API
Instrucciones del ejercicio
- Translate the text in
transcriptinto English. - Extract the transcript text from
response.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
client = OpenAI(api_key="")
# Translate the transcript into English
response = ____
# Extract the translated transcript text
en_transcript = ____
print(en_transcript)