Lädt...

🔧 My HNG Internship Journey: Stage 3 — Building an AI-Powered Text Processing Interface


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Two weeks ago, I completed Stage 3 of the HNG Internship. The task was to build a chat-style AI text processor using Chrome’s AI APIs for summarization, translation, and language detection. Here’s my experience.

Task Requirements

  • Create a chat-like interface where users input text and see outputs above.
  • Integrate Chrome’s AI APIs for translation (English, Portuguese, Spanish, etc.), language detection, and summarization.
  • Ensure accessibility, responsive design, and error handling.
  • Render action buttons (Summarize/Translate) based on text length and language.

Live Demo:

https://chattextgen.vercel.app/

Execution & Challenges

What Worked:

  • Successfully integrated Google’s Translator API for translating text and detecting languages.
  • Added a hover-to-translate feature: three dots appear on text hover, letting users translate to preferred languages.
  • Designed a responsive UI that works on mobile and desktop.

Struggles:

  1. Summarization API Issues: Chrome’s Summarizer API repeatedly failed during testing. I tried multiple free alternatives, but none worked reliably. For now, summarization is incomplete.
  2. Tight Deadline: Built this in days while balancing work commitments. Compromised on some edge cases to meet the deadline.
  3. Error Handling: Implementing clear error messages for API failures required extra debugging time.

Outcome & Lessons

The app works for translation and language detection but lacks summarization. I’ll revisit this later with better APIs.

What I Learned:

  • Async JavaScript and API error handling are critical.
  • Accessibility (ARIA labels, keyboard navigation) takes patience but is worth it.
  • Time management is key with complex tasks.

Future Improvements

  • Find a reliable free summarization API.
  • Refine the UI for better visual feedback.
  • Add more languages and optimize performance.

Links to My Work

GitHub Repo: https://github.com/toptech5419/myHNGInternship-journey.git

LinkedIn: https://www.linkedin.com/in/toptech5419/

X (Twitter): https://x.com/Toptech5419

Medium: https://medium.com/@alabitemitope51

This stage taught me resilience in problem-solving. Onward to the next challenge!

...

🔧 My HNG Internship Journey: Stage 1 — Building a Color Guessing Game


📈 55.98 Punkte
🔧 Programmierung

🔧 My HNG Internship Journey: Stage 1 — Building a Color Guessing Game


📈 55.98 Punkte
🔧 Programmierung

🔧 **My HNG Internship Journey: Stage 0 — Building a Responsive Profile Card**


📈 55.98 Punkte
🔧 Programmierung

🔧 My HNG Internship Journey: Stage 4 — Designing a Kanban Board in Figma


📈 50.72 Punkte
🔧 Programmierung

🔧 My Journey Deploying an NGINX Web Server: HNG Internship DevOps Stage 0


📈 50.72 Punkte
🔧 Programmierung

🔧 HNG Internship,Why I Want to Be a Front-End Developer and How HNG Will Help Me Achieve My Goals


📈 47.19 Punkte
🔧 Programmierung

🔧 HNG Internship: DevOps Stage 0 - NGINX Configuration


📈 43.36 Punkte
🔧 Programmierung

🔧 HNG Internship "DevOps Stage 0 - NGINX Configuration"


📈 43.36 Punkte
🔧 Programmierung

🔧 HNG Internship Stage 0 - Setting Up NGINX on Ubuntu Server


📈 43.36 Punkte
🔧 Programmierung

🔧 HNG Internship "DevOps Stage 0 - NGINX Configuration"


📈 43.36 Punkte
🔧 Programmierung

🔧 Tublian Internship Journey: Navigating the Internship Landscape in Week One


📈 39.29 Punkte
🔧 Programmierung

🔧 Tackling CORS Issues: My Backend Development Challenge and HNG Internship Journey


📈 38.94 Punkte
🔧 Programmierung

🔧 Overcoming Backend Challenges: A Journey with HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 Solving a Complex Back-End Challenge and My Journey with HNG Internship.


📈 38.94 Punkte
🔧 Programmierung

🔧 My Dev Journey: Tackling Real-Time Challenge with Django and the HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 Solving a Booking System Issue on a Photography Website: My Journey in the HNG Internship.


📈 38.94 Punkte
🔧 Programmierung

🔧 My HNG Internship Journey: A New Chapter in My Front-End Development Path


📈 38.94 Punkte
🔧 Programmierung

🔧 The Power of Automation: My Journey with Scripts and the HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 My Backend Journey: The Big Problem I Solved and My Path to the HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 My Journey as a Backend Developer: Tackling Complex Problems and Embracing the HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 My Backend Challenge: A Journey to Mastery and the HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 Solving Complex Backend Challenges: My Journey with Node.js and HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 Overcoming Backend Challenges: My Journey and Aspirations with HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 My Journey into Mobile Development with HNG Internship.


📈 38.94 Punkte
🔧 Programmierung

🔧 My internship journey at HNG


📈 38.94 Punkte
🔧 Programmierung

🔧 How I solved a Backend Problem + My HNG Internship Journey.


📈 38.94 Punkte
🔧 Programmierung

🔧 Embarking on the Mobile Development Journey with HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 Tackling Complex Backend Challenges: My Journey with HNG Internship


📈 38.94 Punkte
🔧 Programmierung

🔧 My HNG Journey. Stage One: Creating a multi-purpose Bash Script


📈 34.75 Punkte
🔧 Programmierung

🔧 My HNG journey. Stage Zero: How to Deploy a Static Webpage Using Nginx


📈 34.75 Punkte
🔧 Programmierung