#BabyNest
1 messages · Page 2 of 1
Yup thanks
@spare cradle I also need to participate in frontend part
Figma to code implementation for screens
okk
i'll add your discordd
id in there
Ok
@muted raptor You are now level 2! :confetti_ball:
Thanks for pointing it out, I'll look into it.
@cinder vector You are now level 3! :confetti_ball:
Great
i update the notion docs for everyone and and updated the notion docs
I'll be improving the UI and make it more inclusive, after that let's work on the frontend.
please take up tasks according to the board we created
if someone's already working on smt, find another or collaborate
we can add components in each others design and collaborate
@dry meadow share your UI screens as well
definitely good UI @cinder vector
lets add the components and theme in the existing one
Yes surely.
I like it!
Improvement suggestions:
-
"Prega" => "Pregnancy"
-
As previously discussed, make it possible for the user to choose a few different theme colors, so that it is not necessarily pink.
Sure just give me some time will share all the screens
Thanks Bruno, I'll certainly do the changes as suggested.
FEW Rules
All communication regarding the project will happen here
Refrain from sending direct messages to other contributors
We are all here to learn and contribute, that should be our primary focus
Personally, I have also faced few conflicts while contributing, to avoid them let’s all communicate, before taking up a task.
But In cases of any conflicts, discuss it with the moderators only
@stoic igloo pls have a look on this
Will check tonight
@stoic igloo can you please add the figma link on notion task board so everyone can see the UI screens design
@dry meadow can we create a figma board where everyone can see and edit the UI?
https://www.figma.com/design/QDGZG8OPD7Il7Xavzejode/Birth-Buddy?node-id=1-4&p=f&t=4gJXpGwvX1QHJOyR-0
this is the figma design but what we found that was that the changes were better incorporated when we started coding everything.
so all the suggestions we got from bhavik and others, we implemented directly while coding
@dry meadow Thanks for sharing the Figma link. I believe we should focus more on refining the user journey by structuring the flows clearly. It would be helpful to separate the screens into distinct categories—dashboard flow, profile screens, login screens, etc. A well-defined user journey will enhance the overall experience and ensure smooth navigation. Your efforts are truly appreciated!
Lets incorporate every suggestions in figma first
according to our requirements we can either fine tune the model or use rag
Lets do research there
Hey guys, can anyone please brief me about the project so that I can add some value here?
hy @verbal mist try going through this doc and see where you can help us
Umm looks good
I can do frontend or backend
what you guys are doing.!
or we can start fresh
see this is design for the frontend we are following
@verbal mist have a look if u feel u could improve something let incoporate those changes
Improving what like figma design or their code?
Firstly we will go with designs. If everyone likes the suggestion you can go ahead and code it
Hey guys! I am new to the chat. I also wanted to contribute to the project. While reading messages above I saw that whole team has been finalized for the project. I know I am late. But is there any way I can contribute?
My current tech stack include NextJS/ReactJS/Prisma/Tailwind/TypeScript. I am thinking to learn react native on the go while doing the project.
Can any of the mentors please guide how I can continue and what part should I work?
Also how many devs will be selected for the GSoC Project??
Hey @robust aspen glad to hear that. You should refer some of the earlier chats. We have decided that the design of the app is ready and once it is shared on the group, everyone can give suggestions and the design would be updated accordingly to that
After that is finalized the changes in code would be made
I have a small question, how many will be selected after submitting the final proposal in GSoC ??
Are we going to work on a team or a single person would be selected.
Me working on backend as well
Ok cool i would also love to contribute in design
@dry meadow hows this element
Sharing designs, so that everyone can give suggestions and understand the workflow
the Home screen requires optimisations and their are some designs in mind which i will share
from the settings page we can customzie the UI according to any preferences and the country and due date can be changed
the calendar and timeline were as suggested by bhavik
we have also added the SOS button
All are requested to please suggest changes
all these pages have been coded
Great job 👏
Good job @dry meadow
its a great app covers all the functionality
looks goood
Yep Really good
Are there all updated on figma?
are those picture in the svg format right ? @dry meadow
Bhavik we have made the basic design on figma
After that we directly moved on to the coding part
Profile page is not needed
We can replace it with chat with ai page
But if you want I'll share figma with you too
it is settings page from where user can change the country and customzie the app according to his preference
Our ai will have only 2 features
Clear doubts about pregnancy
And create or edit the timeline
All right I will share its design with you in about an hour
can we keep it somewhere else?
Okay
We can add a avatar logo clicking on which opens the profile page
Yes we can stack it on a button on the home screen
yes thats where we are heading
That's right
@warm bay You are now level 15! :confetti_ball:
We should highlight it as its the main feature
Also home page can be the timeline only i believe
what we thought is that on the home page will display 3 upcoming appintments and a see more option which will redirect to timeline
otherwise it will be too much cluttered on home page
but can implement on home page if u suggest no issues
Sure
Just a suggestion I have done a survey on some colleagues. They all said they just want to see upcoming 1 or atmax 2 appointments on their home screen. rest can be shown in a different section
Lot of information is overlapping
In different screens
So trying to keep it simple is best
Sure
All right sure
Okay
This is also amazing
Lets add the top elements in the home screen UI
And this too
Bhavik I was thinking about this design
Yes, once Ishaan pushes his changes, I'll add my components
Like the left screen can be made as home screen
It has some carousel like effect
I would love to have everyone's suggestions
yes this can be added directly on the basicdetailspage
@cinder vector @dry meadow
This looks good, but lacks information like days left and all, also Bruno suggested to keep the app as minimal as possible so might not fit the requirements, lmk what you think.
basic info can be added we had the top design in mind the baby image part how week is shown with carousel effects
Yes
@stoic igloo what should be our next steps?
Work on the suggestions
Lets get a few more suggestions
Then once it looks fine, we can merge it
No need for figma
Continue the coding
Sure
will work on these suggestions
I'll share some designs soon. I request everyone to give suggestions so that we can proceed to the next step.
Also if anyone has some suggestions about the backend please share.
So please share views keeping in mind that we have to make the app completely offline.
@stoic igloo if someone is handling both Figma and coding, could we give an opportunity to those interested in frontend development to contribute to the 'Figma to Code' part for some screens? This way, everyone can participate and contribute effectively to the frontend.
what you say @dry meadow @warm bay ?
yes @muted raptor we need your help
to code the suggestions
Lets connect when ever you are free
since you're handling the Figma design part, would you be open to reviewing the contributions of those coding the Figma screens? Your input would help ensure the implementation stays aligned with the design!
I am actually not doing anything on figma, we did all the changes in the code itself
you can help me in coding the suggestions
the home screen requires a good UI
@muted raptor I have found some great designs but not sure I could code them all by myself
yes we are definately open to your suggestions and changes so that they align with the theme and design
sure I will definitely help
I'll be much more fast if you can help
@warm bay can you share design ideas ?
I'll share the designs on grp and once everyone agrees on a design.
I don't have them currently by me but I'll share it with you very soon
Great . Once you done with the design we can discuss on implementing those screens
@muted raptor You are now level 3! :confetti_ball:
For sure
These are some of the designs I think can be used
We can take components from these design and incorporate them in our app according to the theme
Please share your suggestions/feedback
The baby bottle appears first, bounces slightly, and then morphs into the ‘B’ of the BabyNest logo.
The full BabyNest logo fades in smoothly with the tagline "Nurturing Every Step of Motherhood.
HOW IS THIS AS THE IDEA OF SPLASH SCREEN
I also want to contribute in the backend !!
That would be nice.
@stoic igloo ,
Once the UI part is merged, we can focus on backend.
Yes ! Can we do this together ??
I'm Tejas and I'm new here! I'm really passionate about contributing to BabyNest. I know the core team is in place, but I'd love to get involved in any way I can.
My current tech stack is MERN with a strong focus on React Native, and I'm ready to learn React Native on the go if needed. Could any of the mentors guide me on which parts of the project might still benefit from additional contributions?
Thanks for your help—I’m excited to work with you all!
@abstract valley You are now level 2! :confetti_ball:
Yeah.
We can create a PR for the current design and frontend enthusiasts can contribute to it once the basic app is there
@dry meadow lets get few suggestions incorporated and then raise a PR
I will check code quality and merge
Okay !!
Yeah
Sure on it will update by EOD
Sure
yuppp
@terse elbow You are now level 8! :confetti_ball:
Sounds cool
Hi there, I am Sagar. I went through the idea, repository and also the brainstorm sessions over here and it all sounded very interesting. I too understand that the core team is in place but still like to get involved with the project.
I have worked on React Native, Node and also some FastAPI before but happy to assist wherever the requirement is, by learning on the go about the other technologies that are to be used in the application.
Looking forward to contribute.
Thank You.
Hey guys! I’m Himanshu. I’d love to contribute to the AI/automation parts of BabyNest! Just wanted to check—what’s the current status of these features? Let me know where I can jump in and help!
@stoic igloo as per your suggestions implemented the calendar for selecting due date in details page and enhancing the upper portion of the home page.
raising a PR now
@stoic igloo I have raised the PR for frontend base setup. Please review
https://github.com/AOSSIE-Org/BabyNest/pull/1
Hey guys, does the UI of the App is ready?
@dry meadow Are you using the expo for the development of the project?
Hey prakhar, basic ui of the app is ready. Definitely there'll be improvements along the way. And we are not using expo cli we are using react native cli
will review soon
Can someone provide a brief overview of the project and the discussions that have taken place so far regarding its development? This will help me to understand the project and make contributions.
Also, could you please share the UI of the app, that would be very helpful.
UI is still in development.
here's brief description-
Frontend- React Native with SQLite for local data storage.
Backend - Fast API for handling AI and other backend tasks.
Overview-
BabyNest is a pregnancy app made to track and monitor pregnancy related tasks, appointments.
It is entirely offline App.
User data doesnt leave device.
Right now, we are in a process of finalizing our frontend.
Once it is done, we can develope backend according to the features.
I believe that using Expo Go instead of React Native CLI will be more beneficial due to the following advantages:
-
Simplified Setup – No need for manual linking or native dependencies.
-
Faster Development Cycle – Instant previewing without rebuilding the app.
-
Cross-Platform Compatibility – Expo abstracts platform-specific configurations.
-
Easier Debugging
-
No need of manual linking of the dependency modules.
-
Expo Application Services (EAS) simplifies store submission.
-
Updates for the app can be pushed instantly without requiring users to reinstall the app.
If the @all team members and the mentor @stoic igloo are agree then we can proceed with the expo go.
Hey @sharp slate we have considered using expo go when we were discussing tech stack but the main disadvantage of using expo go is that as it will download all pre built libraries beforehand, it will lead to large app size.
That is something we do not want at any cost
Some third-party libraries require native linking (e.g., react-native-reanimated, react-native-gesture-handler, react-native-svg). In Expo, many native libraries aren’t supported unless we eject.
Also expo go provides very limited customisation
Due to the pre built components and managed workflow, Expo Go apps experience slower performance compared to apps built with react native access
since our App might involve custom AI models, push notifications, or background tasks, React Native CLI is recommended
That's right
for these reasons only we adopted react native cli
Hey @lapis field did u think on how r we gonna train bot for offline app?
I was inactive from these days due to exams
We can discuss on this if we r starting it now?
We are not going to train our own LLM.
We will use pretrained small LLM optimized for Mobile devices.
Yes that's what we have discussed so far
But currently we are deep diving into it on how can we do this very efficiently
And it will answer by taking our SQLite data as a context.
Ya got it
So frm where r we going to collect that information?
Yes that is pretty easy to do
I have discussed with one of my frnd abt what all happens in these 9 months
There are some stats we r required to keep in mind
Like the no. Of ultrasounds compulsory, no. Of doctor visits, increase in calorie count after each trimester, etc
Shld we strt working on this?
Like can we have a short discussion tomorrow?
Or shld we wait for front-end to be done?
Right!
According to bhavik we should do the frontend part first
And we should do the research about how to effectively put a small llm on mobile device
Like we'll have to use techniques like quantization and all
That is must
This is the main task
Right
So I am learning about all this in detail. When we are done with frontend, I'll share the backend design and then with all the suggestions we can finalise it
I would like to work around the frontend as well as the backend part of this project, please share the design of the app once it is completed
agree
We'll share
Please go through earlier messages as well
We have already shared some designs
And feel free to give your suggestions
These are great insights
@dry meadow create a frontend folder and then create the PR
Sure
@stoic igloo hey
any design is finalized ?
Hey can we plz discuss on this including everyone working on ai part as well?
Like it would then be easy and fast to work on
Thanks!
Will share a doc of notes in a few days
Done
@dry meadow You are now level 17! :confetti_ball:
@lapis field @nimble saddle can we start with the ai part now
Yes I m ready to have meets
Can we do it from Monday?
Like till then everything will be setup ig?
Same @lapis field let's start the ai part if mentor allows
Do anyone have any suggestions about how to make app completely offline
Please give suggestions
we have to decide on a model first like which can fulfill our requirement and can run on local easily
like the size of model should be less than 500mb i suppose
gpt-2 can be a good choice with proper quantisation
we can achieve efficiency as well as accuracy
Yes hopefully will have our basic frontend setup
and can shift our attention to setting up the backend
as well as scraping data
hey everyone, I'm new here just read about this project found it really interesting I'd love to contribute to this project
yupp great till then i will also get over with the quizzes
night schedule works
10 pm ??
Ok then let's strt frm Monday if everyone is OK?
Till then we can have a look at our own end
All right we'll start from monday @stoic igloo
Till then everyone just do as much research as they can do and put your points in that call
@cinder vector can I work with you on the frontend part to improve it??
"Hello everyone! Recently, I contributed to EduAid. This project seems interesting, and I would love to contribute more to it."
Yeah.
how do i run it on ios
npm run ios?
npx react-native run-ios
hey @dry meadow ,
what's pr name ?
Did you run the emulator?
2
@stoic igloo You are now level 26! :confetti_ball:
Or do you have an iOS device?
yeh
@stoic igloo you can try using Expo app too.
if @dry meadow build it with expo ,
@dry meadow did you use it ?
In you phone settings switch click 7 times on about phone to open developer options
In developer options enable USB debugging
i am not using android
but i will try debugging it
no issue
try
npm start , if this command exist ,
then qr will appear in terminal, just we have to scan it in expo, then app will shown in pysical mobile,
or we can use given link it will shown in machine
@supple raft it is not expo go project we are using react native cli
running pod install --repo-update
oh!!
Are you running on your mobile device via usb or on the mac itself by emulator?
@stoic igloo sir please follow these steps given in the link below- https://chatgpt.com/share/67b9a70a-44d0-8002-bced-af147275f332
@sharp slate You are now level 2! :confetti_ball:
yes it is running now but you have to have a emulator or connect your phone with laptop using USB.
to connect with phone u have to enable developer mode on phone
🤔
this is on your emulator on your laptop?
yes
can smone build and run this on ios?
https://github.com/AOSSIE-Org/BabyNest/pull/2
in your IOS folder do you have a file like this YourProject.xcworkspace?
if yes open this file in Xcode
and connect your phone via a USB
will check later
was anyone able to setup?
Your issue is caused by duplicate font entries. Since you have already defined fonts in react-native.config.js, they are also being manually added in Info.plist, causing Xcode to try copying them twice.
ig this issue is coming only with ios because on android we are having a smooth setup
like on your Xcode you can directly remove the duplicate fonts in Build
you should test the app in all devices
we will remove the links in react-native.config.js
what should we do now then?
ERROR SyntaxError: BirthBuddy/Frontend/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicator.js: Missing initializer in const declaration. (156:41)
154 | */
155 |
156 | const ActivityIndicatorWithRef: component(
| ^
157 | ref: React.RefSetter<HostComponent<empty>>,
158 | ...props: Props
159 | ) = React.forwardRef(ActivityIndicator);
maybe node version issues, i will update and try to fix
yes restarting with clear cache will work ig
code has various bugs
i fixed the bugs but app shows a white screen
Try changing the source ../assets/Avatar.jpeg
finally its working
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: [
[
'module:react-native-dotenv',
{
moduleName: '@env',
path: '.env',
blacklist: null,
whitelist: null,
safe: false,
allowUndefined: true,
},
],
],
};
new babel config
fix this @dry meadow
I will fix this is future prs
also add this in CustomHeader
source={require('../assets/Avatar.jpeg')}
these needs to be fixed
i can't see any icons also
Please list all the changes you have done in order to run the project
Also any improvements you think can be done
I will rectify them and raise a pr in an hour
yep great
only the ones i mentioned
Ok
Bhavik sorry for the inconvenience the drawer we had not built so that's why this error
I will raise another PR by eod and rectify all this
@warm bay
merged
rectify over the current version
@stoic igloo ,
We are pretty much done with frontend.
I think, now we can focus on backend
on it
Will do it
Right
great work on the frontend @dry meadow @warm bay
@stoic igloo Raised a pr as per our discussions
Please review it and give feedback for it
Thats amazing
I will check it out
@nimble saddle @warm bay @lapis field @terse elbow
when can we have call today for backend?
Anytime after 9 PM will work for me.
I remember, someone made architecture diagram for backend.
So, whoever made it.
Please share it here , so that everyone can research their points accordingly.
Ig @warm bay had made one before
Ok.
So, @warm bay ,
can you please share it here again?
This is the architecture but it needs a little tweaking now as now we want fully offline access
so, LLM agent will now take data from SQLite.
Yes
Or we need to find Local Vector database and save SQLite data in it for chat inteface.
Chromadb is a local vector database which I mentioned in the architecture
ChromaDB will work.
can anyone guide me how can I open mobile app on emulator or how can i run it ?
app is not running on the emulator, please guide me to run it
what are you using android or ios?
i am using android how can I run emulator?
have you download a emulator from android studio?
I dont have android studio installed is there another way to download emulator?
I will have to check an alternative method, I had downloaded the emulator from android studio
you can directly view the app in your phone also
enable developer option on your android phone and connect it via usb to the laptop
on the terminal check if you device is connected using adb devices
if it is run this command
npx react-native run-android
for downloading emulator from android studio I need to download android studio first?
for emulator ig you need android studio
but the alternative can be you can view the app directly on your phone via USB
ok I will try the other method
yes this should work
Yes if you want to run the app on your laptop, you have to download android studio for windows
Open android studio click on virtual device manager and make an emulator if there is none
Now run the emulator
yes add a responsive emulator there will be option
Let it run and after that go to cmd and run adb devices
If it shows emulator and the device number it means emulator is working
Here click on reload or run the cmd again
Share the ss of you have any issue
yes if anyone has issues to setup we will help
i'm using my android phone for the running, i have on the USB debugging on my device and ADB interface is also showing, but on runnning this command i get this error - npx react-native run-android
E:\BabyNest\Frontend>npx react-native run-android
info Installing the app...
Task :app:configureCMakeDebug[arm64-v8a] FAILED
193 actionable tasks: 13 executed, 180 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.
A problem occurred starting process 'command 'C:\Users\prakh\AppData\Local\Programs\Python\Python312\Scripts\cmake''
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 9s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'. > A problem occurred starting process 'command 'C:\Users\prakh\AppData\Local\Programs\Python\Python312\Scripts\cmake'' * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 9s.
Set-ExecutionPolicy unrestricted - this one?
Also make sure on the mobile phone developer options are enabled and usb debugging is turned on
i've already turned on the usb debugging
Hey guys,
We are going to have a meeting today, right?
yes
but we did not recieve a response from @nimble saddle
Hey sorry I was out
also if @stoic igloo could join the call it will help us to think in the right direction
Yes I m available
Yes this is imp
If @stoic igloo isn't available then we cannot decide things clearly
Yeah.
he should be there.
alright lets do it @10:30?
@dry meadow You are now level 18! :confetti_ball:
Works for me
Me too
Works for me too.
Are we still going to continue if Bhavik is not available?
idk u people tell
Then it is of no use ig
@warm bay help me out with this
we can work on a plan if bhavik dosent join and pitch it to bhavik
Because if we decide something and then it gets discontinued then it would be of no use, wht do u think?
We can do that
yes i mean this is also correct
Open cmd as administrator and there run the cmd
i am fine with anything what you people suggest
Hm let's wait for his reply and confirm his availability
Okay.
Otherwise we will just share our ideas here and then after his approval we can strt working
Yeah.
That would be nice .
@warm bay this is coming
now i have to restart?
Yes
@sharp slate You are now level 3! :confetti_ball:
There is some issue with cmake
Go to cmd and check it's version
cmake --version
If it fails download cmake
cmake version 3.29.2
Then it is not set in the environment variables
still not solved @warm bay
There is an issue with geadlew
cd android
gradlew clean
cd ..
npx react-native run-android
Try this
If is not works try to do debugging
npx react-native doctor
You have to run it in android folder
@warm bay You are now level 17! :confetti_ball:
still not running bro
try to debug with this cmd
if there are still issues try to look it up on stack overflow
are we having trouble running the app?
@stoic igloo You are now level 27! :confetti_ball:
Can someone try to run using an android emulator or android device, I am testing on ios
I ran yesterday on Android device after the merge, found no issues probably because everything was setup before that's why
can u try to clone on a new window and try setting it up
or maybe someone else
Before raising the pr I pulled your pr
And did the setup from scratch
It was working completely fine
I am outside I will try again in some time
For IOS -
cd Frontend
1. Install Dependencies
Ensure all new dependencies are installed:
npm install
# or
yarn install
If the module requires linking (for older React Native versions):
npx react-native link
2. Reinstall CocoaPods
Navigate to the ios folder and run:
cd ios
pod install
cd ..
If you encounter issues, try:
pod install --repo-update
3. Clear Cache (If Needed)
Sometimes, clearing the cache helps:
watchman watch-del-all
rm -rf node_modules && npm install
cd ios && rm -rf Pods && pod install && cd ..
4. Run on iOS Simulator
Use the following command:
npx react-native run-ios
or explicitly specify a simulator:
npx react-native run-ios --simulator="iPhone 14"
If you’re using Xcode, open the workspace and run manually:
open ios/BabyNest.xcworkspace
Then click Run ▶️ in Xcode.
5. Handle Xcode Errors
If you see xcodebuild exited with error code 70, try:
Uninstall the app from device
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
Then rebuild:
cd ios && pod install && cd ..
npx react-native run-ios
6. If the App Crashes, Reset Metro Bundler
npx react-native start --reset-cache
@stoic igloo many contributors are facing setup error
So can I make a setup.md for Android as well as ios
Ig it would sort things out
YES, that would be great
This would be good
All right I'll do it
Also can we do a meet today where we could discuss about backend architecture?
Consider all edge cases wherever while setting we can face error
@stoic igloo
can't today
Ok
unable to see any icons and also the bottom navigator is not at correct position
I have used the safeareaview so that in ios devices screen does not get disturbed by that notch
Idk icons are working just fine on android devices
it should look like this
All right, will change it when i'll raise the setup pr
just commit over the current PR
Ok
I'll need some time as I will have to test it on ios device first
Is that okay?
All the alignment issues will be solved vivek has wrapped everyhting in safescreenview in the current PR
This icon thing will have to see
Does anyone have ios device?
ya phone works ??
can we start with the meet today guysss
atleast we would start training the model and all
whats say
I am available we can do today
ok 10 pm works ???
Sure
@nimble saddle @lapis field
Yeah.
Can we do it a bit earlier?
me too
9:45 ?
will bhavik join?
depends on him.
Works:
works
??
@dry meadow , @warm bay , @terse elbow @nimble saddle , @spare cradle
Should we start?
link?
@stoic igloo are you available for some time?
@stoic igloo
we
@lapis field @nimble saddle @spare cradle and me
we discussed that two light weight offline llms - ALBERT LITE and PHI-4
because rest of the offline llms like llama.cpp and were using excess of space and working on phone cpus is not possible
Even lightweight models can have varying performance on different phone CPUs.Higher end devices may handle them smoothly while lower end devices might experience latency or higher battery usage.
@stoic igloo are you free today for sometime
This is the updated backend architecture we'll be following. This is made as per our requirement of a completely offline llm as well as database.
Also as discussed in today's meet, we'll be testing some models like mistral, phi-4, albert-base-v2. Other models can also be suggested. We'll test these models accuracy on our local device and compare the accuracy as well as storage and processing power requirements.
After that we can finalise the model we want to use.
Currently I am working on setting up sqlite as we are using that for storage.
Everyone please try to test at least one model on your local device and give feedback
I would test out Albert and would share it's accuracy with you all in the group
Great
sure will experiment with some models
I would test out phi-4 and check it out
I would work with mistral and will revert back
Choose a instruct model it will increase accuracy
Sorry guys, I am out of station right now
No issues
we can have a meeting whenerver ur back
I am unable to see all the messages
sounds great
whenver you come back just ping us
sure
Yes till then we r testing models @stoic igloo
@nimble saddle You are now level 15! :confetti_ball:
did we fix the issues?
can someone provide me minutes of the meeting you had
we are first setting up on ios so that we can test
these were the minutes of the meeting
anyone else?
I will share again
the old messages
yep this looks great
Bhavik we had raised some issues on github, can you please assign those whenever you get time, we are wokring on those
Let's have this on readme.md as well
@warm bay create a PR for this
yess Sure
Sure
did you fix them and made a commit?
over the existing PR
To fix them we need a ios device. I am trying to arrange that
Will do that by tomorrow for sure
we should focus on a clean frontend build first, without any issues, which everyone can fork and contribute to
Seems fair
yes we are arranging an ios device so that we can see issues and work on each
and we need to add setup guidelines as well in readme
frontend setup -
backend setup -
That's make things more clear
Sure on it as no one had ios device so couldnt get this done earlier but by this weekend will complete the frontend issues
I've an IOS device, I'll try to debug the issue.
@dry meadow can you share what fixes have you tried till now?
Great job on the UI! if you need any help with frontend I'd be happy to pitch in
@dry meadow @warm bay @nimble saddle @spare cradle @lapis field
I discussed it with one of my seniors as well
He gave a suggestion of
“Try SmolLM2-135M-Instruct”
And “If 350MB is okay then you should use TinyLlama-1.1B”
@terse elbow You are now level 9! :confetti_ball:
After completing the testing of albert , phi-4 lets do this as well
I just finished reading documentation of TinyLlama-1.1B and SmolLM2-135M-Instruct both of these can be used.
Cool then
Once i finish phi-4
I will take up smolLm2
Sure!
How was your experience with Phi-4?
🤯
if it exceeds 15 my c drive would be 😭
@lapis field 16 GB already
if we even quantize this it would be max to max to 7-9 gb
So, lets scrap Phi-4
We need to try another one.
There must be some apps that are using offline small LLM
Go ahead.
Hey team, just a quick update on my testing with SmolLM2-135M-Instruct. The model size is approximately 269MB, which is relatively lightweight and easy to work with. However, I'm currently facing an issue with the BLEU score, which is stuck at 0. I'm going to dig deeper and try to troubleshoot the problem. Will keep you updated on my progress and see if training can improve the scores.
That model size is amazing.
This is exactly what we want.
yasss actually it is answers are correct according json i gave i would check out regarding this bleu score
This is good progress we can test other models also if we get more accurate answers or we can reduce size but you can keep this as a option
i am still trying it out i was caught up in exams so it took me extra time
but would update you with in 24 hours
Hi! I'm Simran. I'm interested in this project and would like to contribute to it. Please tell me what I can help with.
Yuppp
Would try tomorrow another one
Hello 👋🏻, I’m Hetvi !
Can someone help me on how to get started with this project and how to further contribute?
hy is admin active over here
@atomic schooner You are now level 4! :confetti_ball:
do any one know him
@Bruno i havee been contributor to eduaid from a far back around 3 month ago
suddenly now i have seen mentor has called his collage junior started merging his useless pull request
@tidal glacier
@cinder vector
THESE are in the same collage and now
and now he is merging her useless pull request
which is some ui changesss w
while pr like full docker setup and they are ignoring all the active helping contributor in this
Image
Image
please @proper musk have a look as such thing are against the rule open sourceee
@everyone
iiT_DHOLAKPUR — Today at 2:09 AM
@cinder vector data and algorithm enthusiast ❌ CHEATER AND FRAUD✅
GUYz write this in your linkdin as well
@everyone come forward speak against such an injustice
guyzzz she is cheater kick her out
don't let her work here
🚀 Submitted a PR for BabyNest!
I have fixed multiple rendering issues in the HomeScreen component, including:
- Fix 10: setState call inside render causing update error in HomeScreen
- Fix 11: VirtualizedLists should not be nested inside ScrollViews
- Fix 12: Each child in a list should have a unique key prop in HomeScreen
PR Link: https://github.com/AOSSIE-Org/BabyNest/pull/13
Would love to get feedback and reviews! 😊
@lapis field
One of the other seniors of mine said
Hey, I have used tinyllama, small enough to prototype but not good in accuracy, gives absolute garbage output.
I would suggest using free apis, if you just want the llm functionality, together ai is something I have used for that and has been working well for me
And according to him together ai s llama 3.3b works amazing
to maintain the offline feature we couldnt use apis
otherwise api would have been the best option
3.3B llama would give us size constraints
I was looking forward to contribute to the BabyNest Project.
I had a doubt which features aere you loking forward to implement in this app which would require local ai models
also where is repo with models, I found the react native project one.
https://jmp.sh/s/UtNn6aQPxeFOWlwVJj5A
I tried qwen2.5-0.5B model It gave pretty good answer.
we can finetuen it with 8 bit quantization adn the model size would reduce to approx 125 mb
wrt discussion on discord, setup.md is made which includes
-android setup
-ios setup
-potential errors and their fixes
-backend setup
fixes issue #6
@bhavik-mangla please review it.
@stoic igloo raised the pr for setup.md file as discussed. Please review it
Updated readme.md wrt our discussion on group. Also added the finalized workflow.
@bhavik-mangla, please review it.
Also raised a pr to update readme.md and added the architecture as said @stoic igloo
Looks good
I am out of station
Will check PRs next week
Sure no problem
@dry meadow You are now level 19! :confetti_ball:
Just for your update we have fixed some minor bugs which were coming, fixing more
And working to setup the backend
Ui is in constant update with feature enhancement and bug fixes
Ok no issue
I am happy to contribute to this project. Is this a new project?.
i wish to contribute in this project , i cloned the apllication and unable to run , can anyone help me to run this application ?
Please try following the setup.md file
hey @lapis field and @spare cradle did u guys check the other models
Yeah.
I checked few, but none of those fulfills the requirement.
We have to choose the one that you tested.
I think, @warm bay , is finalising a model.
And also Bhavik will not be available for a week.
So, we just need to research till then.
ok ok cool
@terse elbow You are now level 10! :confetti_ball:
Sorry for the late reply I too tested out the model
Albert accuracy is not that great that we can consider for this
And one more thing it can't converted in onnx format
I tried converting in onnx format the model stopped working
Even unet files were unsupported
I have talked to one of my senior he suggested me to use some queries for the question asked for the user
Cc: example let say user asks a question then if we can add function that can think what kind of question is it like a general queries or a real time
I have found one repo would send you all as soon as I am back from collage which pretty much works on such thing on
But still I couldn't find anything that would make the model work on android
And the only way I can think of model to work on android is thorugh onnx runtime
try this for quantization/ONNX (UI supports 16bit only for only quantization but onnx+quantization will prolly work as having diff workflow, can easily reverse engineer code)
ps: better to use ORT optimizer refer docs (it's just encapsulated workflow)
can do 8 bit too here
dk about 4 bit onnx, maybe it might be possible. refer docs
don't go below that xD ig
I have never tried 4 init too
use the UI
But in 8 bit what do you think about the accuracy
all encapsulation
you can test it too in the UI itself
it'll display metrics
@lyric berry You are now level 2! :confetti_ball:
I have converted various image generation model used automatic 1111
Usually I have seen huge quality degradation in 8 bit
Sometimes the model it self stopped working
umm it's moreover on the model part tbh, can't decide that easily but it's never that much degradation.
was it fine tuned (earlier i mean)?
I have seen some model even after 8 bit quantization the size doesn't decrease that much
Usually around 100 mb
yup
Best of luck let have a convo on this
After your exam let have a convo
On this
32 bit -> 8bit (approx 1/4) and moreover dependent of the architecture
onnx requires different way of loading
Because let say you have model in safetensor format when u convert the model onnx the size of the model generally increases
it's entirely different form general model
onnx simply convert .pt tensor to .onnx which generally works on a optimized graph workflow
so initialisation might end up diff and inputs specifications too
You ain't getting my point
@spare cradle You are now level 30! :confetti_ball:
I'll let you know, mp it's difficult. a bit busy. free after 10/11 - anytime just lmk
11:30 mid night works for me
Just ping me
When you move to 4 bit, it will nearly output blank gibrish.
All the layers don't directly get converted.
Some layers might misbehave in conversion.
And, we cant even debug it layer by layer.
Output accuracy and quality will reduce exponentially.
@lapis field let have a convo at 11:30 on this
Okay.
umm not that much, but dependent on the model itself
lmk what you used for quantization??
4bit and 8bit algos if you've read the paper for these are way too accountable to deal with the loss cuz of quantization...
@lyric berry You are now level 3! :confetti_ball:
umm mp it shouldn't be the case, lmk which model are you working with
Can I get some context & summary as to what is discussed in this thread ?
Around 11:30 we have decided one meet for model
What time zone ?
But let me give a context of the above chats
Ist
Also I have one last exam tomorrow morning.
IST
Basically we all are stuck on a model which we want to use in the baby nest which is reliable doesn't take that much space
@paper charm
Many models are in pipeline
We have good results with few of them
11:30 @dry meadow let have a proper discussion on this
I'll discuss with one of my seniors who is expert in ai ml
I think his opinion can helps is out
@spare cradle what type of issue are you facing with the ,model
Basically bro we want to have a model that works offline 9n android. Accuracy matters to us
Take less space
At least it should be under 400 mb
If leas than that it would better
@robust rune
Ok, I see what I can do
If u have any suggestion 11:30 we are having small meet in the meeting room
Join us
Sure
@robust rune You are now level 3! :confetti_ball:
@lyric berry , up for a call?
Yeah.
It should be below 500 MB at least.
ONNX, will work.
it will be compatible for every device.
so, things we need to keep in mind:
Small model.
ONNX format.
accuracy.
@warm bay if u have time can u test out this model
and also i think this one would fines
in the community section there is already some one added onnx format
usually to run the onnxmodel we use onnx runtime
but i am pretty sure this model would work fines
around 270 mb only
just test out its accuracy
That's good
All right
and i have message some senior (ai ml experts ) they to said this one should work fines
And if it performs well let's keep this a benchmark
good night gotta get some sleep
when u are done with your testing ping us all we can have a call for it
Same here bro
All right
Heyyy guysss i was in class - can someone give tldr plzzz
@spare cradle u can use the eiq toolkit for model conversion quantization
That would be quick method
Thats a good option.
Hey everyone! I’ve been following the convo on model selection and optimization—super interesting stuff! Just wondering, have we thought about using knowledge distillation to shrink DistilBERT even further? Could help keep the size down while still maintaining accuracy. Also, for the ONNX conversion, are we using any optimizations like operator fusion or constant folding? Heard they can give a nice performance boost, especially on mobile. Would love to hear your thoughts!
Hi everyone! 👋 @stoic igloo
I'm Sneha, a first-year B.Tech student in AI & ML at Polaris School of Technology. While exploring BabyNest, I came across a UI responsiveness issue, where the layout doesn't properly adjust on some devices (like Pixel Fold (API 35) android studio emulator).
I've documented the issue as "UI Responsiveness Issue in BabyNest App" and would love to work on fixing it. Looking forward to any guidance or suggestions from the community! 😊 https://github.com/AOSSIE-Org/BabyNest/issues/17
UI Responsiveness Issue in BabyNest App Description: The UI of the BabyNest app does not adapt properly to different screen sizes. When tested on an Android Studio emulator using a Pixel Fold API 3...
Hello, I am from Kazakhstan and I interested in this project which is called BabyNest, to be able to be a contributor of this project what I have to do before Is there anything I need to go through to validate my skills, or anything important before applying? I'm always available! and do you have any recommendations specifically for upon this idea?
Hey @winged lantern you don't need to validate your skills or anything. Just give any suggestions you have and for proposal, try to explore the future scope of this project
If that's what you are asking
go thorugh the repooo and the design see where u could contribute
I mean I belive into the future of this project that's why I'm here and why I'm interested in
Will review it tonight
i can see a lot of discussion on choosing the model
Did we finalize any?
nopes we were not able to choose one
but testing is going on lot of models
we had setup the sqlite will raise a PR by tonight
@dry meadow You are now level 20! :confetti_ball:
also @stoic igloo what should we do for ios testing, its getting quite difficult for us because we dont have a ios setup eveyrtime with us
can we like do testing on android only everytime and when 2-3 things are finalised and merged we do an ios testing and rectify if bugs come on ios
like this we can have a streamlined progress and will reduce the dependency on ios setup
Yeah even I was also having the doubt for the ios testing..because everytime testing for both ios and android is little typical
like we can do but point is we dont have ios setup everytime on our hand
I have to borrow from my friend for 2-3 hours so that each feature is tested thoroughly
Yeah exactly like even sometimes I can also help you out for ios testing just ping me or let me know..
@dense rain You are now level 4! :confetti_ball:
Sure that will be great help
Like if is possible then you me and others who want to help in this can join us and have testing for both android and ios
Plese try to fork the repo and try to setup the app atp
we have riased PR for setup and readme you can refer that
Please let us know the results of IOS testing.
And if there are any errors, we need to solve those.
Did we finalize the model?
Okay
😭😭
Hi @stoic igloo , is there still an opportunity for contributions? Since the AI model has been decided, which areas can I start working on? Also, has the frontend and backend tech stack been finalized?
Are we using pre-existing models, or will we fine-tune them based on the dataset and use those?
ofcourse
we have just started with basic frontend
@stoic igloo For the ios issues, we aren't able to do much
@warm bay You are now level 19! :confetti_ball:
So ig we have to merge this one and for ios fixes there will be another one.
I have shared the ios issues
Anyone has access to ios device?
collaborate with them
Ok I will try
Hey which llm have you tested yet and what are the accuracy results
Also how exactly are we testing accuracy here?
This was encoder model we want an decoder model
bro,
Hey everyone! 👋
I’ve raised a PR that improves the UI and structure of HomeScreen & OnBoardingScreen. It includes layout enhancements, performance optimizations, and bug fixes.
Please take a look and let me know if any changes are needed. Your feedback would be really helpful! 🙌
🔗 PR Link: https://github.com/AOSSIE-Org/BabyNest/pull/18
Looking forward to your review Sir ! 😊@stoic igloo @proper musk
Great work !!
thank you @dry meadow
Good fix.
thank you sir @lapis field
@warm bay are these resolved
.
The ios one is not fixed yet
We have to raise another pr for that after arranging ios device
Figuring that out along with @dry meadow @narrow night
virtualized list is resolved PR was raised for it
the 3 issues that were coming are resolved
Yes it is already merged
this is a bad practice
if we have to do it separately, then there is no point of react native
we dont want to get stuck here later as well
No like it may be fixed as I have added safeAreaView but we have not tested that on ios
So can't say it for sure
I tested and shared ss
dont we have standard codes in react native for bottom navs and other
never faced this issue in Flutter
UI was mostly always accurate in both
Can you test this pr on ios and share ss
sure
Will commit changes
Done the following changes wrt discord discussion
Added SafeAreaView to resolve screen cut in ios device
Added calendar and timeline screen as per the discussion on discord
Updated react native ve...
on this PR we had added safearea for ios
Yes please
this takes forever
@stoic igloo You are now level 28! :confetti_ball:
That's true
tiktok launched a new framework
on emulator this takes too much time, we run on our physical devices
lynx
takes 1-2 minutes at max
Yes, that is fast
so problem exists in android emulators too?
ya build takes 20mins on android emulators
also for ios i had tried to setup on my friend's device shared ss with you where i was stuck
some ruby version conflict is coming
no clues
also we had setup the sqlite and integrated with the frontend now we are able to perform crud operations on from the app in the database
Yes will raise a pr as discussed
like these details are coming from backend
@dry meadow You are now level 21! :confetti_ball:
there are 2 pr currently
Both will raise merge issues for the other one
yes saw that
what can we do?
vivek's PR contains the updated pages also
@narrow night can check if these pages are fine once this one gets merged
safescreen once added will also make UI little bit better on more devices
I have talk to sneha about that. She'll resolve the conflicts
I can help her out there
yep 1 file is there
but first you need to solve issues in your PR
the ios issues?
ig it dosent have conflicts now
Sure
Ok lets get on a call whenever you are free
And get it fixed
Yes
and icons
is it because of the responsive design that is not present yet
No I don't think so
Shall we?
Can do it tmrw
Ok just update us with the timings
I am merging this one
Create issues for these three issues
like we can do one thing
paddingTop: Platform.OS === "ios" ? -100 : 0,
like this we can do
so ig it will sork
@narrow night https://github.com/AOSSIE-Org/BabyNest/pull/18
merge issues in a file
Can we solve them and make a commit?
for icons i had raised an issue already
lmk where to add this
ikik
um yes
in the homescreen.jsx
here if we add the line i think it might shift up
the whole container
we can keep it 20 for android and try -50 -100 for ios
it might work
will check tmrew
Sure will do on meet whenever you are free
@stoic igloo have a look on this one
we have setup the routes and eveyrhting for backend
raised issue for this
Hi @stoic igloo , I’ve resolved the conflicts. Kindly review and let me know if any changes are needed. Thanks!https://github.com/AOSSIE-Org/BabyNest/pull/18
This looks good
Hey @stoic igloo , as discussed I have raised a pr to setup SQLite. Can you please have a look
I'll help the first 10 people interested on how to start earning $50k or more within a week, but you will reimburse me 10% of your profits when you receive it. Note: only interested people should send a friend request or send me a dm! ask me (HOW) via Telegram
https://t.me/alessandra_derossi
Hi @stoic igloo , @proper musk and fellow contributors,
I'm Bibek, and I'm excited about the BabyNest project! I have experience with React Native and also knowledge of Node.js, FastAPI, and Python. I'd love to contribute and would be happy to discuss where to start. Looking forward to your guidance!
Here is my Github:https://github.com/bibekkd
hi, can anyone pls guide me about the contribution process. I am kinda new to open source
I mean do I have to contribute to BabyNest repo and/or the website repo?
Do I have to go through the codebase, raise issues by myself and solve them if approved by a maintainer? Or do I have to select issues with certain tags which I am not sure of?
Or do I have to start by asking the mentors to assign me the issues and then solve then and send a PR right?
Hey everyone! 👋 I have raised an Issue to fix the text overflow problem in the due task container. Please check it once and assign it to me. I'd love to work on it! @proper musk @stoic igloo https://github.com/AOSSIE-Org/BabyNest/issues/22
@narrow night You are now level 4! :confetti_ball:
@lapis field decide hua model
since i have exams starting thats why i am asking
Ig @terse elbow , @lapis field is also busy with exams, We were having the model discussions in the last call. Let's finalise the model soon!
Even @stoic igloo is also waiting for this only :). Let's come on this as soon as possible
Yeah.
My Exams are going on.
We will decide when after exams are over.
yupppp if it is possible to do after 20 march
we would complete it in 3-4 days no worries
No issue
we were also doing testing of models
You guys focus on exams. Till then ishaan and me will find the best model
best of luck for your exams
Also I'll share a dataset of faq pregnancy questions which can be used by everyone to test their model's accuracy
@warm bay You are now level 20! :confetti_ball:
we will test some models and find dataset to fine tune or test the models
This will ensure that there is a common standard which can be used to compare accuracies among different models
I can help in model search, lmk the details
requierements are simple
model which can run offline on phone
and should generate tasks country specific and according to due date
a bit more details on this, please
Chill Vivek, I know you guys are really busy with other projects. I guess we already researched this a lot in the last call with @lapis field , so it's totally fine if you guys want to focus on your other priorities.
Its just @lapis field is having his exams, and we were just waiting for it to get over then we can have a meet where we can align with the model
that's great you people can add so much value. Once we do the basic testing you people can build on it
But yeah like if you also researched on the model and if you really think that would work then it will be also good to listen your approach
what models were you guys exploring??
Sure that will be great !
the last time I heard of a model in any project in Aossie itself was an encoder model being used for a decoder task xD dk who suggested that but lmk if any help needed.
haha
I'm pretty decentish in MLE part so can help a lot ^^
@lyric berry , chaeck it out:
#1339225155481763882 message
we discussed this one.
there were some other options
But we are still finalizing and searching for best model for our aplication
@lyric berry , Do you have any suggestion for model?
bruh, this itself is an encoder model
can't blabber out any text
Main thing is fully offline LLM.
lmk a bit more details on this or just give me out the issue link, I'll think of something best
Its a huge problem to solve.
plus in future we want agentic stuff
also lmk the size to be considered for the model
not a big problem
below 400 MB will work
we need max to max 400mb
this please....
Let me know, if you find any model.
I'll go through the readme/arch for BabyNest
we can have a call with you and get u familiarized with the workflow and requirements
sure sure
@lyric berry You are now level 7! :confetti_ball:
Yes
Let's arrange a meet whenever you are free
sure it was great to work with you in Devr
And there we would test some models and finalize one acc to accuracy scores
I can help smoothly align the agentic part, currently working on agentic interactions xD
me too
would love to collaborate
i also had an idea about the agentic part would love to share with you all in the meet
yupp, we can use Ragas for that
lmk the meet schedule
yep sounds good
Its rag's
ahh nope xD
Ragas is a library for LLM evaluation, core ML peeps would know hehe
evaluates LLMs to its best
Oh that seems interesting
Thanks man
will let you know about a call, once I think on the model part and workflow for it...
we can also discuss prior to it too...
yep
can use that with langchain later to test our model
not required currently
sufficient?
what are other's views
what else can be added or modified
help out @warm bay
I think for now it may be sufficient.
But if there are any suggestions I will do that in the integration pr which in in progress
lets see
Yes, bhavik please update me about what more can be added
I'll make it so
Sry I didn't understood