聚焦提示的各个部分
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##