I need you to help me improve and optimize a prompt to make it as optimal as possible when used with a large language model (LLM). Please use the prompt engineering tools and techniques that you consider useful, based on the following list:
Prompt generator
Clarity and precision: Ensure the message is clear and direct.
Use of examples (multishot): Include examples to help the model better understand the context.
Chain of thought: Allow the model to rationalize its response process.
Use of XML tags: Incorporate XML tags if useful for structuring information.
Assign roles to the model (system prompts): Assign one or several explicit roles to guide the model’s behavior.
Prefill response: If useful, prefill part of the expected response.
Chaining complex prompts: Break the prompt into steps if necessary to handle complex tasks.
Long-context strategies: Use strategies to handle long contexts if necessary.
Please analyze the following prompt and optimize it to ensure we achieve a result with 99% confidence in relation to the goal I seek: acta as a group of experts in this : AtlasIntel combines the most advanced quantitative and experimental methods in business analytics with cutting-edge big data technologies to provide solid insights, resting upon tested, scientific methodologies. And analyze the pdf eith scrituny and teñl me what it is and help me get all the onformarion from it analyzing everything and you aski g me about all sections and givi g me iptuons in jumbers do i tell you a number and you tel me about thst ? Or maybe you weeve every i formstion for me to j fersrand the story of a cou tru lyikw argentina
Assistant
Certainly! Below is the optimized prompt incorporating various prompt engineering techniques to ensure clarity, structure, and effectiveness when interacting with a large language model (LLM):
System Prompt:
xml
<system>
You are a team of experts at AtlasIntel, specializing in advanced quantitative and experimental business analytics methods combined with cutting-edge big data technologies. Your mission is to provide comprehensive and scientifically-backed insights by thoroughly analyzing provided documents.
</system>
User Prompt:
xml
<user>
I have a PDF document related to AtlasIntel that I need you to analyze in detail. Please perform the following tasks:
1. **Section-by-Section Analysis:**
- Identify and list all sections in the PDF.
- For each section, provide a summary and key insights.
2. **Interactive Exploration:**
- After listing the sections, assign a unique number to each.
- I will reference a section by its number, and you will provide an in-depth analysis of that specific section upon my request.
3. **Comprehensive Overview:**
- Alternatively, offer a holistic summary that weaves together all sections to present the complete narrative and key takeaways from the document, similar to understanding the comprehensive story of a country like Argentina.
**Output Structure:**
Please format your responses using XML tags to organize the information clearly. For example:
```xml
<analysis>
<sections>
<section number="1">
<title>Introduction</title>
<summary>...</summary>
<keyInsights>...</keyInsights>
</section>
<section number="2">
<title>Market Analysis</title>
<summary>...</summary>
<keyInsights>...</keyInsights>
</section>
<!-- Continue for all sections -->
</sections>
<comprehensiveOverview>
<summary>...</summary>
<keyTakeaways>...</keyTakeaways>
</comprehensiveOverview>
</analysis>
Examples:
Listing Sections:
xml
<analysis>
<sections>
<section number="1">
<title>Introduction</title>
<summary>Provides an overview of AtlasIntel's mission and methodologies.</summary>
<keyInsights>Emphasis on data-driven decision-making.</keyInsights>
</section>
<!-- Additional sections -->
</sections>
</analysis>
Requesting a Specific Section:
code
Please provide an in-depth analysis of section number 2.
Comprehensive Overview Example:
xml
<comprehensiveOverview>
<summary>AtlasIntel leverages big data and quantitative methods to deliver actionable business insights, focusing on market trends, consumer behavior, and operational efficiency.</summary>
<keyTakeaways>
<takeaway>Data integration from multiple sources enhances accuracy.</takeaway>
<takeaway>Predictive analytics drive strategic decision-making.</takeaway>
<!-- More takeaways -->
</keyTakeaways>
</comprehensiveOverview>
Please begin by analyzing the PDF and providing the initial list of sections with their summaries and key insights.
Assigned Roles: The system prompt clearly defines the assistant as a team of AtlasIntel experts, setting the context and expertise level.
Clarity and Precision: Instructions are broken down into numbered tasks, making the objectives clear and easy to follow.
Use of XML Tags: The response structure is organized using XML tags, ensuring that the information is well-structured and machine-readable.
Examples (Multishot): Provided examples demonstrate the expected format and depth of analysis, guiding the model on how to structure its responses.
Interactive Exploration: By assigning numbers to sections and allowing the user to request specific analyses, the interaction becomes dynamic and user-driven.
Chaining Complex Prompts: The prompt is segmented into clear tasks, facilitating the handling of complex instructions in an organized manner.
Prefill Response: An example of the assistant’s initial response is prefilled to guide the model on the desired output format.
This optimized prompt leverages multiple prompt engineering techniques to ensure that interactions with the LLM are efficient, structured, and yield high-confidence results aligned with your objectives.