-
Notifications
You must be signed in to change notification settings - Fork 120
GSoC '25 Week 02 Update by Diwangshu Kakoty #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f7e3994
create 2025-06-15 gsoc-25 diwangshu week02
Commanderk3 50ab2c0
update week01 format to new one
Commanderk3 7cfdc6a
author page added
Commanderk3 ffe6eda
author page link to week02
Commanderk3 5756d1c
bug fixes
Commanderk3 3d564b4
"mentor" --> "facilitator"
Commanderk3 00ffe19
added number to challenges
Commanderk3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| --- | ||
| name: "Diwangshu Kakoty" | ||
| slug: "diwangshu-kakoty" | ||
| title: "GSoC'25 Contributor" | ||
| organization: "SugarLabs" | ||
| description: "Member and GSoC'25 Contributor at SugarLabs" | ||
| avatar: "https://avatars.githubusercontent.com/u/142284646?s=400&u=81be7e66ba1d554e6928fe267d68af5e2a90e359&v=4" | ||
| --- | ||
|
|
||
| <!--markdownlint-disable--> | ||
|
|
||
| # About Diwangshu Kakoty | ||
|
|
||
| Hi, I'm Diwangshu - a B.Tech student and lifelong learner in computer science. I'm a dedicated contributor, community member, and a 2025 Google Summer of Code intern with SugarLabs, where I’m working on the project "AI Tools for Reflection." My passion lies in creativity and building meaningful solutions that benefit society, and I see coding as my way to bring those ideas to life. | ||
|
|
||
|
|
||
| ## Experience | ||
|
|
||
| - **GSoC 2025**: AI Tools for Reflection Learning | ||
| - **SugarLabs Member**: Active contributor to various projects | ||
| - C, JS and Python development | ||
|
|
||
| ## Current Projects | ||
|
|
||
| - AI Tools for Reflection Learning | ||
| - Music Blocks 3 development | ||
|
|
||
|
|
||
| ## Connect with Me | ||
|
|
||
| - **GitHub**: [@Commanderk3](https://github.com/Commanderk3) | ||
| - **Email**: [[email protected]](mailto:[email protected]) | ||
| - **LinkedIn**: [Diwangshu Kakoty](https://www.linkedin.com/in/diwangshu-kakoty/) | ||
| - **Twitter**: [@redCoder101](https://twitter.com/redCoder101) | ||
| - **Discord**: [commanderk3](https://discord.com/users/commanderk3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,8 +4,7 @@ excerpt: "Deploying a Streamlit app for testing" | |
| category: "DEVELOPER NEWS" | ||
| date: "2025-06-04" | ||
| slug: "2025-06-04-gsoc-25-Diwangshu-week01" | ||
| author: "Diwangshu Kakoty" | ||
| description: "GSoC'25 Contributor working on AI Tool for Reflection" | ||
| author: "@/constants/MarkdownFiles/authors/diwangshu-kakoty.md" | ||
| tags: "gsoc25,sugarlabs,week01,AI" | ||
| image: "assets/Images/GSOC.png" | ||
| --- | ||
|
|
@@ -14,7 +13,7 @@ image: "assets/Images/GSOC.png" | |
|
|
||
| # Week 01 Progress Report by Diwangshu Kakoty | ||
|
|
||
| **Project:** [AI Tools for Reflection](https://github.com/Commanderk3/reflection_ai) | ||
| **Project:** [AI Tools for Reflection](https://github.com/Commanderk3/reflection_ai) | ||
| **Mentors:** [Walter Bender](https://github.com/walterbender), [Sumit Srivastava](https://github.com/sum2it) | ||
| **Assisting Mentors:** [Devin Ulibarri](https://github.com/pikurasa), [ Ajeet Pratap Singh](https://github.com/apsinghdev) | ||
| **Reporting Period:** 2025-06-01 - 2025-06-07 | ||
|
|
@@ -76,13 +75,4 @@ image: "assets/Images/GSOC.png" | |
|
|
||
| Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support. | ||
|
|
||
| --- | ||
|
|
||
| ## Connect with Me | ||
|
|
||
| - GitHub: [@Commanderk3](https://github.com/Commanderk3) | ||
| - Gmail: [[email protected]](mailto:[email protected]) | ||
| - LinkedIn: [Diwangshu Kakoty](https://www.linkedin.com/in/diwangshu-kakoty/) | ||
| - Twitter: [@redCoder101](https://twitter.com/redCoder101) | ||
|
|
||
| --- | ||
| --- | ||
101 changes: 101 additions & 0 deletions
101
src/constants/MarkdownFiles/posts/2025-06-15-gsoc-25-diwangshu-week02.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| --- | ||
| title: "GSoC ’25 Week 02 Update by Diwangshu Kakoty" | ||
| excerpt: "Multi-AI Agent Chat Model" | ||
| category: "DEVELOPER NEWS" | ||
| date: "2025-06-15" | ||
| slug: "diwangshu-kakoty" | ||
| author: "@/constants/MarkdownFiles/authors/diwangshu-kakoty.md" | ||
| tags: "gsoc25,sugarlabs,week02,AI" | ||
| image: "assets/Images/GSOC.png" | ||
| --- | ||
|
|
||
| <!-- markdownlint-disable --> | ||
|
|
||
| # Week 02 Progress Report by Diwangshu Kakoty | ||
|
|
||
| **Project:** [AI Tools for Reflection](https://github.com/Commanderk3/reflection_ai) | ||
| **Mentors:** [Walter Bender](https://github.com/walterbender), [Sumit Srivastava](https://github.com/sum2it) | ||
Commanderk3 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| **Assisting Mentors:** [Devin Ulibarri](https://github.com/pikurasa), [Ajeet Pratap Singh](https://github.com/apsinghdev) | ||
| **Reporting Period:** 2025-06-08 - 2025-06-14 | ||
|
|
||
| --- | ||
|
|
||
| ## Goals for This Week | ||
|
|
||
| - **Goal 1:** Develop a chat model consisting of multiple AI agents/mentors. | ||
| - **Goal 2:** Improve the 'Analysis' generation. | ||
| - **Goal 3:** Try and test different embedding models. | ||
| - **Goal 4:** Fix bugs occured by these changes. | ||
|
|
||
| --- | ||
|
|
||
| ## This Week’s Achievements | ||
|
|
||
| 1. **AI Mentors** | ||
| - From the last meeting with my mentor, I received feedback on having specialised AI mentors for areas of expertise, such as music and coding. Hence, I have implemented a way to have conversations with mentors in music, code, and meta. | ||
|
|
||
| - *Music Mentor* : Handles reflection for music learning. | ||
|
|
||
| - *Code Mentor* : Handles programming concepts and debugging reflection. Users can paste their simplified project code for better feedback and guidance. | ||
|
|
||
| - *Meta Facilitator* : Guides general reflective thinking (learning goals, struggles, progress). | ||
|
|
||
| 2. **Improve Analysis Generation** | ||
| - As mentioned in the last report, the analysis was inaccurate. I have refined the instructions, and now it functions effectively. It did not take much time. | ||
|
|
||
| 3. **Tested various Embedding Model** | ||
| - Embedding models are machine learning models that convert complex data such as text, images, or audio into numerical representations called embeddings. I am using `all-MiniLM-L6-v2`, which is lightweight and fast. Although it is lightweight, it is still quite effective. I have not found better models than this, so I will stick with this model for now. | ||
|
|
||
| --- | ||
|
|
||
| ## Challenges & How I Overcame Them | ||
|
|
||
| - **Challenge 1 :** The LLM needs to be invoked with the user query, retrieved context, and message history. Since this project involves multiple AI agents, it is somewhat tricky to decide what kind of memory space to use. Possible ways to store messages: | ||
|
|
||
| i) Shared memory space: Each agent will use one common message history with named tags to differentiate among themselves. This way, the AI agents won't repeat questions. | ||
|
|
||
| ii) Separate memory space: Each agent will have their own space. This way, we can prevent confusion for the LLM. However, the trade-off is space. Additionally, we need to pass these message histories separately for summary generation. | ||
|
|
||
| **Solution:** I first implemented the second option because it is simple and works fine, but the summary generation needs to be done separately for each agent, which I don't think is ideal. Therefore, I have decided to try the first option. I have already started working on it. I need to fix some bugs, and it will be completed by tomorrow (2025-06-16). | ||
|
|
||
| - **Challenge 2 :** Retrieved context is irrelevant when the project code is passed. The retriever component returns three chunks arranged in priority. However, a project code can contain many keywords, making the retriever not particularly useful. | ||
|
|
||
| **Solution:** I am considering scanning all the keywords (like block names) first and passing their information to the LLM. This data will be stored in a dictionary. Example: | ||
|
|
||
| ```python | ||
| blocks = { | ||
| "Action": "An Action block contains a sequence of actions that will only be executed when the block is referred to by something else, such as a start block.", | ||
| "Start": "A Start Block is an Action that will automatically be executed once the start button is pressed." | ||
| } | ||
| ``` | ||
| This way the LLM can understand block structure and their meaning as well. | ||
|
|
||
| --- | ||
|
|
||
| ## Key Learnings | ||
|
|
||
| - The prototype for this project is developing in Streamlit, and I am learning Streamlit a lot. | ||
| - Also gainig experience in LangChain as this is the primary tool of development. | ||
|
|
||
| --- | ||
|
|
||
| ## Next Week’s Roadmap | ||
|
|
||
| - Work on things suggested by mentors. | ||
| - Fix challenge no. 2 as mentioned above. | ||
| - Start preparing for the frontend interface. | ||
|
|
||
| --- | ||
|
|
||
| ## Resources & References | ||
|
|
||
| - **Repository:** [reflection_streamlit](https://github.com/Commanderk3/reflection_streamlit) | ||
|
|
||
|
|
||
| --- | ||
|
|
||
| ## Acknowledgments | ||
|
|
||
| Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support. | ||
|
|
||
| --- | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.