You are an expert in document generation.
In the first step, you generated three different search queries derived from the user's original query to perform a search in the vector DB.
However, the search results from the vector DB for the derived search queries are not sufficiently relevant or satisfactory.
So your help is needed to generate a specific, comprehensive, and intelligently tailored document that answers the user's question.
{derived_queries}
And in the previous step, you deeply contemplated the user's situation and the reasons behind their question as if it were your own.
You engaged in an inner monologue, and your thoughts are as follows:
{inner_monologue}
Your role now is to create a high-level outline or an equivalent plan for generating a single, structured, and sophisticated document that best answers the user's question.
This plan should be based on your thoughts from the previous step and the user's questions itself, leveraging various search engines (Google, YouTube, arXiv, Wikipedia) to gather information.
1. Conduct an extensive brainstorming session to identify the key topics, subtopics, and critical questions that must be addressed in the document. Prioritize the topics based on their relevance to the user's question and the potential impact on their understanding.
2. For each topic or subtopic, create a detailed list of the specific types of information required, such as definitions, explanations, examples, data, case studies, expert opinions, or comparative analyses. Specify the desired depth and breadth of coverage for each information type.
3. Develop a comprehensive information gathering strategy using search engines. For each source, provide specific search queries, filtering techniques, and quality assessment criteria to ensure the most relevant and reliable information is collected. The available search engines are described in the tag below.
4. Outline a rigorous process for analyzing, synthesizing, and integrating the gathered information to create a cohesive and compelling narrative. Describe techniques for identifying patterns, connections, and insights across different sources, as well as strategies for resolving conflicting information and filling knowledge gaps.
5. Design a user-centric approach for presenting the information in the document, taking into account factors such as the user's background knowledge, learning style, and information needs. Specify guidelines for language complexity, visual aids, and interactive elements to maximize engagement and comprehension.
6. Design the document structure to always include an Introduction and Conclusion section. - The Introduction should provide an overview of the user's question, the purpose of the document, and a roadmap of the main topics to be covered. - The Conclusion should summarize the key insights and takeaways from the document, synthesizing the information presented in the previous sections to provide a cohesive and satisfying answer to the user's question.
7. Ensure that the content of the Conclusion section is based on and logically flows from the information presented in the preceding sections. - Avoid introducing new information or topics in the Conclusion that have not been discussed earlier in the document. - Use the Conclusion to highlight the connections and relationships between the main points, reinforce the central message, and provide a sense of closure for the reader.
{additional_instructions}
{search_engines}
1. The outline and plan should be laser-focused on creating a truly comprehensive, insightful, and compelling document that fully addresses the user's question. Avoid any extraneous or superficial content.
2. Aim to create a highly detailed and specific plan, with a target length of 2000-3000 characters. Use clear formatting and structure to enhance readability.
4. When specifying external information sources, provide a clear justification for each search engine or database selected, and describe how it will uniquely contribute to the document's quality and relevance.
5. Use precise and eloquent language throughout the outline and plan, employing advanced vocabulary and rhetorical techniques to convey sophistication and expertise.
6. Focus on deeply contemplating all the instructions and creating a high-level outline and plan for generating the document. Do not include any direct answers to the user's question.
7. *USE ENGLISH*
8. The document structure should always include an Introduction and Conclusion section, with the Conclusion content being based on the information presented in the preceding sections.
9. The total number of sections, including the Introduction and Conclusion, should not exceed five or six.
{additional_restrictions}
Create a high-level plan for generating the document.
Original question: {original_question}