|
1 |
| -# NOTE: |
2 |
| -# PROMPTS generated with the help of ChatGPT GPT-4o Nov 2024 |
3 |
| - |
4 |
| -role_prompt = "You are an excellent tutor that aims to provide clear and concise explanations to students. I am the student. Your task is to answer my questions and provide guidance on the topic discussed. Ensure your responses are accurate, informative, and tailored to my level of understanding and conversational preferences. If I seem to be struggling or am frustrated, refer to my progress so far and the time I spent on the question vs the expected guidance. If I ask about a topic that is irrelevant, then say 'I'm not familiar with that topic, but I can help you with the [topic]. You do not need to end your messages with a concluding statement.\n\n" |
| 1 | +role_prompt = """You are a highly skilled and patient AI tutor dedicated to helping me, the student, discover answers and master concepts. Your teaching approach focuses on student-centered learning, fostering critical thinking, active engagement, and confidence building. |
| 2 | +
|
| 3 | +## Teaching Methods: |
| 4 | +Step-by-Step Guidance: Break down complex problems into smaller, manageable steps, solving them incrementally. Avoid immediately providing the final answer immediately; instead, offer hints or intermediate steps to guide the student toward the solution. Share the complete answer only when necessary to help the student progress. If the student explicitly requests the answer, provide it only after encouraging further exploration and understanding earlier in the conversation. |
| 5 | +Error Reflection: Treat mistakes as opportunities for learning by helping students analyze why they occurred and how to address them. |
| 6 | +Active Involvement: Encourage students to actively participate in problem-solving, offering support without taking over their learning process. |
| 7 | +
|
| 8 | +## Key Qualities: |
| 9 | +Awareness: Base your responses on known learning materials, referring to them when needed. Summarize or paraphrase content to ensure clarity and understanding, rather than repeating it verbatim. |
| 10 | +Patience: Give students sufficient time to think, process, and respond without rushing them. |
| 11 | +Clarity: Simplify complex ideas into clear, actionable steps. |
| 12 | +Encouragement: Recognize and celebrate student efforts and achievements to maintain motivation. |
| 13 | +Adaptability: Tailor your teaching methods to the student's learning preferences and evolving needs. |
| 14 | +Curiosity-Driven: Inspire students to ask meaningful questions, fostering a love for learning. |
| 15 | +Consistency: Reinforce concepts regularly to build lasting understanding. |
| 16 | +Authenticity: Provide constructive feedback that is clear and focused. Praise students only when they make significant efforts, achieve breakthroughs, or need motivation. Avoid excessive praise that may seem insincere. |
| 17 | +Engagement: Conclude interactions with questions to maintain dialogue and assess the student's comprehension and comfort with the material. |
| 18 | +Personalised Feedback: Tailor your explanations, questions, and support to align with the student's current level, specific needs, and progress. If the student seems stuck, evaluate their progress and the time spent on the question. If they continue to struggle across multiple interactions, gradually provide more detailed and specific guidance to help them move forward. |
| 19 | +
|
| 20 | +## Flexibility: |
| 21 | +Directly answer the student's question. Keep your answer short. If the student asks about an irrelevant topic, politely redirect them back to the topic. Do not end your responses with a concluding statement. |
| 22 | +
|
| 23 | +## Governance: |
| 24 | +You are a chatbot deployed in Lambda Feedback, an online self-study platform. You are collaboratively working through exercises with students from Imperial College London.""" |
5 | 25 |
|
6 | 26 | pref_guidelines = """**Guidelines:**
|
7 | 27 | - Use concise, objective language.
|
|
13 | 33 | - If no particular preference is detectable, state "No preference observed."
|
14 | 34 | """
|
15 | 35 |
|
16 |
| -conv_pref_prompt = f"""Analyze the student’s conversational style based on the interaction above. Identify key learning preferences and patterns without detailing specific exchanges. Focus on how the student learns, their educational goals, their preferences when receiving explanations or corrections, and their preferences in communicating with you (the chatbot). Describe high-level tendencies in their learning style, including any clear approach they take toward understanding concepts or solutions. |
17 |
| -
|
18 |
| -{pref_guidelines} |
19 |
| -
|
20 |
| -Examples: |
21 |
| -
|
22 |
| -Example 1: |
23 |
| -**Conversation:** |
24 |
| -Student: "I understand that the derivative gives us the slope of a function, but what if we want to know the rate of change over an interval? Do we still use the derivative?" |
25 |
| -AI: "Good question! For an interval, we typically use the average rate of change, which is the change in function value over the change in x-values. The derivative gives the instantaneous rate of change at a specific point." |
26 |
| -
|
27 |
| -**Expected Answer:** |
28 |
| -The student prefers in-depth conceptual understanding and asks thoughtful questions that differentiate between similar concepts. They seem comfortable discussing foundational ideas in calculus. |
29 |
| -
|
30 |
| -Example 2: |
31 |
| -**Conversation:** |
32 |
| -Student: "I’m trying to solve this physics problem: if I throw a ball upwards at 10 m/s, how long will it take to reach the top? I thought I could just divide by gravity, but I’m not sure." |
33 |
| -AI: "You're on the right track! Since acceleration due to gravity is 9.8 m/s², you can divide the initial velocity by gravity to find the time to reach the peak, which would be around 1.02 seconds." |
34 |
| -
|
35 |
| -**Expected Answer:** |
36 |
| -The student prefers practical problem-solving and is open to corrections. They often attempt a solution before seeking guidance, indicating a hands-on approach. |
37 |
| -
|
38 |
| -Example 3: |
39 |
| -**Conversation:** |
40 |
| -Student: "Can you explain the difference between meiosis and mitosis? I know both involve cell division, but I’m confused about how they differ." |
41 |
| -AI: "Certainly! Mitosis results in two identical daughter cells, while meiosis results in four genetically unique cells. Meiosis is also involved in producing gametes, whereas mitosis is for growth and repair." |
42 |
| -
|
43 |
| -**Expected Answer:** |
44 |
| -The student prefers clear, comparative explanations when learning complex biological processes. They often seek clarification on key differences between related concepts. |
45 |
| -
|
46 |
| -Example 4: |
47 |
| -**Conversation:** |
48 |
| -Student: "I wrote this Python code to reverse a string, but it’s not working. Here’s what I tried: `for char in string: new_string = char + new_string`." |
49 |
| -AI: "You’re close! Try initializing `new_string` as an empty string before the loop, so each character appends in reverse order correctly." |
50 |
| -
|
51 |
| -**Expected Answer:** |
52 |
| -The student prefers hands-on guidance with code, often sharing specific code snippets. They value targeted feedback that addresses their current implementation while preserving their general approach. |
53 |
| -
|
| 36 | +conv_pref_prompt = """Analyze the conversation to assess a student's emotional state, feedback preferences, learning style (using Bloom’s Taxonomy), and problem-solving recognition (using George Pólya’s four-step method). |
| 37 | +
|
| 38 | +Instructions: |
| 39 | +
|
| 40 | +1. Emotion Detection: Analyze the tone and wording to determine how the student feels about the learning process. Possible emotions: Curious, frustrated, anxious, confident, disengaged, motivated, overwhelmed. |
| 41 | +2. Feedback Preferences: Identify the best way to provide guidance based on the student’s responses: Direct correction, encouragement, step-by-step guidance, or self-discovery. |
| 42 | +3. Learning Style (Bloom’s Taxonomy-Based): Categorize the student’s cognitive level based on Bloom’s Taxonomy of Learning Domains: |
| 43 | +Remembering (e.g., recalling facts, definitions) |
| 44 | +Understanding (e.g., explaining concepts in their own words) |
| 45 | +Applying (e.g., solving basic problems using knowledge) |
| 46 | +Analyzing (e.g., breaking concepts into components) |
| 47 | +Evaluating (e.g., making judgments, comparing ideas) |
| 48 | +Creating (e.g., generating new solutions, designing projects) |
| 49 | +4. Problem-Solving Stage (George Pólya’s Four-Step Method): If the student is solving a problem, determine their stage: |
| 50 | +Understanding the Problem (Clarifying the issue, asking for definitions/examples) |
| 51 | +Devising a Plan (Exploring different strategies, making a hypothesis) |
| 52 | +Carrying Out the Plan (Executing a method, solving step-by-step) |
| 53 | +Looking Back (Reviewing correctness, reflecting on solutions) |
| 54 | +5. Summarise findings in a structured format: |
| 55 | +Emotion: (Detected emotion) |
| 56 | +Feedback Preference: (Detected preference) |
| 57 | +Learning Stage (Bloom’s Taxonomy): (Detected stage) |
| 58 | +Problem-Solving Stage (Pólya’s Method): (If applicable, detected stage) |
| 59 | +Reasoning: (Explain how the student’s responses indicate each category) |
| 60 | +Reasoning: (Explain how you determined each category based on the conversation) |
| 61 | +
|
| 62 | +Example Conversation |
| 63 | +Human: "I keep getting stuck on this algebra problem. I don’t even know where to start. Can you help me break it down?" |
| 64 | +AI: "Of course! Let's start by understanding the problem. First, what do you already know about the equation? Try identifying the key parts—what are the variables, constants, and operations involved? That way, we can break it down step by step together." |
| 65 | +
|
| 66 | +Example Output: |
| 67 | +Emotion: Frustrated (expresses difficulty and uncertainty) |
| 68 | +Feedback Preference: Step-by-step guidance (asks for breakdown help) |
| 69 | +Learning Stage (Bloom’s Taxonomy): Understanding (Student is trying to grasp the concept but hasn't yet applied it) |
| 70 | +Problem-Solving Stage (Pólya’s Method): Understanding the Problem (Student is struggling with how to start) |
| 71 | +Reasoning: The student states they are "stuck" and "don’t know where to start," indicating they are still working on understanding rather than applying or analyzing the problem. The AI response encourages problem breakdown, aligning with Pólya’s first step of defining the problem before planning a solution. |
54 | 72 | """
|
55 | 73 |
|
56 | 74 | update_conv_pref_prompt = f"""Based on the interaction above, analyse the student’s conversational style. Identify key learning preferences and patterns without detailing specific exchanges. Focus on how the student learns, their educational goals, their preferences when receiving explanations or corrections, and their preferences in communicating with you (the chatbot). Add your findings onto the existing known conversational style of the student. If no new preferences are evident, repeat the previous conversational style analysis.
|
|
0 commit comments