IK Imran Khalid

Full-Stack Products 3 months Swift Sales Active

Swift Sales Healthcare

Semantic Product Search for Pharma Distribution

Swift Sales Healthcare project cover

Overview

A full-stack healthcare and pharma sales platform with semantic product search: instant, accurate answers across large medical catalogs without waiting on manual back-office lookups.

The problem

Healthcare sales teams answer catalog questions across thousands of products. Keyword search fails on synonyms, brand variants and clinical phrasing, so staff fall back to manual lookups.

The solution

Built an Express and Supabase platform with vector search: product text is embedded with Hugging Face models and stored in a FAISS index, so a query matches by meaning rather than exact wording. Framer Motion drives a responsive sales interface.

Project gallery

Technical architecture

Express API with embedding pipeline and vector index

Embedding Service

Generates product and query embeddings using Hugging Face Inference and @xenova/transformers.

Vector Index

faiss-node index over the product catalog for fast semantic nearest-neighbour retrieval.

API Layer

Express routes for search, product detail and sales support queries backed by Supabase.

Sales Interface

Responsive React front end with Framer Motion transitions and fast result previews.

Methodology

  1. Normalized the catalog into searchable product documents with brand, strength and category fields
  2. Benchmarked keyword search against embeddings on real sales queries
  3. Added hybrid ranking so exact product codes still win when typed directly
  4. Cached embeddings to keep query latency stable

Results & impact

Semantic Search Type Meaning-based product matching
Sub-second Latency On cached vector index
Full-stack Stack Express, Supabase, embeddings

Key impact

  • Replaced manual back-office lookups with instant catalog answers
  • Handled synonyms and clinical phrasing that keyword search missed
  • Gave sales staff a single search surface for the full catalog

Challenges & solutions

Catalog-Scale Embedding

Batch-embedded products offline and stored vectors so runtime only embeds the query

Exact Code Matching

Hybrid ranking that boosts direct product-code and brand hits above pure similarity

Technologies used

Node.jsExpressSupabaseHugging Face Inference@xenova/transformersfaiss-nodeReactFramer Motion