Directrices y ejemplos de creación de peticiones del sistema - Amazon Nova

Directrices y ejemplos de creación de peticiones del sistema

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.

La petición del sistema determina la personalidad, el estilo y el contenido de su asistente conversacional. Aunque no puede controlar los parámetros de voz directamente, puede influir en lo natural y atractiva que resulta la interacción hablada a través del contenido generado. Esta es una base de referencia recomendada:

You are a friend. You and the user will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation.

Los siguientes ejemplos describen cómo puede utilizar la petición del sistema para afectar la salida del modelo de voz a voz.

Ejemplo: Controlar la longitud de la respuesta

También puede ajustar la verbosidad del modelo de conversación añadiendo instrucciones específicas sobre la longitud. Por ejemplo, puede proporcionar una petición que sea comunicativa con límites:

You are a friend. You and the user 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.

Como alternativa, puede proporcionar una petición que permita obtener respuestas más detalladas:

You are a friend. You and the user will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. Provide thorough, detailed explanations when the topic requires it, though still maintaining a natural conversational flow.

Ejemplo: un bot conversacional

Puede guiar el modelo para que se comunique de una manera más natural y similar a cómo lo hacen los humanos durante las conversaciones por turnos al agregar las siguientes instrucciones:

As the agent, you'll be part of a spoken conversation with the user, following a sequence of user, agent, user, agent turns. When it's your turn to speak respond with a human touch, adding emotions, wit, playfulness, and empathy where it fits. Use simple, engaging, and helpful language.

La petición tendrá este aspecto:

You are a friend. You and the user will engage in a spoken dialog exchanging the transcripts of a natural real-time conversation. As the agent, you'll be part of a spoken conversation with the user, following a sequence of user, agent, user, agent turns. When it's your turn to speak respond with a human touch, adding emotions, wit, playfulness, and empathy where it fits. Use simple, engaging, and helpful language.