本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
讓提示詞區段引起關注
Amazon Nova 2 模型可以透過格式化區段中的指示,然後參考這些特定區段,來密切注意提示中的特定部分。模型可以關注到提示詞中是否包含使用 Markdown、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##