- British English
-
Pour spécifier l’utilisation de l’anglais britannique, ajoutez la ligne suivante à votre invite :
Use British English as your language for your responses.
Exemple d’invite complète avec sélection de l’anglais britannique
You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Use British English as your language for your responses.
Comment spécifier une identité vocale
Pour sélectionner une voix spécifique pour votre interaction, incluez le paramètre voiceId dans votre configuration. Par exemple, pour utiliser la voix anglaise britannique amy, utilisez le audioOutputConfiguration suivant :
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "amy",
"encoding": "base64",
"audioType": "SPEECH"
}
- Spanish
-
Pour spécifier l’espagnol comme langue de réponse, ajoutez la ligne suivante à votre invite :
Please respond exclusively in Spanish. If you have a question or suggestion, ask it in Spanish. I want to ensure that our communication remains in Spanish.
Exemple d’invite complète avec sélection de l’espagnol
You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in Spanish. If you have a question or suggestion, ask it in Spanish. I want to ensure that our communication remains in Spanish.
Comment spécifier une identité vocale
Pour sélectionner une voix spécifique pour votre interaction, incluez le paramètre voiceId dans votre configuration. Par exemple, pour utiliser la voix espagnole carlos, utilisez le paramètre audioOutputConfiguration suivant :
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "carlos",
"encoding": "base64",
"audioType": "SPEECH"
}
- French
-
Pour spécifier le français comme langue de réponse, ajoutez la ligne suivante à votre invite :
Please respond exclusively in French. If you have a question or suggestion, ask it in French. I want to ensure that our communication remains in French.
Exemple d’invite complète avec sélection du français
You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in French. If you have a question or suggestion, ask it in French. I want to ensure that our communication remains in French.
Comment spécifier une identité vocale
Pour sélectionner une voix spécifique pour votre interaction, incluez le paramètre voiceId dans votre configuration. Par exemple, pour utiliser la voix française ambre, utilisez le paramètre audioOutputConfiguration suivant :
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "ambre",
"encoding": "base64",
"audioType": "SPEECH"
}
- Italian
-
Pour spécifier l’italien comme langue de réponse, ajoutez la ligne suivante à votre invite :
Please respond exclusively in Italian. If you have a question or suggestion, ask it in Italian. I want to ensure that our communication remains in Italian.
Exemple d’invite complète avec sélection de l’italien
You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in Italian. If you have a question or suggestion, ask it in Italian. I want to ensure that our communication remains in Italian.
Comment spécifier une identité vocale
Pour sélectionner une voix spécifique pour votre interaction, incluez le paramètre voiceId dans votre configuration. Par exemple, pour utiliser la voix italienne lorenzo, utilisez le audioOutputConfiguration suivant :
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "lorenzo",
"encoding": "base64",
"audioType": "SPEECH"
}
- German
-
Pour spécifier l’allemand comme langue de réponse, ajoutez la ligne suivante à votre invite :
Please respond exclusively in German. If you have a question or suggestion, ask it in German. I want to ensure that our communication remains in German.
Exemple d’invite complète avec sélection de l’allemand
You are a friend. The user and you will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Keep your responses short, generally two or three sentences for chatty scenarios. Avoid formatted lists or numbering and keep your output as a spoken transcript to be acted out. Please respond exclusively in German. If you have a question or suggestion, ask it in German. I want to ensure that our communication remains in German.
Comment spécifier une identité vocale
Pour sélectionner une voix spécifique pour votre interaction, incluez le paramètre voiceId dans votre configuration. Par exemple, pour utiliser la voix allemande greta, utilisez le audioOutputConfiguration suivant :
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "greta",
"encoding": "base64",
"audioType": "SPEECH"
}