文章预览
GPT目前还不擅长拆解问题。把复杂问题拆解一下,让GPT按照步骤去执行,会让我们得到更满意的结果。 策略一:拆分问题步骤,让GPT按步骤执行 将一个复杂问题,拆分成多个步骤后,向GPT提问。这样的效果,比直接提出一个复杂问题效果要 好。 下面这个例子,需要先对文本进行总结,再将总结翻译成法语,然后在法语总结中列出每个名字,最后输出json格式的数据。这么复杂的问题,如果让模型直接输出结果,怕是很难搞定。但是如果给出所需的步骤,让模型一步一步来解,可以提高答案的正确性。 我: In a charming village, siblings Jack and Jill set out on a quest to fetch water from a hilltop well. As they climbed, singing joyfully, misfortune struck—Jack tripped on a stone and tumbled down the hill, with Jill following suit.Though slightly battered, the pair returned home to comforting embraces. Despite the mishap,
………………………………