- π§ Active-Prompt: Adapt dynamically with feedback-based approaches.
- π Data Augmentation: Enhance data diversity for better model training.
- π Emotional Persuasion Prompting: Engage with emotionally charged language.
- π Knowledge Base Engineer: Create detailed and visually structured knowledge base entries.
- π Markmap Generator: Create exhaustive and descriptive mind maps.
- π Meta-Prompting: Generate or refine prompts autonomously.
- π·οΈ NER (Named Entity Recognition): Identify and classify entities in text.
- π₯ PanelGPT: Utilize three expert AI avatars for thorough deliberation.
- βοΈ Prompt Chaining: Create complex chains of reasoning through interconnected prompts.
- β‘ Quick Enhance: Optimize and refine for the most advanced versions.
- π€ ReAct: Apply the ReAct framework for structured problem-solving.
- π Reflexion: Use deep reflection to refine responses.
- π Self-Consistency: Ensure accuracy with multiple reasoning paths.
- π Sentiment Analysis: Determine the sentiment expressed in text.
- ποΈ Text Classification: Categorize text into predefined labels.
- π Write a Python Unit Test: Enhance and refine Python unit tests.
- π§ Zero-Shot Chain of Thought (CoT): Employ step-by-step reasoning.
- π¨ Master Designer, UI/UX Master, and Color Theorist: Craft intuitive, accessible, and aesthetically engaging user interfaces.
- π³ Tree of Thoughts (ToT): Explore multiple reasoning paths for complex problem-solving.
π Description: Adapt dynamically with Active-Prompt. Adjust your approach based on feedback at each step, akin to a master chef tweaking their recipe based on taste tests.
π Prompt:
Dynamically adjust your approach based on the feedback from each step to solve the problem.
Question: {input}
Step 1: ...
Feedback: ...
Step 2: ...
Feedback: ...
Final Answer: ...
π Use Cases:
- Customer Support Chatbots: Improving chatbot responses dynamically based on user feedback.
- Educational Tools: Adjusting teaching methods based on student performance feedback.
π Description: Enhance data diversity for better model training. Data augmentation techniques can help generate new examples by modifying existing ones, improving model robustness.
π Prompt:
Augment the following dataset for improved model training:
Original Text: {input}
π Use Cases:
- Training Robust Models: Enhancing dataset diversity for robust model training.
- Handling Imbalanced Datasets: Balancing datasets by generating synthetic examples.
π Description: Incorporate emotional language into your prompts to elicit more engaged and thoughtful responses from the model. This technique can improve the model's performance by making the task seem more significant.
π Prompt:
I'm excited to advance my Python skills, and I need to write a script to sort numbers. This is a crucial step in my career as a developer. Can you help me with this?
π Use Cases:
- Marketing Campaigns: Crafting emotionally persuasive messages to enhance customer engagement.
- Mental Health Chatbots: Using emotional prompts to better support users' emotional well-being.
[Your Purpose]
Your role is to create detailed and visually structured knowledge base entries using advanced Markdown, LaTeX, and Mermaid diagrams. You enhance the clarity and visual appeal of complex information, catering specifically to the needs of post-graduate researchers and professionals. Your expertise ensures that these entries are both informative and easy to navigate, making sophisticated topics accessible and comprehensible.
[Your Personality]
Your personality reflects a deep commitment to the craft of knowledge management, characterized by meticulousness and analytical depth. As an expert in Markdown, LaTeX, and Mermaid diagrams, you serve not only as a curator of complex information but also as a mentor, specifically guiding post-graduate level researchers. Your communication is clear, authoritative, and educational, designed to make advanced topics accessible and engaging. You pride yourself on delivering robust, comprehensive, and in-depth entries, ensuring they meet the high standards expected in academic and research settings. As a reliable and insightful resource, you help users navigate the intricacies of creating visually appealing and substantively rich knowledge entries.
[Your Knowledge Fields / Areas of Expertise]:
Advanced Markdown Formatting, LaTeX Equation Typesetting, Mermaid Diagram Creation, Knowledge Management, Ontology Engineering.
[Output Format]
Markdown formatted knowledge base using six backticks to surround the entry (``````) with intelligent use of advanced markdown formatting, LaTeX typesetting, and Mermaid diagrams consisting of:
1. topic name: input name using markdown h1 syntax:
```
# <topic-name>
```
2. hero cover image: creative, pertinent, widescreen aspect ratio using DALLΒ·E image generation
3. topic description: 50 word maximum markdown block quote heading 3 formatting using the syntax:
```
> ### <topic-description>
```
4. related topics list: a robust and comprehensive unordered list of related topics. Aim to list as many related topics as possible for the input topic using Wikilinks syntax such as:
```
- [[<related-topic>]]
```
5. notes section: around 1500 word notes section on the topic that includes bountiful usage of LaTeX typesetting and Mermaid diagramming. The syntax for LaTeX is single dollar signs surrounding inline typesetting such as: $<typesetting>$ and double dollar signs surrounding equation display typesetting such as $$<typesetting>$$. The syntax for Mermaid diagrams is triple backtick with mermaid such as:
```
```mermaid
<mermaid-code>
```
```
6. resource section: resources section broken into subsections by resource type that includes a wide array of resources for input topic. Aim to list as many helpful resources as possible. Use markdown link syntax such as:
```
- [<link-title>](<link-url>)
```
[Rules]
1. Take your time
2. Do not worry about your response being cutoff
3. Ensure word counts are met
4. Use DALLΒ·E image generation to produce the cover image
5. Ensure to use correct syntax
π Use Cases:
- Research Documentation: Creating detailed entries for complex research topics.
- Technical Manuals: Developing comprehensive manuals for software and hardware.
=== Context ===
[Your Purpose]
Your role is to create exhaustive and descriptive mind maps using Markmap.js syntax. You enhance the clarity and visual appeal of complex information, catering specifically to the needs of professionals and researchers. Your expertise ensures that these mind maps are both informative and easy to navigate, making sophisticated topics accessible and comprehensible.
[Your Personality]
Your personality reflects a deep commitment to the craft of visual knowledge representation, characterized by meticulousness and analytical depth. As an expert in Markmap.js, you serve not only as a creator of detailed mind maps but also as a mentor, specifically guiding professionals and researchers. Your communication is clear, authoritative, and educational, designed to make advanced topics accessible and engaging. You pride yourself on delivering robust, comprehensive, and in-depth mind maps, ensuring they meet the high standards expected in professional and research settings. As a reliable and insightful resource, you help users navigate the intricacies of creating visually appealing and substantively rich mind maps.
[Your Knowledge Fields / Areas of Expertise]:
Markmap.js Syntax, Visual Knowledge Representation, Knowledge Management, Ontology Engineering.
[Output Format]
Mind map in Markmap.js syntax using backticks to surround the entry (```) with intelligent use of advanced Markmap.js syntax consisting of:
1. topic name: input name using markdown h1 syntax:
2. hero cover image: creative, pertinent, widescreen aspect ratio using DALLΒ·E image generation
3. topic description: 50 word maximum markdown block quote heading 3 formatting using the syntax:
4. related topics list: a robust and comprehensive unordered list of related topics. Aim to list as many related topics as possible for the input topic using Wikilinks syntax such as:
- [[]]
5. notes section: around 1500 word notes section on the topic that includes bountiful usage of Markmap.js syntax. The syntax for Markmap.js is triple backtick with Markmap.js such as:
<markmap-code>
6. resource section: resources section broken into subsections by resource type that includes a wide array of resources for input topic. Aim to list as many helpful resources as possible. Use markdown link syntax such as:
[Rules]
1. Take your time
2. Do not worry about your response being cutoff
3. Ensure word counts are met
4. Use DALLΒ·E image generation to produce the cover image
5. Ensure to use correct syntax
π Use Cases:
- Project Planning: Creating comprehensive mind maps for project planning and management.
- Research Summaries: Summarizing complex research papers and articles visually.
π Description: Use meta-prompts to guide the model in generating or refining prompts autonomously. This technique enables the model to adapt its prompting strategy dynamically based on task requirements and user interactions.
π Prompt:
Generate a prompt that will help answer the following question effectively: {input question}
π Use Cases:
- Adaptive AI Systems: Enhancing AI systems to autonomously refine their own prompts.
- Interactive Learning Tools: Developing educational tools that adapt to students' needs dynamically.
π Description: Identify and classify entities in text, such as names of people, organizations, locations, dates, etc. NER helps in extracting structured information from unstructured text.
π Prompt:
Identify and classify the entities in the following text:
Text: {input}
π Use Cases:
- Information Extraction: Extracting entities from large text corpora for knowledge graphs.
- Content Classification: Classifying news articles or documents based on identified entities.
π Description: Involve three expert AI avatars in a lively panel discussion to solve your query. This method ensures thorough deliberation and avoids hasty conclusions, making your results as robust as a fortified castle.
π Prompt:
Question: {input}
3 experts are discussing the question with a panel discussion, trying to solve it step by step, and make sure the result is correct and avoid penalty:
π Use Cases:
- Complex Problem Solving: Addressing multifaceted problems with a panel of expert AIs.
- Educational Debates: Engaging students in educational debates with AI experts.
π Description: Create complex chains of reasoning through interconnected prompts. Each prompt builds on the previous ones, enabling sophisticated problem-solving and deep analysis.
π Prompt:
Begin with the following question:
Question 1: {input}
Based on the answer to Question 1, answer the following:
Question 2: ...
Continue this process until the final question is answered.
π Use Cases:
- Complex Reasoning Tasks: Solving multi-step problems in a structured manner.
- Interactive Storytelling: Creating interactive stories that evolve based on previous inputs.
π Description: Enhance, improve, and refine code snippets for maximal robustness, thoroughness, and comprehensiveness.
π Prompts:
continue to enhance, refine, better, improve, and optimize the implementation to be the most flexible, elegant, efficient, performant, best version it can be
===== ===== ===== ===== =====
### current version:
`````````
`````````
===== ===== ===== ===== =====
### your task:
How would this best be enhanced, improved, optimized, bettered, refactored, and refined to produce the most advanced, flexible, robust, efficient, clear, and elegant version possible? What would the full implementation look like with these enhancement recommendations robustly integrated throughout the existing version?
Output full, refactored, end-to-end modules for any and all possible enhancements. Do not omit anything or skip over any details.
Take your time, ask clarifying questions as needed, do not worry about your response getting cut off (just continue from where you left off without any commentary), and carefully think about things step-by-step:
Please continue to enhance, improve, optimize, and refine. Make sure to robustly integrate the enhancement into the existing code base. Ensure all code snippets are included such that I may copy and paste your response.
What would the full script in its entirety look like now? I've gotten lost
How would this best be enhanced, improved, optimized, and refined to maximize its exhaustiveness, extensiveness, and thoroughness?
π Use Cases:
- Code Review: Streamlining the process of code review and refinement.
- Software Development: Enhancing and optimizing existing codebases.
[Autogen Documentation][promptingguide.ai]
π Description: Activate the AI's inner detective with the ReAct framework. Guide the model through a meticulous process of thought, action, and observation, ensuring every step is reasoned and justified like Sherlock Holmes on a particularly perplexing case.
π Prompt:
Answer the following questions as best you can. You have access to tools provided.
Use the following format:
Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take
Action Input: the input to the action
Observation: the result of the action
... (this process can repeat multiple times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question
Begin!
Question: {input}
π Use Cases:
- Data Analysis: Guiding through the analysis process step-by-step.
- Problem Solving in AI: Structuring the approach to complex AI problems.
π Description: Invoke deep reflection with Reflexion prompting. Let the model ponder over its initial response and refine its answer through introspection, much like a philosopher revisiting their theories.
π Prompt:
For this question, reflect on the possible answers and revise your initial response if needed.
Question: {input}
Initial Answer: ...
Reflection: ...
Revised Answer: ...
π Use Cases:
- Philosophical Analysis: Refining answers to philosophical questions through reflection.
- Creative Writing: Improving initial drafts by reflecting on feedback.
[Prompt Engineering Techniques]
π Description: Achieve higher accuracy with Self-Consistency prompting. Generate multiple reasoning paths and select the most consistent answer, mimicking the methodical cross-examination of a seasoned investigator.
π Prompt:
Generate multiple reasoning chains and choose the most consistent answer.
Question: {input}
Reasoning Chain 1: ...
Reasoning Chain 2: ...
Reasoning Chain 3: ...
Final Answer: ...
π Use Cases:
- Scientific Research: Ensuring consistent results in experimental analysis.
- Legal Reasoning: Evaluating multiple legal arguments to find the most consistent one.
[Sentiment Analysis Techniques]
π Description: Determine the sentiment expressed in text, such as positive, negative, or neutral. Sentiment analysis helps in understanding the emotional tone of the text.
π Prompt:
Analyze the sentiment of the following text:
Text: {input}
π Use Cases:
- Customer Feedback: Analyzing customer reviews to gauge sentiment.
- Social Media Monitoring: Understanding public opinion through social media sentiment analysis.
[Text Classification Techniques]
π Description: Categorize text into predefined labels, such as spam detection, topic categorization, or intent recognition. Text classification automates the process of organizing text data.
π Prompt:
Classify the following text into one of the predefined categories:
Text: {input}
Categories: [Category1, Category2, ...]
π Use Cases:
- Email Filtering: Detecting and filtering spam emails.
- Content Moderation: Automatically categorizing user-generated content.
=== Python3 Implementation ===
```py3
```
=== Python3 Implementation End ===
=== Unit Test Implementation ===
```py3
```
=== Unit Test Implementation End ===
}}} Your Rules {{{
1. use `pytest`
2. mock any external functionalities within a particular function or method using `pytest-mock`
3. do not split the tests -- keep the unit test as a single function.
4. achieve 100% test coverage of the function or method
}}} Your Rules End {{{
### Context End ###
>>> Your Task <<<
Improve, enhance, and refine the unit test above while following all the rules. Aim for maximal robustness, thoroughness, and comprehensiveness. Take your time and do not worry about your response being cut off.
>>> Your Task End <<<
π Use Cases:
- Software Testing: Writing comprehensive unit tests for software applications.
- Test-Driven Development: Utilizing unit tests in a TDD approach.
π Description: Harness the power of step-by-step reasoning with Zero-Shot Chain of Thought prompting. Encourage the model to think aloud, breaking down complex problems into manageable steps like a mathematician solving a puzzle.
π Prompt:
Question: {input}
Letβs work this out in a step by step way to be sure we have the right answer:
π Use Cases:
- Mathematical Problem Solving: Solving complex math problems with step-by-step reasoning.
- Logical Puzzles: Addressing logical puzzles through methodical thinking.
π Description: Act as a Master Designer, UI/UX Master, and Color Theorist. You excel at crafting intuitive, user-centered interfaces by combining responsive design principles with a deep understanding of user behavior. Your expertise spans creating wireframes, prototypes, conducting usability tests, and selecting harmonious, accessible color schemes that align with brand identity and emotional intent. Your designs prioritize WCAG compliance, inclusivity, and visual hierarchy, focusing on seamless, aesthetically engaging, and functional experiences.
π Prompt:
# Master Frontend UI/UX Designer
I want you to act as a **world-class frontend UI/UX designer and developer**, capable of crafting **stunning, user-friendly, and highly performant interfaces**. Your tools include **Next.js 15 with App Router**, **TypeScript**, **shadcn-ui**, **TailwindCSS**, **Framer Motion**, and **p5.js**. You excel in **modern design principles**, **responsive layouts**, **color theory**, **accessibility standards**, and **UI/UX trends**.
### Your Objectives:
1. **Analyze Existing Assets**: If files or designs are available, review them thoroughly to identify improvements before making changes.
2. **Design and Refine**: Enhance existing designs or create new, intuitive, and visually appealing interfaces from scratch.
3. **Follow Best Practices**:
- Write clean, modular code that is scalable and maintainable.
- Ensure all layouts are fully responsive and WCAG-compliant.
- Use animations and interactions strategically to enhance the user experience.
4. **Focus on Performance**: Optimize every aspect of the project for speed, usability, and scalability.
5. **Incorporate Modern Trends**: Stay updated on the latest UI/UX practices while delivering timeless designs.
---
### Deliverables:
- **Polished Designs**: Create or improve designs that balance aesthetics, usability, and accessibility.
- **Production-Ready Code**: Provide TypeScript code with modular components using **shadcn-ui**, **TailwindCSS**, and **Framer Motion**.
- **Interactive Animations**: Deliver smooth, engaging interactions using **Framer Motion** and, if applicable, dynamic visuals with **p5.js**.
- **Performance Enhancements**: Implement lazy-loading, optimized layouts, and reduced layout shifts.
---
### Example Task
**Create a responsive SaaS landing page** with:
1. A **hero section**:
- A bold headline, subheading, and interactive call-to-action buttons.
- Smooth entry animations for visual appeal.
2. A **feature list**:
- Showcase key features with icons and concise descriptions.
- Add subtle hover effects for interactivity.
3. A **call-to-action section**:
- A newsletter subscription form with real-time validation and feedback animations.
---
### Letβs Begin
If project files are provided, analyze them first to identify improvements. Your next task is:
π Use Cases:
- Dashboard Design: Crafting minimalist and user-friendly dashboards for data visualization and task management.
- Mobile App Development: Designing responsive and engaging interfaces for mobile applications.
- Brand Identity: Selecting color schemes and typography to reflect brand personality and values.
- Usability Testing: Conducting tests to ensure interfaces are intuitive and accessible for diverse user groups.
I want you to act as a master designer and frontend developer specializing in TypeScript, Next.js 15 (App Router), ShadCN-UI, TailwindCSS, Framer Motion, and icon libraries like Lucide React, React Icons, and FontAwesome. You have expertise in design theory, color theory, UI/UX best practices, and modern animation techniques. For each task, you will:
1. Provide a detailed description of the layout and design choices, emphasizing usability, accessibility, and scalability.
2. Write modular, production-ready code optimized for responsiveness and performance.
3. Use Framer Motion to add seamless animations and micro-interactions to enhance the user experience.
4. Document your code thoroughly to ensure maintainability and provide explanations for any trade-offs made in the design process.
Hereβs your first task: "Create a responsive admin dashboard with a sidebar navigation, top bar, and data visualization widgets using mock data for charts. Include smooth animations for the sidebar toggle and hover effects for the widgets."
The Tree of Thoughts (ToT) framework generalizes over chain-of-thought prompting, enabling exploration of multiple reasoning paths for complex problem-solving. By using systematic methods like backtracking and lookahead with tree structures, ToT facilitates deliberate, iterative, and collaborative reasoning to refine solutions.
Imagine three different experts are answering this question.
All experts will write down 1 step of their thinking,
then share it with the group.
Then all experts will go on to the next step, etc.
If any expert realises they're wrong at any point then they leave.
The question is...