Skip to main content

Building E-commerce AI Agents with ADK and Vector Search

Google for DevelopersJune 18, 202530 min21,021 views
41 connections·40 entities in this video

Introduction to AI Agents in E-commerce

  • 💡 This episode focuses on building AI agents for e-commerce using Google's Agent Development Kit (ADK) and Vector Search.
  • 🎯 The goal is to address challenges in e-commerce search and recommendations, moving beyond basic keyword and text similarity.

Challenges in E-commerce Search and Recommendations

  • ⚠️ Basic RAG systems struggle with complex queries involving descriptive information, visual features, and specific product identifiers.
  • 🛒 Simple text similarity search is insufficient for nuanced tasks like recommending birthday presents, requiring a deeper understanding of user intent and trends.
  • 📈 E-commerce sites need sophisticated solutions to handle multimodal search, hybrid search, and task-specific query understanding.

Advanced Vector Search Practices

  • 🖼️ Multimodal Search uses shared embedding spaces for images and text, enabling text-to-image and image-to-text searches.
  • ⚖️ Hybrid Search combines keyword (sparse) and semantic (dense) search within a single index to improve retrieval accuracy, especially for product names.
  • 🧠 Task Type Embeddings (e.g., dual encoder models) are crucial for understanding the relationship between queries and documents, providing more relevant results than simple similarity.

Building the Shopper's Concierge AI Agent

  • 🚀 The Shopper's Concierge demo showcases an AI agent that leverages ADK and Vector Search for advanced recommendations.
  • 🔍 In "deep research" mode, the agent uses Google Search for grounding, identifies trends, generates numerous targeted queries, and performs multimodal item curation.
  • 🎨 This agent can handle ambiguous queries, understand image inputs (e.g., for room setups), and even generate potential images of items in context.

Implementation with ADK and Vector Search

  • 🛠️ The Agent Development Kit (ADK) is an open-source framework supporting Gemini and third-party models, with real-time multimodal communication capabilities.
  • 🔗 The implementation involves defining tools for the agent, such as a find_shopping_items tool that interfaces with Vector Search.
  • 🤝 A "agent as a tool" design pattern is used, where a research agent (using Google Search) acts as a tool for the main shop agent, allowing for a controlled, consolidated user experience.

Key Technologies and Resources

  • ✅ The Shopper's Concierge demo combines ADK, Vector Search (with multimodal, hybrid, and task-type embeddings), and the Ranking API.
  • 📚 Resources for getting started include documentation and sample notebooks for Vertex AI Vector Search and the Agent Development Kit (ADK).
Knowledge graph40 entities · 41 connections

How they connect

An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.

Hover · drag to explore
40 entities
Chapters12 moments

Key Moments

Transcript110 segments

Full Transcript

Topics13 themes

What’s Discussed

AI AgentsE-commerceVector SearchAgent Development Kit (ADK)Retrieval Augmented Generation (RAG)Multimodal SearchHybrid SearchTask Type EmbeddingsGenerative RecommendationsGoogle SearchGeminiShopper's ConciergeItem Curation
Smart Objects40 · 41 links
Concepts· 24
Products· 10
Companies· 4
Person· 1
Media· 1