<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aaliyah Junaid </title>
    <description>The latest articles on DEV Community by Aaliyah Junaid  (@aaliyahjunaid).</description>
    <link>https://dev.to/aaliyahjunaid</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1178455%2F84c21961-2317-4cfa-9ebc-0d2ba9c2fce1.png</url>
      <title>DEV Community: Aaliyah Junaid </title>
      <link>https://dev.to/aaliyahjunaid</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aaliyahjunaid"/>
    <language>en</language>
    <item>
      <title>This is absolutely amazing 🤩</title>
      <dc:creator>Aaliyah Junaid </dc:creator>
      <pubDate>Sat, 23 May 2026 20:27:23 +0000</pubDate>
      <link>https://dev.to/aaliyahjunaid/this-is-absolutely-amazing-4po4</link>
      <guid>https://dev.to/aaliyahjunaid/this-is-absolutely-amazing-4po4</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08" class="crayons-story__hidden-navigation-link"&gt;Datrix: Chat With Your Data Using Gemma 4 — Charts, ML Models, No Code&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
      &lt;a href="https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08" class="crayons-article__context-note crayons-article__context-note__feed"&gt;&lt;p&gt;Gemma 4 Challenge: Build With Gemma 4 Submission&lt;/p&gt;

&lt;/a&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/nonso_dev_8db441822f32aaa" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3940072%2F9e1367d0-12ac-4180-abee-2be7cb0eed25.png" alt="nonso_dev_8db441822f32aaa profile" class="crayons-avatar__image" width="96" height="96"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/nonso_dev_8db441822f32aaa" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Nonso Dev
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Nonso Dev
                
              
              &lt;div id="story-author-preview-content-3734795" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/nonso_dev_8db441822f32aaa" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3940072%2F9e1367d0-12ac-4180-abee-2be7cb0eed25.png" class="crayons-avatar__image" alt="" width="96" height="96"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Nonso Dev&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;May 23&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08" id="article-link-3734795"&gt;
          Datrix: Chat With Your Data Using Gemma 4 — Charts, ML Models, No Code
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/devchallenge"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;devchallenge&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/gemmachallenge"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;gemmachallenge&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/gemma"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;gemma&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt; reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/nonso_dev_8db441822f32aaa/datrix-chat-with-your-data-using-gemma-4-charts-ml-models-no-code-2b08#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
    </item>
    <item>
      <title>AI-dy: On-Device Emergency First Aid with Gemma 4</title>
      <dc:creator>Aaliyah Junaid </dc:creator>
      <pubDate>Sat, 23 May 2026 19:29:03 +0000</pubDate>
      <link>https://dev.to/aaliyahjunaid/ai-dy-on-device-emergency-first-aid-with-gemma-4-2j5e</link>
      <guid>https://dev.to/aaliyahjunaid/ai-dy-on-device-emergency-first-aid-with-gemma-4-2j5e</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Build with Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Traditional first aid apps often fail during high-stress crises because they bury instructions in dense text or rely on a stable internet connection. Conversely, standard cloud AI chatbots are highly prone to hallucinations, posing a massive safety risk if they invent incorrect medical dosages or dangerous treatments when a user is vulnerable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI-dy&lt;/strong&gt; bridges this gap. It is an offline-first mobile application that combines proactive first aid education with instant, on-device AI assistance. By using spaced repetition (the SM-2 algorithm) in its "Drill Mode," it helps users build lasting knowledge before a crisis hits.&lt;/p&gt;

&lt;p&gt;Built as a Turborepo monorepo, AI-dy combines an Expo 54 (React Native) mobile frontend with a NestJS/PostgreSQL backend for cross-device sync. Crucially, the app bundles 58 lessons across 24 topics as static JSON, meaning the core application and its underlying AI features remain fully operational even with zero network bars.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/mrsPUVKxQqk"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Leeyah-123" rel="noopener noreferrer"&gt;
        Leeyah-123
      &lt;/a&gt; / &lt;a href="https://github.com/Leeyah-123/ai-dy" rel="noopener noreferrer"&gt;
        ai-dy
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;AI-dy — On-Device Emergency First Aid Assistant&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;AI-dy is a mobile-first first aid companion that teaches you when you're calm and guides you when you're not. It runs &lt;strong&gt;Gemma 4 entirely on your device&lt;/strong&gt; — no cloud, no connectivity required — so it works in the moments that matter most.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What AI-dy Does&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Learn Mode&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;Structured, searchable first aid education across &lt;strong&gt;58 lessons, 24 topics, and 3 age groups&lt;/strong&gt; (Adult / Child / Infant).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Browse and filter lessons by topic and age group&lt;/li&gt;
&lt;li&gt;Step-by-step illustrated instructions with Cloudinary-hosted images&lt;/li&gt;
&lt;li&gt;Watch video demonstrations for key lessons (YouTube, in-app player)&lt;/li&gt;
&lt;li&gt;Take per-lesson quizzes to test comprehension&lt;/li&gt;
&lt;li&gt;All content is bundled offline — no network required&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Drill Mode&lt;/h3&gt;

