|
|
Product Comparison Agent
Author: Venkata Sudhakar
A ShopMax India customer shortlists a Sony and a Bose headphone but cannot decide. They read spec sheets, watch YouTube reviews, and still feel uncertain. A product comparison agent that pulls structured specs, weighs them against the customer's stated priorities (sound quality, battery, travel use), and delivers a clear verdict reduces decision fatigue and drives faster checkout. This tutorial builds a Product Comparison Agent using ADK and Gemini. The agent fetches full specs for up to three products, identifies the key differentiators based on what the customer cares about, and delivers a verdict with a clear recommendation. The below example shows a side-by-side comparison for a ShopMax India customer choosing between two headphones.
It gives the following output,
Product Comparison - Frequent Traveller Focus
Attribute | Sony WH-1000XM5 | Bose QC45 | Winner
-----------------------|----------------------|-------------------|--------
Price | Rs 29,000 | Rs 24,999 | Bose (Rs 4,001 cheaper)
Noise Cancellation | 30dB (industry-best) | 25dB (very good) | Sony
Battery Life | 30 hours | 24 hours | Sony
Charging Time | 3.5 hours | 2.5 hours | Bose
Weight | 250g | 238g | Bose
Foldable | No | Yes | Bose
Multipoint Connect | Yes | Yes | Tie
Recommendation:
For a frequent traveller who prioritises noise cancellation above all else,
the Sony WH-1000XM5 is the clear winner - its 30dB ANC and 30-hour battery
cover a Mumbai-London flight with hours to spare. The Bose QC45 is the better
choice for travellers on a tighter budget who want a lighter, foldable option
and can accept slightly shorter battery life. At Rs 4,001 less, the Bose
offers excellent value for casual to moderate travel use.
Deploy this agent as a comparison widget on ShopMax India product pages. When a customer clicks Compare on any two products, the agent generates the comparison in real time. Track comparison-to-purchase conversion in BigQuery to identify which product pairs have the highest close rates.
|
|