Skip to main content
PickTensorSoftware & AI Studio
Back to All WorkAI / ML Engineering
LiveAI & E-CommerceRecommendation Engines

Syyed Mujahid — Artisanal Attars & AI Scent Persona

E-commerce catalog and hybrid Gemini + 12D cosine-similarity & Gaussian RBF recommendation engine for artisanal perfumery.

Role: Full Stack & AI Engineer
Areas:Recommendation EnginesE-commerce PlatformsLLM Applications
12D + 5D
Preference Space
Accord cosine + sensory RBF kernel
12s Cap
LLM Fallback Budget
Instant deterministic vector fallback
MMR λ=0.70
Diversity Tuning
Balanced relevance vs variety
Syyed Mujahid handcrafted attar glass bottles with rose petals, saffron, and agarwood
Artisanal perfumery hero visual for Syyed Mujahid Pure Artisanal Attars.

Overview

A live production Next.js storefront and AI consultation platform for Syyed Mujahid Pure Artisanal Attars, pairing a searchable fragrance vault (#WO-01, #KM-02) and admin dashboard with an AI Scent Persona recommender backed by a deterministic 12-dimensional vector + Maximal Marginal Relevance (MMR) fallback engine.

Models, Dataset & Methodology

Models Used

Gemini API (@google/genai)12D Accord Cosine Vector Engine + 5D Sensory RBF

Methodology & Pipeline

Maps questionnaire responses and conversational scent accords into a 12-dimensional preference vector plus a 5D sensory profile. Scores in-stock products using cosine similarity, a Gaussian RBF sensory kernel (sigma = 1.80), environmental fit, hard exclusions, and Maximal Marginal Relevance (lambda = 0.70) to balance relevance with scent diversity.

Inference & System Architecture

Next.js App Router storefront and guided consultation flow backed by MongoDB/Mongoose persistence, cloud object storage for product media, and server-side recommendation endpoints orchestrating Gemini AI with an enforced 12s timeout fallback to deterministic vector scoring.

Problem & Context

Buying traditional non-alcoholic attars online is intimidating because shoppers cannot smell oil concentrates through a screen—and LLM-only recommenders risk timeouts, hallucinations, or out-of-stock suggestions.

Modeling & Pipeline Approach

Built an interactive Scent Persona consultation and storefront where a Gemini recommendation provider works alongside a zero-dependency deterministic vector scoring engine that guarantees instant, in-stock, diversified matches.

Evaluation & Telemetry

Collects optional recommendation feedback and enforces deterministic fallback guarantees so users always receive valid in-stock bottle matches even if an external LLM request fails or times out.

Core Capabilities

  • AI Scent Persona guided 2-minute consultation & conversational fragrance matching
  • Hybrid recommendation orchestrator: Gemini LLM + 12D cosine similarity & MMR diversity fallback
  • Searchable Fragrance Vault by unique attar codes (e.g. #WO-01, #KM-02) and scent family filters
  • Protected Admin Dashboard with single & bulk product upload modals backed by MongoDB & Supabase Storage
  • One-click WhatsApp order workflow across 3ml, 6ml, and 12ml bottle sizes

Engineering Challenges & Edge Cases

  • Guaranteeing low-latency recommendations even when external LLM calls exceed timeout budgets
  • Translating subjective fragrance preferences (sweetness, projection, season, occasion) into deterministic numeric scoring

Evaluation & Outcomes

  • Deployed live production storefront and AI Scent Persona consultant at syyedmujahid.vercel.app
  • Eliminated single-point LLM failure through deterministic vector chemistry scoring

Technical Stack

Languages

TypeScript

Frameworks

Next.jsReactTailwind CSS

Models

Gemini API (@google/genai)12D Accord Cosine Vector Engine + 5D Sensory RBF

Libraries

MongooseZod@supabase/supabase-jsLucide React

Infrastructure

MongoDBSupabase StorageVercel

Technologies

Next.jsTypeScriptGemini APIVector SimilarityMongoDBSupabaseZod
Tags:#Recommendation Engine#E-commerce#Next.js#Gemini API#Vector Search#MongoDB

Need similar engineering architecture for your product?

Discuss your goals directly with Danish Saifi at PickTensor.

Start a Discussion