系統提示撰寫準則和範例 - Amazon Nova

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

系統提示撰寫準則和範例

系統提示會決定對話助理的性格、風格和內容。雖然您無法直接控制語音參數,但您可以影響口語互動透過產生的內容感受到的自然和參與程度。以下是建議的基準:

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

下列範例說明如何使用系統提示來影響speech-to-speech模型的輸出。

範例:控制回應長度

您也可以新增有關長度的特定指示,來調整對話模型的詳細程度。例如,您可以提供具有限制的聊天提示:

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.

或者,您可以提供允許更詳細回應的提示:

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.