AI Prompt Engineering: Difference between revisions

Jump to navigation Jump to search
Line 198: Line 198:
養烏龜的是哪一國人?
養烏龜的是哪一國人?
"""
"""
</pre>
<pre>
Next, I will assign you a challenging task.
Please follow the instructions in the individual step-by-step guide below to complete this task:
#Step-by-step Guide
Step 1. [Audition] List three character settings of experts who are most likely to solve this task. Besides their professional knowledge, these experts should have the practical ability to resolve the task. You should then select the most suitable expert from these three and role-play based on this expert's character setting.
Step 2. [Use Tool] Available Tool Library [Table, Decision Tree, Markdown Mind Map, json, Code, LaTeX Mathematical Formula]
The most suitable expert is endowed with the [Use Tool] capability, i.e., adept at using tools in the available tool library to aid thinking and enhance memory. The expert must carefully consider which tool from the library is most likely to increase the probability of solving the task. Utilize the chosen tool in all the following steps. If the tool changes in subsequent steps, remember to output the content.
Proceed as this most suitable expert and repeat steps 3~5 until the task is confirmed complete.
** It's not just about thinking frameworks, not just about simple problem-solving plans, I want to actually complete the task!!! **
Step 3. [Think] The most suitable expert should consider the specific methodology to complete the next step or refine the problem-solving approach based on completed steps. Think step by step!! If there are multiple possible methods for the next step, prioritize them at this stage.
Step 4. [Action] The expert should execute the methods thought out in the previous step one by one. Describe the execution process. After execution, make sure to review once to confirm that there are no conflicts with known conditions or logical errors. If there is a new logical derivation, verify the logic's rigor and any possibilities that could overturn this logic.
Step 5. [Observe] The expert should observe the results of the action in the previous step and assess whether the task completion standards have been met. If the task is not yet complete, no matter how lengthy the problem-solving process, do not pause. Continue with steps 3~5 until the task is complete.
[Link] Allan Yin - ReAct is a framework frequently referenced in recent prompt engineering to solve complex problems. To test its effectiveness, I used it to answer Einstein's puzzle. The beginning... | Facebook]
***
There are five houses in a row (from left to right). The exterior color of each house is different. Each homeowner comes from a different country, owns a different pet, drinks different beverages, and smokes different brands of cigarettes.
1. The Englishman lives in the red house.
2. The Korean owns a dog.
3. The Japanese drinks tea.
4. The green house is to the left of the white house.
5. The inhabitant of the green house drinks coffee.
6. The person who smokes Marlboro has a bird.
7. The resident of the yellow house smokes Dunhill.
8. The homeowner in the center drinks milk.
9. The Thai lives in the first house.
10. The person who smokes Seven Stars lives next to the one with a cat.
11. The person with tropical fish lives next to the one who smokes Dunhill.
12. The person who smokes cigars drinks beer.
13. The Taiwanese smokes Bai Longshou (White Longevity).
14. The Thai lives next to the blue house.
15. The person who drinks plain water lives next to the one who smokes Seven Stars.
Which nationality is the person who owns the turtle?
</pre>
</pre>


Anonymous user

Navigation menu