Skip to content

Commit db6ba13

Browse files
authored
gsoc25-week10 (#386)
1 parent a9a95cd commit db6ba13

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: "GSoC ’25 Week 10 Update by Diwangshu Kakoty"
3+
excerpt: "Reflection Widget"
4+
category: "DEVELOPER NEWS"
5+
date: "2025-08-22"
6+
slug: "2025-08-22-gsoc-25-diwangshu-week10"
7+
author: "@/constants/MarkdownFiles/authors/diwangshu-kakoty.md"
8+
tags: "gsoc25,sugarlabs,week10,AI"
9+
image: "assets/Images/GSOC.webp"
10+
---
11+
12+
<!-- markdownlint-disable -->
13+
14+
# Week 10 Progress Report by Diwangshu Kakoty
15+
16+
**Project:** [AI Tools for Reflection](https://github.com/Commanderk3/reflection_ai)
17+
**Mentors:** [Walter Bender](https://github.com/walterbender), [Sumit Srivastava](https://github.com/sum2it)
18+
**Assisting Mentors:** [Devin Ulibarri](https://github.com/pikurasa), [Ajeet Pratap Singh](https://github.com/apsinghdev)
19+
**Reporting Period:** 2025-08-05 - 2025-08-11
20+
21+
---
22+
23+
## Goals for This Week
24+
25+
- **Goal 1:** Improved 'reflection' widget UI.
26+
- **Goal 2:** Fixed a bug in sender name display.
27+
- **Goal 3:** Simplified first message generation.
28+
- **Goal 4:** Changed 'copy to clipboard' button to 'download text file' button.
29+
- **Goal 5:** Fixed bugs occured by the new changes.
30+
31+
---
32+
33+
## This Week’s Achievements
34+
35+
1. **Improved 'reflection' widget UI**
36+
- The three mentor buttons - "Rohan" as a mentor for general purpose, "Steve Job" as the coding mentor and "Ludwig van Beethoven" as the music mentor - have been moved to the sidebar. The buttons are now more visually appealing and easier to access.
37+
38+
- "Rohan" is set to be the default mentor when the widget is opened. But the other two agents can be selected at any time during the conversation. They will respond in the style of their respective personas and ask relevant questions to their expertise.
39+
40+
- Connectivity error messages now appear directly in the music block's error message box, ensuring a consistent user experience.
41+
42+
- Add a minimum message requirement for using the analysis feature. Users now need at least 10 messages in their chat history before accessing it, ensuring the AI has sufficient context to produce a meaningful analysis.
43+
44+
<a href="https://ibb.co/Cs5y9dxy"><img src="https://i.ibb.co/vvxWd52W/Screenshot-2025-08-22-233052.png" alt="reflection" border="0"></a>
45+
46+
47+
48+
2. **Fixed a bug in sender name display**
49+
- The sender name was not being displayed after the widget was re-opened. The message history was not storing the names of the agents. Now instead of "assistant", it will store the actual name of the agent.
50+
51+
3. **Simplified first message generation**
52+
- My mentor suggested that the first message generated by the bot was too complex for children to understand. It included the project’s algorithm and asked the user to confirm if the guess was correct. The large text could overwhelm users. Therefore, I removed the algorithm from the message. It now simply asks if the guess is correct. This makes it easier for children to understand and respond.
53+
54+
- The algorithm is still generated but it is kept in the system message. This way, the bot can refer to it later in the conversation if needed.
55+
56+
4. **Changed 'copy to clipboard' button to 'download text file' button**
57+
- The "copy to clipboard" button was not very useful, as users would have to manually paste the text somewhere. Now, the button allows users to download the chat history as a text file. This makes it easier for them to save and share their reflections.
58+
59+
---
60+
61+
## Next Week’s Roadmap
62+
63+
- Add loading animation while waiting for the bot's response.
64+
- Try implementing streaming responses from the backend.
65+
- I will deploy the backend on Sugar Lab's AWS server.
66+
67+
---
68+
69+
## Resources & References
70+
71+
- **Reflection widget development branch:** [reflection](https://github.com/Commanderk3/musicblocks/tree/reflection)
72+
- **Fast API server:** [musicblocks_reflection_fastapi](https://github.com/Commanderk3/musicblocks_reflection_fastapi)
73+
74+
---
75+
76+
## Acknowledgments
77+
78+
Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support.
79+
80+
---

0 commit comments

Comments
 (0)