&lt;/div&gt;
&lt;p&gt;Spaced-repetition practice across &lt;strong&gt;400+ quiz questions&lt;/strong&gt; using the SM-2 algorithm.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Configurable sessions: Quick (5), Standard (10), or Full (20) questions&lt;/li&gt;
&lt;li&gt;Filter by topic and age group before starting&lt;/li&gt;
&lt;li&gt;SM-2 scheduling surfaces weak spots first and…&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Leeyah-123/ai-dy" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Used Gemma 4
&lt;/h2&gt;

&lt;p&gt;AI-dy runs entirely on-device, prioritizing user privacy, speed, and absolute reliability during natural disasters or in rural areas.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Selection
&lt;/h3&gt;

&lt;p&gt;I chose &lt;strong&gt;Gemma 4 E4B IT&lt;/strong&gt; with Q4_K_M quantization (~5 GB) executed via &lt;code&gt;llama.rn&lt;/code&gt;. The E4B variant is the perfect sweet spot: it comfortably fits within the memory constraints of modern flagship smartphones, yet retains the rigorous instruction-following precision needed for safety-critical interactions that smaller models lack. Users download the multimodal vision projector (&lt;code&gt;mmproj&lt;/code&gt;, ~990 MB) during an initial setup to unlock full offline visual capabilities.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Gemma 4 Powers the Experience
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context-Aware Lesson Assistant:&lt;/strong&gt; When a user asks a question while browsing a lesson, the app dynamically injects the current lesson title and step data into Gemma 4's context window. This ensures the model gives immediate, hyper-relevant answers tailored exactly to the procedure the user is looking at (e.g., adult burn treatments).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crisis Chat with Multimodal Vision:&lt;/strong&gt; In an emergency, users can take a photo of an injury. Gemma 4’s vision capabilities analyze the image to identify the type of trauma and guide the user through immediate care steps. If the AI detects that visual context would help, it proactively prompts the user to snap a picture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice-First Emergency Navigation:&lt;/strong&gt; For hands-free operation, a hybrid intent-extraction layer processes voice input. Local keyword matching handles instant navigation for clear emergencies (e.g., shouting "choking!"), while on-device Gemma 4 handles ambiguous natural language inputs—all without a single network round-trip.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Overcoming Technical Challenges
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bypassing Latency:&lt;/strong&gt; Gemma 4's native reasoning chain can cause a delay. To minimize response latency when seconds count, I utilized the &lt;code&gt;&amp;lt;|channel|&amp;gt;answer\n&lt;/code&gt; marker to skip the "thinking" phase, forcing the model to start streaming the final, actionable response instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stable Vision Inference:&lt;/strong&gt; To prevent standard context shifting from corrupting critical image data during an interaction, I locked the image embeddings in place by setting &lt;code&gt;ctx_shift: false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guaranteed Medical Safety:&lt;/strong&gt; To eliminate the risk of AI hallucinating medical protocols, I enforced a strict architectural boundary. Structured decision trees for medical procedures remain hardcoded and verified; Gemma 4 is strictly limited to intent extraction, navigation, and clarifying context. It can guide you to the right protocol, but it can never "invent" a new one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Medical &amp;amp; Organizational Partnerships:&lt;/strong&gt; I plan to partner with medical professionals and organizations like the American Red Cross and AHA to continuously validate our content and offer certifiable course tracks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Emergency Services Integration:&lt;/strong&gt; I aim to build direct dispatch integration into the app. This will allow a user to call emergency services natively while automatically transmitting location data, incident types, and a structured summary of the first aid steps already taken.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A Purpose-Built First Aid Model:&lt;/strong&gt; While Gemma 4 is an incredible general base, our ultimate goal is to fine-tune a specialized, multilingual first aid model on peer-reviewed protocols to optimize safety-critical performance in multiple languages.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;AI-dy demonstrates that powerful, multimodal AI can be a responsible tool in high-stakes domains. By running Gemma 4 E4B entirely on-device, bypassing the thinking chain to cut latency, and constraining the AI to navigation rather than text generation, we’ve built a first aid companion that teaches better in calm moments and thinks faster in a crisis—without ever needing a signal bar to do either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Team
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Aaliyah Junaid&lt;/strong&gt; (&lt;a href="https://dev.to/aaliyahjunaid"&gt;@aaliyahjunaid&lt;/a&gt;) - Software Engineer&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
    </item>
  </channel>
</rss>
