Enhancing Product Search with AI: My Internship Experience

During my internship as a Machine Learning Engineer at a fast-paced e-commerce startup, I worked on building a semantic search and recommendation system to improve product discovery in a large catalog.


Objective

The primary objective of my internship project was to enhance product search and retrieval using AI. Traditional keyword-based search often produced irrelevant results, making it difficult for users to quickly find what they needed.

Our goal was to:

  1. Understand user intent beyond simple keyword matching.
  2. Retrieve semantically relevant products from a large catalog using embeddings.
  3. Rerank results to present the most meaningful items first.

By combining machine learning, vector embeddings, and LLM-based reranking, we aimed to create a system that significantly improved user search experience.


Design

System diagram

The system architecture was modular and consisted of the following components:

  1. Intent Classification
  2. Vector-Based Retrieval
  3. Reranking Layer
  4. Duplicate Filtering
  5. Deployment

Data Processing

The data processing workflow was critical to enable semantic search:


Optimization

Performance optimization was a key focus to ensure a smooth user experience:

  1. Latency Reduction
  2. Prompt Engineering
  3. Deduplication Logic

Evaluation

To ensure the system was effective and robust:

  1. Custom Evaluation Dataset
  2. Manual Review
  3. Embedding Similarity Analysis

Key Takeaways

This project was a complete end-to-end ML experience : from data processing and semantic retrieval to latency optimization and evaluation in production.

I learned how to:

This experience strengthened my skills in machine learning engineering, MLOps, and semantic search, while demonstrating how data science and domain knowledge can work together to improve user experience.