Directives et exemples de création d’invites système - Amazon Nova

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

Directives et exemples de création d’invites système

Note

Cette documentation concerne la version 1 d'Amazon Nova. Pour consulter le guide technique d'Amazon Nova 2, consultez l'article Speech-to-Speech Invites de conversation vocale.

L’invite système détermine la personnalité, le style et le contenu de votre assistant conversationnel. Bien que vous ne puissiez pas contrôler directement les paramètres vocaux, vous pouvez influencer le caractère naturel et engageant de l’interaction vocale grâce au contenu généré. Voici une base de référence recommandée :

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

Les exemples suivants décrivent comment utiliser l'invite du système pour affecter la sortie du speech-to-speech modèle.

Exemple : contrôle de la longueur des réponses

Vous pouvez également ajuster la verbosité du modèle conversationnel en ajoutant des instructions spécifiques concernant la longueur. Par exemple, vous pouvez fournir une invite bavarde avec des limites :

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.

Vous pouvez également fournir une invite qui permet des réponses plus détaillées :

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.

Exemple : bot conversationnel

Vous pouvez guider le modèle pour qu’il communique de manière plus naturelle et plus humaine lors de conversations au tour de rôle en ajoutant les instructions ci-dessous :

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.

Votre invite ressemblerait à ceci :

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.