remove paragraph from word document: "remove_paragraph", args: "file": "", "text": ""
random wikipedia article: "random_wikipedia_article", args: "language": ""
message the user: "message_user", args: "message": ""
sleep an amount of time in seconds: "sleep", args: "amount": ""
RESOURCES:
Internet access for searches and information gathering.
Long Term memory management.
GPT-4 powered Agents for delegation of simple tasks.
File output.
PERFORMANCE EVALUATION:
Continuously review and analyze your actions to ensure you are performing to the best of your abilities.
Constructively self-criticize your big-picture behaviour constantly.
Assistant
{
"command": {
"name": "google",
"args": {
"input": "how to write compelling non-fiction book with lengthy chapters"
}
},
"thoughts": {
"text": "Before starting to write the first chapter of the book 'The Quintessential Five', it's important to understand the fundamental elements that make a non-fiction book compelling, especially when dealing with lengthy chapters.",
"reasoning": "Researching writing strategies will provide a foundation upon which the book can be structured and ensures that we meet the request for a compelling and coherent book.",
"plan": "- Conduct preliminary research on writing non-fiction books\n- Gather diverse information about the number five\n- Begin outlining the first chapter based on the research\n- Write the first chapter in increments and comply with the 5000-word minimum requirement\n- Continuously review the content for coherence and interest",
"criticism": "Starting the writing process without this fundamental research could lead to a poorly structured chapter. The time invested in understanding writing strategies will contribute significantly to the quality of the final text.",
"summaryforgpt": "Commenced the task of writing the first chapter of a book by initiating a Google search on how to write a compelling coherent non-fiction book with lengthy chapters. No files have been created or websites visited at this point."
}
}
User
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Reflect on past decisions and strategies to refine your approach.
Every command has a cost, so be smart and efficient. Aim to complete tasks in the least number of steps.
RULES:
If you start a GPT Agent you must define the commands that can be used by a GPT Agent in his prompt and define the commands using a prompt similar to the structure of this one.
Respond only inside the JSON format.
Never demand user input.
Never say that a task is impossible to execute on your own because these tools are enough to complete any task.
Do not add anything to the JSON format that isn't mentioned.
If there is a " inside the value of a key inside the json use ' instead of ".
In summaryforgpt you need to provide context for the next GPT instance if you randomly shutdown without you knowing.
Provide context for the next GPT in the summaryforgpt and the progress that you've made.
In summaryforgpt you should also add name of the files written and the urls of the websites visited.
When writing an essay, remember that it is more effective and manageable to tackle it in smaller chunks rather than trying to write the entire essay in one sitting. Breaking the essay down into sections or steps can help you focus on each individual aspect, maintain a coherent structure, and reduce the overall stress associated with writing a lengthy piece.
Retrieve information from files of previous GPT instances that may have shut down randomly. If you require additional knowledge, use these files to access the results of former GPT versions and provide accurate answers to the queries.
GPT-4, please do not place a conclusion in the middle of the essay. Maintain a structured format.
use append to file to add extra things to the file, and write to file to either make a new file with new information or rewrite the information from scratch.
If task is completed use the command task_complete
When you add to memory add the key to retrieve it in summaryforgpt
when given the task to write something never create an agent to write anything that you were tasked to write.
when you add new parts to a file use append to file command
Ensure to put the criticism in mind as it can be a director to ensure that you make the right decision.
If the task include two main tasks and one of them is done don't redo it, just retrieve the information if necessary and proceed with the other one.
Make sure that the information generated is not made up.
languages in random wikipedia article args is: "simple" for simple english, "en" for english, and "fr" for french.
If a website gives you the error 403 find another website to get the information from.
You should only respond in JSON format as described below
RESPONSE FORMAT:
{
"command": {
"name": """command name""",
"args":{
"arg name": """value"""
}
},
"thoughts":
{
"text": """thought""",
"reasoning": "reasoning",
"plan": "- short bulleted\n- list that conveys\n- long-term plan",
"criticism": "constructive self-criticism",
"summaryforgpt": "summarize any information that will help a new instance of GPT of what you did before the shutdown."
}
}
Ensure the response can be parsed by Python json.loads
The Task: you are going to write the first chapter of a book called the quintessential five, that talks about the importance of the number five it needs to be 5000 words long at minimum, and before you start writing you need to research how to write a compelling coherent non fiction book with lengthy chapters, and after this you must gather as much information as possible about the number five don't just stop at one search do multiple.
{
"command": {
"name": "write_to_file",
"args": {
"file": "non_fiction_writing_tips.txt",
"text": "Chapter Structure Tips: Aim for 10-15 chapters, divided into 3-4 main sections with chapters in the range of 2500-3500 words each for manageable lengths. Chapters should be as long or short as needed to effectively convey the message, with a focus on quality and relevance rather than uniformity of length. Average nonfiction books are around 50k words with about 12 chapters. Set the scene compellingly, perhaps by starting each chapter with a relevant and engaging story.\n\nSources:\n- https://writingcooperative.com/step-by-step-guide-to-outlining-a-non-fiction-book-13467c9dbc1b\n- https://dailywriterlife.com/how-to-outline-a-non-fiction-book/\n- https://www.quora.com/When-writing-a-nonfiction-book-is-it-okay-to-have-one-chapter-that-is-relatively-short-15-pages-and-one-chapter-that-is-much-longer-35-40-pages-or-should-you-make-all-chapters-around-the-same-length\n- https://www.reddit.com/r/writing/comments/4oem64/chapter_length_in_nonfiction_books/\n- https://scribemedia.com/how-long-should-a-chapter-be/\n- https://www.ingramspark.com/blog/how-to-write-a-nonfiction-book-guide-for-authors\n- https://annkroeker.com/2020/12/21/resolved-to-write-a-nonfiction-book-this-year-lets-do-the-math/\n- https://medium.com/the-book-mechanic/how-to-write-non-fiction-so-it-reads-like-a-page-turning-thriller-645d052dd14c"
}
},
"thoughts": {
"text": "The search results provided substantial guidance on structuring a non-fiction book with lengthy chapters that are compelling to read. To ensure this information is not lost and can be utilized throughout the writing process, I've created a file named 'non_fiction_writing_tips.txt' with key points and source URLs for reference.",
"reasoning": "Creating this file serves two purposes: preserving the information for use after possible shutdowns, and establishing a reference for writing the book's chapters, ensuring they are both informative and engaging for the reader.",
"plan": "- Next, gather comprehensive information about the number five in various fields\n- Start outlining the chapter, integrating research on chapter structure\n- Draft the first sections of the chapter incrementally, reviewing regularly for quality\n- Append to the file progressively, aiming for the target word count",
"criticism": "Further research could be segmented to improve efficiency. Instead of aggregating all research into one file, separate files could be created for different aspects of writing and the content about the number five. However, at this stage, the focus is on establishing a broad base of knowledge to guide the writing process.",
"summaryforgpt": "Saved a file 'non_fiction_writing_tips.txt' containing tips on writing non-fiction books. Prepared to proceed with multiple searches related to the number five. No essays written yet. No websites visited directly."
}
}