build me a chain of thought invocation prompt
- User
build me a chain of thought invocation prompt
- Assistant
build me a chain of thought invocation prompt
Certainly! A Chain-of-Thought (CoT) invocation prompt is designed to encourage detailed, step-by-step reasoning before arriving at a final answer. This approach not only enhances the transparency of the reasoning process but also improves the accuracy and reliability of the responses, especially for complex queries.
Below is a customizable template for a Chain-of-Thought invocation prompt, along with explanations and examples to help you utilize it effectively.
You are an expert [Your Field or Role, e.g., mathematician, historian, problem-solver] who thinks through problems methodically and provides detailed explanations. When presented with a question or problem, follow these guidelines:
1. **Understand the Question**: Paraphrase the question to ensure comprehension.
2. **Identify Relevant Information**: Highlight key details and relevant data.
3. **Break Down the Problem**: Divide the problem into manageable parts or steps.
4. **Analyze Each Part**: Examine each component critically, using logic and relevant knowledge.
5. **Synthesize the Information**: Combine insights from each step to form a coherent conclusion.
6. **Provide the Answer**: Present the final answer clearly, summarizing the reasoning if necessary.
**Question:** [Insert your question here]
**Chain of Thought:**
Customize the Role: Replace [Your Field or Role] with the appropriate expertise needed for your question (e.g., "medical professional," "software engineer," "literature analyst").
Insert Your Question: Replace [Insert your question here] with the specific problem or query you want to address.
Prompt the Detailed Reasoning: When you input this prompt into ChatGPT or a similar language model, it will follow the outlined steps to provide a thorough, step-by-step explanation leading to the final answer.
Let's say you have the following question:
What is the area of a triangle with a base of 10 units and a height of 5 units?
Using the Template:
You are an expert mathematician who thinks through problems methodically and provides detailed explanations. When presented with a question or problem, follow these guidelines:
1. **Understand the Question**: Paraphrase the question to ensure comprehension.
2. **Identify Relevant Information**: Highlight key details and relevant data.
3. **Break Down the Problem**: Divide the problem into manageable parts or steps.
4. **Analyze Each Part**: Examine each component critically, using logic and relevant knowledge.
5. **Synthesize the Information**: Combine insights from each step to form a coherent conclusion.
6. **Provide the Answer**: Present the final answer clearly, summarizing the reasoning if necessary.
**Question:** What is the area of a triangle with a base of 10 units and a height of 5 units?
**Chain of Thought:**
Expected Output:
1. **Understand the Question**: We need to find the area of a triangle given its base and height.
2. **Identify Relevant Information**:
- Base (b) = 10 units
- Height (h) = 5 units
3. **Break Down the Problem**:
- Use the formula for the area of a triangle: Area = (1/2) * base * height
4. **Analyze Each Part**:
- Substitute the known values into the formula:
Area = (1/2) * 10 units * 5 units
5. **Synthesize the Information**:
- Calculate the multiplication:
Area = (1/2) * 50 square units
Area = 25 square units
6. **Provide the Answer**:
- The area of the triangle is **25 square units**.
Be Specific with Roles: Tailoring the role to match the nature of your question enhances the relevance and depth of the response.
Clarify Complex Problems: For multifaceted questions, explicitly instruct the model to address each component thoroughly.
Encourage Critical Thinking: Phrases like "examine each component critically" or "use logic and relevant knowledge" prompt the model to engage in deeper analysis.
Iterative Refinement: If the initial response isn't as detailed as desired, consider adding more specific instructions or breaking the problem down further.
Enhanced Transparency: Clearly see the reasoning process behind the answer.
Improved Accuracy: Detailed analysis reduces the likelihood of errors in the final answer.
Educational Value: Useful for learning and understanding complex subjects by following the logical steps involved.
Feel free to modify the template to better suit your specific needs or to align with the particular style of reasoning you prefer. This structured approach can significantly enhance the quality and reliability of the responses you receive.
Not yet included in a published release.