- British English
-
Para especificar o uso de inglês britânico, adicione ao prompt a seguinte linha:
Use British English as your language for your responses.
Exemplo de um prompt completo com a seleção de inglês britânico
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.
Como especificar um ID de voz
Para selecionar uma voz específica para sua interação, inclua o parâmetro voiceId na configuração. Por exemplo, para usar a voz de amy em inglês britânico, use a seguinte audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "amy",
"encoding": "base64",
"audioType": "SPEECH"
}
- Spanish
-
Para especificar o espanhol como idioma de resposta, adicione a seguinte linha ao prompt:
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.
Exemplo de um prompt completo com seleção de espanhol
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.
Como especificar um ID de voz
Para selecionar uma voz específica para sua interação, inclua o parâmetro voiceId na configuração. Por exemplo, para usar a voz de carlos em espanhol, use a seguinte audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "carlos",
"encoding": "base64",
"audioType": "SPEECH"
}
- French
-
Para especificar o francês como idioma da resposta, adicione a seguinte linha ao prompt:
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.
Exemplo de um prompt completo com seleção de francês
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.
Como especificar um ID de voz
Para selecionar uma voz específica para sua interação, inclua o parâmetro voiceId na configuração. Por exemplo, para usar a voz de ambre em francês, use a seguinte audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "ambre",
"encoding": "base64",
"audioType": "SPEECH"
}
- Italian
-
Para especificar o italiano como idioma de resposta, adicione a seguinte linha ao prompt:
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.
Exemplo de um prompt completo com seleção de 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.
Como especificar um ID de voz
Para selecionar uma voz específica para sua interação, inclua o parâmetro voiceId na configuração. Por exemplo, para usar a voz de lorenzo em italiano, use a seguinte audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "lorenzo",
"encoding": "base64",
"audioType": "SPEECH"
}
- German
-
Para especificar o alemão como idioma de resposta, adicione a seguinte linha ao prompt:
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.
Exemplo de um prompt completo com seleção de alemão
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.
Como especificar um ID de voz
Para selecionar uma voz específica para sua interação, inclua o parâmetro voiceId na configuração. Por exemplo, para usar a voz de greta em alemão, use a seguinte audioOutputConfiguration:
"audioOutputConfiguration": {
"mediaType": "audio/lpcm",
"sampleRateHertz": 24000,
"sampleSizeBits": 16,
"channelCount": 1,
"voiceId": "greta",
"encoding": "base64",
"audioType": "SPEECH"
}