Linee guida e esempi per la creazione di prompt di sistema - Amazon Nova

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Linee guida e esempi per la creazione di prompt di sistema

Nota

Questa documentazione è per Amazon Nova versione 1. Per la guida alla progettazione dei Speech-to-Speech prompt di Amazon Nova 2, visita Richieste di conversazione vocale.

Il prompt di sistema determina la personalità, lo stile e il contenuto dell’assistente conversazionale. Anche se non è possibile controllare direttamente i parametri vocali, è possibile influenzare il grado di naturalezza e coinvolgimento dell’interazione vocale attraverso i contenuti generati. Ecco una base di riferimento consigliata:

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

Gli esempi seguenti descrivono come utilizzare il prompt di sistema per modificare l'output del modello. speech-to-speech

Esempio: controllo della lunghezza della risposta

Puoi anche regolare la verbosità del modello conversazionale aggiungendo istruzioni specifiche relative alla lunghezza. Ad esempio, puoi fornire un prompt che sia loquace ma con dei limiti:

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.

In alternativa, puoi fornire un prompt che permetta risposte più dettagliate:

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.

Esempio: bot conversazionale

Puoi guidare il modello affinché comunichi in modo più naturale e simile a quello umano nelle conversazioni a turni aggiungendo le seguenti istruzioni:

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.

Il tuo prompt sarebbe simile a questo:

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.