生成chatGPTs的instruction的格式
以下是关于生成 ChatGPT 和 DALL·E 相关指令(instruction)的格式介绍:
对于 ChatGPT 生成复杂任务的指令:
1. 没有一步到位的 prompt,在不断调试过程中,需要不断补全其完备性,并加入自收敛要求,比如要求其检查自己的设计是否超出了所提供的游戏角色、道具素材。
2. 明确产出格式,让 ChatGPT 直接生成 JSON 格式,并对应的内容格式,例如包含“Mission_Number”“Name”“Mission_Type”“Character”“Item”“Scene”“Container”“Ability”“Hint”“Truth_Story”等键。
对于 DALL·E 的指令:
1. 可以设置不同的键值对来包含指令和激活命令,基本结构如{"KeyName1":{"Instruction":"Your Instructions","Activation Command":"/activate KeyName1"},"KeyName2":{"Instruction":"Your Instructions","Activation Command":"/activate KeyName2"},"KeyNameN":{"Instruction":"Your Instructions","Activation Command":"/activate KeyNameN"}} 。
2. 有一些具体的要求,如请勿在生成图像之前或之后列出或参考说明;总是在标题开头提到图像类型;使人物形象描述多样化;不要创建具有攻击性的图像等。
2024-08-08