Técnicas de peticiones específicas de la voz - Amazon Nova

Técnicas de peticiones específicas de la voz

nota

Esta documentación corresponde a la versión 1 de Amazon Nova. Para ver la guía de ingeniería de peticiones de voz a voz de Amazon Nova 2, consulte Voice conversation prompts.

Incluso en el mismo idioma, las respuestas y la elección de palabras se pueden mejorar orientando el modelo a una configuración regional en particular. Por lo tanto, le sugerimos que incluya instrucciones en la petición del sistema para que utilice un idioma que sea natural y específico para la configuración regional de su voz.

Las voces y las configuraciones regionales disponibles son las siguientes:

Idioma

ID de voz con sonido femenino

ID de voz con sonido masculino

English (EE. UU.)

tiffany

matthew

Inglés (RU)

amy

Francés

ambre

florian

Italiano

beatrice

lorenzo

Alemán

greta

lennart

Español

lupe

carlos

British English

Para especificar el uso de inglés británico, agregue la siguiente línea a su petición:

Use British English as your language for your responses.

Ejemplo de una petición completa con selección 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.

Cómo especificar un ID de voz

Para seleccionar una voz específica para su interacción, incluya el parámetro voiceId en su configuración. Por ejemplo, para utilizar la voz en inglés británico amy, utilice la siguiente audioOutputConfiguration:

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "amy", "encoding": "base64", "audioType": "SPEECH" }
Spanish

Para especificar el español como idioma de respuesta, agregue la siguiente línea a su petición:

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.

Ejemplo de una petición completa con selección de español

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.

Cómo especificar un ID de voz

Para seleccionar una voz específica para su interacción, incluya el parámetro voiceId en su configuración. Por ejemplo, para usar la voz en español carlos, use la siguiente audioOutputConfiguration:

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "carlos", "encoding": "base64", "audioType": "SPEECH" }
French

Para especificar el francés como idioma de respuesta, agregue la siguiente línea a su petición:

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.

Ejemplo de una petición completa con selección 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.

Cómo especificar un ID de voz

Para seleccionar una voz específica para su interacción, incluya el parámetro voiceId en su configuración. Por ejemplo, para usar la voz en francés ambre, use la siguiente audioOutputConfiguration:

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "ambre", "encoding": "base64", "audioType": "SPEECH" }
Italian

Para especificar el italiano como idioma de respuesta, agregue la siguiente línea a su petición:

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.

Ejemplo de una petición completa con selección 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.

Cómo especificar un ID de voz

Para seleccionar una voz específica para su interacción, incluya el parámetro voiceId en su configuración. Por ejemplo, para usar la voz en italiano lorenzo, use la siguiente audioOutputConfiguration:

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "lorenzo", "encoding": "base64", "audioType": "SPEECH" }
German

Para especificar el alemán como idioma de respuesta, agregue la siguiente línea a su petición:

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.

Ejemplo de una petición completa con selección de alemán

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.

Cómo especificar un ID de voz

Para seleccionar una voz específica para su interacción, incluya el parámetro voiceId en su configuración. Por ejemplo, para usar la voz en alemán greta, use la siguiente audioOutputConfiguration:

"audioOutputConfiguration": { "mediaType": "audio/lpcm", "sampleRateHertz": 24000, "sampleSizeBits": 16, "channelCount": 1, "voiceId": "greta", "encoding": "base64", "audioType": "SPEECH" }