- British English
-
Per specificare l’uso dell’inglese britannico, aggiungi la seguente riga al tuo prompt:
Use British English as your language for your responses.
Esempio di prompt completo con la selezione dell’inglese britannico
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.
Come specificare un ID voce
Per selezionare una voce specifica per l’interazione, includi il parametro voiceId nella tua configurazione. Ad esempio, per usare la voce in inglese britannico amy, usa la seguente audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "amy",
"encoding": "base64",
"audioType": "SPEECH"
}
- Spanish
-
Per specificare lo spagnolo come lingua di risposta, aggiungi al prompt la seguente riga:
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.
Esempio di prompt completo con la selezione dello spagnolo
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.
Come specificare un ID voce
Per selezionare una voce specifica per l’interazione, includi il parametro voiceId nella tua configurazione. Ad esempio, per usare la voce in spagnolo carlos, usa la seguente audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "carlos",
"encoding": "base64",
"audioType": "SPEECH"
}
- French
-
Per specificare il francese come lingua di risposta, aggiungi al prompt la seguente riga:
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.
Esempio di prompt completo con la selezione del francese
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.
Come specificare un ID voce
Per selezionare una voce specifica per l’interazione, includi il parametro voiceId nella tua configurazione. Ad esempio, per usare la voce in francese ambre, usa la seguente audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "ambre",
"encoding": "base64",
"audioType": "SPEECH"
}
- Italian
-
Per specificare l’italiano come lingua di risposta, aggiungi al prompt la seguente riga:
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.
Esempio di prompt completo con la selezione dell’italiano
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.
Come specificare un ID voce
Per selezionare una voce specifica per l’interazione, includi il parametro voiceId nella tua configurazione. Ad esempio, per usare la voce in italiano lorenzo, usa la seguente audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "lorenzo",
"encoding": "base64",
"audioType": "SPEECH"
}
- German
-
Per specificare il tedesco come lingua di risposta, aggiungi al prompt la seguente riga:
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.
Esempio di prompt completo con la selezione del tedesco
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.
Come specificare un ID voce
Per selezionare una voce specifica per l’interazione, includi il parametro voiceId nella tua configurazione. Ad esempio, per usare la voce in tedesco greta, usa la seguente audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "greta",
"encoding": "base64",
"audioType": "SPEECH"
}