Foodlama browser extension
6/1/2021
Overview
Foodlama is a start-up focused on improving shopping experience for people with dietary preferences. It was chosen by Google for 2022 Startups black founders fund.
Key Features
- 🛍 Supports Multiple Retailers – Shop across various retailers.
- 👤 Customizable Profiles – Personalize the shopping experience to match users' dietary needs.
- 🏷 Dietary Preference Labeling – Instantly identify products that align with dietary preferences.
- ⭐ Smart Recommendations – Receive tailored product suggestions based on users' diets.
Challenges & Solutions
Supporting multiple retailers
Foodlama works by updating the interface of the retailers site. For example, it adds a label on top of a food product to indicate whether it is suitable with user's dietary preferences. Each retailer has its own interface and UI, so we had to build a custom solution for each retailer.
Solution To minimize the effort, we modularized the code and created a layer that's specific to each retailer. With this approach, we were able to support multiple retailers with minimal effort by creating a new connector for each retailer.
Gathering and labelling ingredients data
We couldn't find any public data or APIS of ingredients and their relation to dietary preferences.
Solution: We scrapped the ingredients from retailer websites and labelled their compatibility with the supported dietary preferences. We also built an internal tool to review and help us to label the data.
Notes: We built this before the widespread of LLM such as ChatGPT. If I were to build this again, I would use RAG (Retrieval Augmented Generation) to generate the data.
Contributions
- Led the developers team, responsible for planning and requirement gathering.
- Architected the project.
- Developed the custom connector for each retailer.
- Implemented the core analysis function which is used to determine the compatibility of ingredients with dietary preferences.
- Continuously improve the core analysis function by testing it against more products and refining the data.
Outcome
- We were able to support 3 retailers (ASDA, Tesco, and Ocado)
- We supported 22 dietary preferences:
- Mammals-Free
- Palm-Kernel-Oil Free
- Palm-Oil Free
- Poultry Free
- Vegan Vegetarian
- Celery allergy
- Eggs allergy
- Fish allergy
- Gluten allergy
- Lupin allergy
- Milk allergy
- Mustard allergy
- Peanuts allergy
- Sesame-seeds allergy
- Shellfish allergy
- Soy allergy
- Tree nuts allergy
- Sulphites allergy
- Caffeine intolerance
- Dairy intolerance
- Fructose intolerance
- Lactose intolerance