import os
import requests
payload = {
"input_prompt": "worksheet for adding like and unlike fractions",
"messages": [
{
"role": "user",
"content": "*Get started with the WhatsApp Business Platform*\n\nCongratulations on taking the first step with the WhatsApp Business Platform! Together with your Solution Provider, we're committed to your success and we're here to help you do more with conversations every step of the way.\n\nLearn more: https://business.whatsapp.com/resources/resource-library/api-onboarding?lang=en_US",
},
{
"role": "assistant",
"content": "Hello! I’m NEST - Nurturing Educator Support Tool, here to support you in your classroom journey. Whether you’re planning a lesson or navigating a tough moment with a student, I’ve got your back. What’s on your mind today?",
},
{
"role": "user",
"content": "*Take a minute right now to send your first message*\n\nBy sending a quick test message to yourself, you can experience messaging before you dive in with customers.\n\nNow, let's send a message:\n1. Open WhatsApp on your personal phone, and send a test message (eg. Testing 123) to your WhatsApp business phone number: +91 91365 81207\n2. Check your test messages on your solution provider's inbox to find your test message\n3. Reply to the test message, and see how the reply looks on your personal phone",
},
{
"role": "assistant",
"content": "I couldn’t find an answer in our resources right now. You might want to explore this further—try speaking with your Program Manager, co-Fellows, or doing a bit of research online. Let me know if you’d like help framing your question!",
},
{
"role": "user",
"content": "*Get inspiration from success stories*\n\nNow that you're set up on the WhatsApp Business platform, it's time to think about what you'd like to accomplish first. Learn about how you can send promos, capture and nurture leads, and streamline customer support through these success stories!\n\nLearn more: https://business.whatsapp.com/resources/success-stories?lang=en_US",
},
{
"role": "assistant",
"content": "I couldn’t find an answer in our resources right now. You might want to explore this further—try speaking with your Program Manager, co-Fellows, or doing a bit of research online. Let me know if you’d like help framing your question!",
},
{
"role": "user",
"content": "*Open more doors to growth with business verification*\n\nBusiness verification confirms the legitimacy of your business and unlocks additional WhatsApp benefits including:\n1. Send more messages to customers\n2. Register up to 20 phone numbers\n3. Authenticate your business and establish trust by showing your display name in chats\n\nReach out to your Solution Provider to get started or learn more about the business verification here: https://www.facebook.com/business/help/1095661473946872",
},
{
"role": "assistant",
"content": "I couldn’t find an answer in our resources right now. You might want to explore this further—try speaking with your Program Manager, co-Fellows, or doing a bit of research online. Let me know if you’d like help framing your question!",
},
{"role": "user", "content": "lesson plan for grade 6 integers"},
{
"role": "assistant",
"content": "Here's a lesson plan template for teaching integers to Grade 6 students using the 5 Magic Questions approach:\n\n### Lesson Plan: Understanding Integers\n\n1. **Purpose (Why?)**\n - **Big Question & Objective for the Day:** How do we understand and use integers in real-life situations?\n - **Why are students learning this today?** Understanding integers helps students in daily situations, like temperature changes and financial transactions. It builds a foundation for algebra.\n\n2. **Integration (Connections)**\n - **Connections:** This lesson connects to prior knowledge of whole numbers and introduces negative numbers, which students encounter in real life (e.g., below zero temperatures).\n - **Key Points Students Need to Know/Do:** Identify positive and negative integers, understand their placement on a number line, and perform basic operations.\n\n3. **Methods (How?)**\n - **Key Learning Activity 1 – Number Line Exploration**\n - **Step 1:** Teacher draws a number line on the board, labeling positive and negative integers.\n - **Step 2:** Students place integers on the number line using colored sticky notes.\n - **Step 3:** Teacher asks students to explain their placement.\n\n - **Key Learning Activity 2 – Real-Life Scenarios**\n - **Step 1:** Present scenarios (e.g., temperature changes, debts).\n - **Step 2:** Students discuss how to represent these scenarios with integers.\n - **Step 3:** Teacher guides students to express these scenarios using addition or subtraction of integers.\n\n4. **Mastery (Showcase of Learning)**\n - **Showcase:** Students create a mini-poster showing a real-life situation involving integers, explaining their reasoning and the operations used. This can be shared with the class.\n\n5. **Partnership (Learning Together)**\n - **Collaboration:** Students work in pairs to solve integer problems, sharing their thought processes. They can offer peer feedback on each other's posters.\n\n### Closing\n- **Reflection:** Have students write one thing they learned about integers and one question they still have. This will help the teacher assess understanding and address any lingering confusion in future lessons.\n\nLet me know how it goes, or if you'd like to adjust any part of the plan!",
},
{"role": "user", "content": "lesson for teaching democracy to grade 7"},
{
"role": "assistant",
"content": "Here's a lesson plan template for teaching democracy to Grade 7 students using the 5 Magic Questions approach:\n\n### Lesson Plan: Understanding Democracy\n\n1. **Purpose (Why?)**\n - **Big Question & Objective for the Day:** What is democracy, and why is it important for society?\n - **Why are students learning this today?** Understanding democracy helps students appreciate their rights and responsibilities as citizens and fosters active participation in their community.\n\n2. **Integration (Connections)**\n - **Connections:** This lesson connects to students' prior knowledge of community roles and introduces concepts of rights, responsibilities, and civic engagement.\n - **Key Points Students Need to Know/Do:** Define democracy, understand its principles, and discuss its significance in real-life contexts.\n\n3. **Methods (How?)**\n - **Key Learning Activity 1 – Defining Democracy**\n - **Step 1:** Teacher presents a definition of democracy and examples of democratic countries.\n - **Step 2:** Students brainstorm characteristics of democracy in small groups.\n - **Step 3:** Groups share their ideas, and the teacher records them on the board.\n\n - **Key Learning Activity 2 – Role Play**\n - **Step 1:** Assign roles (e.g., citizens, elected officials) in a mock election.\n - **Step 2:** Students create campaign speeches and discuss issues important to their community.\n - **Step 3:** Conduct a mock election where students vote on issues or leaders.\n\n4. **Mastery (Showcase of Learning)**\n - **Showcase:** Students write a short reflection on what democracy means to them and how they can participate in it. This can be shared in small groups.\n\n5. **Partnership (Learning Together)**\n - **Collaboration:** Students work in pairs to discuss what responsibilities come with democratic rights, encouraging peer feedback on their reflections.\n\n### Closing\n- **Reflection:** Ask students to share one action they can take to participate in democracy in their community. Encourage them to think about how they can apply what they've learned beyond the classroom.\n\nLet me know how it goes, or if you’d like to tweak any part of the plan!",
},
{"role": "user", "content": "worksheet for democracy"},
{
"role": "assistant",
"content": "I couldn’t find a specific worksheet for teaching democracy in our resources right now. However, I can help you create a simple worksheet that you can adapt for your Grade 7 students. Here’s a template you can use:\n\n### Worksheet: Exploring Democracy\n\n**Warm-Up Question:** \n1. What does democracy mean to you? Write a few sentences.\n\n---\n\n**Section 1: Key Concepts** \n2. Define the following terms: \n a. Democracy \n b. Rights \n c. Responsibilities \n\n---\n\n**Section 2: Real-Life Examples** \n3. List two countries that practice democracy. \n4. Describe one democratic practice (e.g., voting, free speech) that you think is important and explain why.\n\n---\n\n**Section 3: Reflection** \n5. What role do you think citizens play in a democracy? \n6. How can you participate in democracy in your community or school?\n\n---\n\n**Challenge Question:** \n7. Why do you think it's important for young people to understand democracy?\n\n---\n\nFeel free to modify the questions or add activities that suit your class needs! Let me know how it goes or if you’d like to adjust any part of the worksheet!",
},
{"role": "user", "content": "can you differentiate it for 2 levels"},
{
"role": "assistant",
"content": "I couldn’t find a specific resource for differentiating lessons on democracy for two levels. However, I can help you create a differentiated worksheet that you can adapt for your Grade 7 students. Here’s a template you might find useful:\n\n### Differentiated Worksheet: Exploring Democracy\n\n#### **Level 1: Basic Understanding**\n\n**Warm-Up Question:** \n1. What does democracy mean to you? Write a few sentences.\n\n---\n\n**Section 1: Key Concepts** \n2. Define the following terms: \n a. Democracy \n b. Rights \n c. Responsibilities \n\n---\n\n**Section 2: Real-Life Examples** \n3. Name one country that practices democracy. \n4. Describe one democratic practice (e.g., voting) that you think is important.\n\n---\n\n**Section 3: Reflection** \n5. Why is it important for citizens to participate in a democracy?\n\n---\n\n#### **Level 2: Advanced Understanding**\n\n**Warm-Up Question:** \n1. How would you explain democracy to someone who has never heard of it?\n\n---\n\n**Section 1: Key Concepts** \n2. Explain the following concepts in your own words: \n a. Democracy \n b. Rights of citizens \n c. Responsibilities of citizens \n\n---\n\n**Section 2: Real-Life Examples** \n3. Identify two countries that practice democracy and compare their democratic practices. \n4. Discuss a specific democratic practice (e.g., voting, freedom of speech) and why it is essential for a healthy democracy.\n\n---\n\n**Section 3: Reflection** \n5. Reflect on a recent event in your country related to democracy. What was the event, and why was it significant?\n\n---\n\nFeel free to adjust the complexity of the questions and instructions based on your classroom needs! Let me know how it goes or if you’d like to modify any part of the worksheet!",
},
{
"role": "user",
"content": "writing lesson for grade 5 on speech on gender equality",
},
{
"role": "assistant",
"content": "I couldn’t find a specific resource for a Grade 5 lesson on speech writing about gender equality. However, I can help you create a simple lesson plan that you can adapt to fit your classroom needs. Here’s a template you can use:\n\n### Lesson Plan: Writing a Speech on Gender Equality\n\n1. **Purpose (Why?)**\n - **Big Question & Objective for the Day:** Why is gender equality important, and how can we advocate for it through speech?\n - **Why are students learning this today?** Understanding gender equality empowers students to express their views and advocate for fairness.\n\n2. **Integration (Connections)**\n - **Connections:** This lesson connects to students' prior knowledge of rights and fairness. Discuss what they know about gender roles in their community.\n - **Key Points Students Need to Know/Do:** Define gender equality, identify reasons it matters, and structure a persuasive speech.\n\n3. **Methods (How?)**\n - **Key Learning Activity 1 – Introduction to Gender Equality**\n - **Step 1:** Teacher introduces the topic and defines gender equality.\n - **Step 2:** Class discussion on why it matters and examples from their lives.\n\n - **Key Learning Activity 2 – Speech Writing**\n - **Step 1:** Teach the structure of a persuasive speech (introduction, body, conclusion).\n - **Step 2:** Students brainstorm ideas for their speech on gender equality.\n - **Step 3:** Students draft their speeches, focusing on clarity and persuasive techniques.\n\n4. **Mastery (Showcase of Learning)**\n - **Showcase:** Students present their speeches to the class. Encourage peer feedback focused on clarity and impact.\n\n5. **Partnership (Learning Together)**\n - **Collaboration:** Students work in pairs to share their drafts and provide constructive feedback using a simple checklist (e.g., clear message, strong examples).\n\n### Closing\n- **Reflection:** Have students write down one thing they learned about gender equality and one action they can take to promote it in their community.\n\nFeel free to modify any part of this plan to better suit your class! Let me know if you’d like to adjust anything or need further assistance!",
},
{"role": "user", "content": "how to move my classroom from svs 2 to 3"},
{
"role": "assistant",
"content": "I couldn’t find a specific answer in our resources right now about moving your classroom from SVS Level 2 to Level 3. However, here are some general strategies you can consider:\n\n1. **Assess Current Skills:** Start by evaluating where your students currently stand at Level 2. Identify their strengths and areas for improvement using trackers or assessments.\n\n2. **Set Clear Goals:** Establish specific learning goals that align with Level 3 expectations. Ensure that students understand these goals and what is required to achieve them.\n\n3. **Incorporate Collaboration:** Encourage group work and peer teaching. This helps students practice leadership and empathy, which are crucial for progressing to Level 3.\n\n4. **Engage in Real-World Problem Solving:** Create opportunities for students to tackle real-world problems that require critical thinking and application of their knowledge.\n\n5. **Regular Reflection:** Use exit tickets or reflection journals to help students think about their learning and contributions. This builds self-awareness and accountability.\n\n6. **Provide Support and Resources:** Offer additional resources or support for students who may struggle with the transition. This could include targeted small group instruction.\n\nYou might want to discuss these strategies with your Program Manager or co-Fellows for more tailored advice. Let me know if you’d like help with anything specific!",
},
{"role": "user", "content": "my kids throw things at me while teaching"},
{
"role": "assistant",
"content": "I couldn’t find a specific answer in our resources right now about managing students throwing things in class. However, here are some strategies you can consider:\n\n1. **Build Relationships:** Start by connecting with your students. Understanding their backgrounds and interests can create a more respectful environment. Make time for one-on-one interactions to build trust.\n\n2. **Set Clear Expectations:** At the beginning of each class, clearly outline acceptable behaviors and the consequences of misbehavior. Consistency is key, so ensure that students understand what is expected.\n\n3. **Engage Them Actively:** Keep students engaged with interactive activities. Use group work, discussions, or hands-on tasks to minimize off-task behavior. When students are involved, they are less likely to act out.\n\n4. **Use Proximity:** Move around the classroom during lessons. Your presence near students can deter disruptive behavior. \n\n5. **Address Underlying Issues:** If throwing objects continues, talk to the students individually to understand their motivations. Sometimes, misbehavior stems from unmet needs or frustrations.\n\n6. **Implement Restorative Practices:** When incidents occur, have students reflect on their actions and discuss how they can make amends. This approach teaches responsibility and empathy.\n\n7. **Create a Safe Space:** Ensure your classroom feels safe for all students. A supportive environment can reduce the impulse to misbehave.\n\nIf the behavior continues, consult with your Program Manager or co-Fellows for additional support and strategies tailored to your classroom. Let me know if you’d like to discuss this further!",
},
{"role": "user", "content": "anchor chart for prepositions"},
{
"role": "assistant",
"content": "I couldn’t find a specific anchor chart for prepositions in our resources right now. However, I can help you create a simple and effective anchor chart template for teaching prepositions that you can adapt for your Grade 5 classroom:\n\n### Anchor Chart: Understanding Prepositions\n\n**Title: What are Prepositions?**\n\n**Definition:** \nA preposition is a word that shows the relationship between a noun (or pronoun) and other words in a sentence. It often tells us about location, direction, time, or manner.\n\n---\n\n**Common Prepositions:**\n- **Location:** in, on, under, above, between, beside, near\n- **Direction:** to, from, toward, through, across\n- **Time:** at, before, after, during, until\n\n---\n\n**Examples in Sentences:**\n1. The cat is **on** the table.\n2. She ran **toward** the park.\n3. We will meet **after** lunch.\n\n---\n\n**Fun Activity:** \nDraw a picture illustrating prepositions. For example, show a cat **under** a table or a bird **in** a tree, and label the prepositions used.\n\n---\n\n### How to Use This Chart:\n- **Display** it in your classroom for students to reference.\n- **Refer** to it during writing activities to encourage the use of prepositions.\n- **Encourage** students to add their own examples or illustrations over time.\n\nFeel free to customize this template to fit your teaching style and classroom needs! Let me know if you’d like to make any adjustments or need further assistance!",
},
],
}
response = requests.post(
"https://api.gooey.ai/v2/agent?example_id=0bbsg0y189mb",
headers={
"Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
},
json=payload,
)
assert response.ok, response.content
result = response.json()
print(response.status_code, result)