システムプロンプト作成のガイドラインと例
システムプロンプトは、会話アシスタントの性格、スタイル、コンテンツを決定します。音声パラメータを直接制御することはできませんが、生成されたコンテンツを通じて話されたインタラクションの自然さと反応に影響を与えることができます。推奨されるベースラインを紹介します。
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.