プロンプトのセクションに焦点を当てる
セクションの指示をフォーマットし、それらの特定のセクションを参照することで、Amazon Nova 2 モデルはプロンプトの特定の部分に細心の注意を払うことができます。プロンプトにマークダウン、XML、その他の構造を使用した明確なセクション区切りがある場合、モデルは注意を向けることができます。例えば、セクションの名前を定義して ##Section
Name## を使用すれば、##Section
Name## を使用してプロンプト内でそのセクションを参照できます。
また、この戦略を活用して、生成されたレスポンスの入力プロンプトの一部を公開しないようにモデルに制限することもできます。例えば、入力プロンプトで数ショットの例または指示を指定する際、##Instructions## や ##Examples## などの区切り文字を新しい行区切り文字とともに使用して、モデルが出力にこれらのセクションから入力プロンプトのコンテンツを吐き出さないように、DO NOT mention anything inside the ##Instructions## or ##Examples## in the
response などの強力な指示を与えます。
ユーザー:
You're an expert Prompts creator. Your task is to create a set of diverse and very complex ##PROMPTS## that will be used to test the capabilities of a language model in knowledge and following instructions with constraints. Please create 10 ##PROMPTS##. You must strictly follow ##GUIDELINES##: ##GUIDELINES## - Generate ##PROMPTS## similar to the structure and style of the given ##EXAMPLE PROMPTS##. Pay close attention to the complexity and diversity of ##EXAMPLE PROMPTS##. - Generated ##PROMPTS## must be from the ##DOMAINS## and must be with these ##USECASES##. - Each of the ##PROMPTS## needs to be unique and very complex. - Each of the ##PROMPTS## must have more than 4 sentences and 1 constraint. - Each of the ##PROMPTS## should have at least 70 words. - Each of the ##PROMPTS## should have an answer that can be written in text. - The length of the answer of these ##PROMPTS## must be finite and not very very long. - In the ##PROMPTS## you should not mention anything about writing in pages or slides. - Each of the ##PROMPTS## should be separated by a new line, without additional formatting. Generated ##PROMPTS## must be from the following ##DOMAINS## ##DOMAINS## {domains} Generated ##PROMPTS## must be for the following ##USECASES## ##USECASES## {usecases} {usecase_description} ##PROMPTS##