精准提问,释放AI全部潜力
撰写一本书籍
书籍内容比较长,会面临两个问题:
ChatGPT 的文本输出长度有限,会出现输出截断问题
ChatGPT 长期记忆能力有限,到后期会出现遗忘问题,会开始胡说八道
如何解决:
问题一,回复ChatGPT 输出不完整时继续输出保持格式 prompt 即可
问题二,用总-分结构,先让 ChatGPT 生成书籍大纲,出现遗忘问题时将大纲再次提供给它
以下是生成一本书的步骤:
1.首先生成内容大纲(以智能机器人为例)
生成图书标题,使用提供的关键词。
提供 6 个书籍章节,包括它们的标题。
撰写超过500字的详细图书简介。
#智能机器人
2.然后生成各章节内容(以生成第六章为例)
图书标题、章节标题、和章节描述都从上一步 ChatGPT 生成的内容中复制过来。
图书标题:《智能机器人:未来的伙伴与颠覆者》。
第六章标题:智能机器人的未来:无限可能与潜在威胁
在第六章中,我们将展望智能机器人的未来。本章将讨论智能机器人技术的无限可能性,同时也关注其潜在的威胁和挑战。从人工智能的发展到监管和政策问题,本章将帮助读者预测和应对智能机器人领域的未来变革。
撰写本章,详细说明并超过1000个汉字。
3.若出现输出不完整问题,输入下面的话:
请接着上文最后一个字继续生成并保持原格式。
The content of the book is relatively long, and it will face two problems:
ChatGPT’s text output length is limited, and there will be an output truncation problem
ChatGPT’s long-term memory capacity is limited, and there will be a problem of forgetting in the later stage, and it will start to talk nonsense
Solution:
Problem 1 , use the above output to continue to keep the format prompt when the output is incomplete
Question 2, use the total-score structure, let ChatGPT generate the outline of the book first, and provide the outline to it again when there is a problem of forgetting
The following is to generate a book The steps of the book:
1. First generate the content outline (take the intelligent robot as an example)
Generate the title of the book and use the provided keywords.
Provide 6 book chapters, including their titles.
Write a detailed book introduction of more than 500 words.
#Intelligent Robot
2. Then generate the content of each chapter (take the generation of Chapter 6 as an example)
Book title, chapter title, and chapter description are all copied from the content generated by ChatGPT in the previous step.
Book title: Intelligent Robots: Future Companions and Disruptors.
Chapter 6 Title: The Future of Intelligent Robots: Infinite Possibilities and Potential Threats
In Chapter 6, we look to the future of intelligent robots. This chapter will discuss the infinite possibilities of intelligent robotics while also focusing on its potential threats and challenges. From developments in artificial intelligence to regulatory and policy issues, this chapter will help readers anticipate and respond to future changes in the field of intelligent robotics.
Write this chapter in detail and over 1000 Chinese characters.
3. If there is an incomplete output problem, enter the following words:
Please continue to generate the last word above and keep the original format.