✦ Want a lab built just for you? ✦
Request a Lab ↗

Building a Visual Product Search System with Amazon Bedrock Multimodal Knowledge Bases and Nova Embeddings

About this lab

You are an AI engineer at UrbanEdge, an online retailer. The product team has a recurring problem: customers often know what they want visually (they saw a lamp at a friend's house, a jacket on the street) but struggle to describe it in words that produce useful search results. The team wants a feature where customers can type a description like "minimalist wooden desk lamp" or upload a photo and find visually similar products.

Your job is to build this using Amazon Bedrock Knowledge Bases with Nova Multimodal Embeddings. You will prepare a product catalog with text descriptions and images, create a multimodal knowledge base backed by S3 Vectors, ingest the data, and run both text-based and image-based queries. By the end, you will have a working visual product search pipeline ready for frontend integration.

Lab details

  • Level: Intermediate
  • Cloud: AWS
  • Domain: AI Engineering
  • Duration: 90 minutes

What you will learn

  • Understand what multimodal knowledge bases are and how they differ from text-only KBs
  • Set up S3 Vectors as a serverless vector store with 3072-dimensional index
  • Create a Bedrock Knowledge Base with Nova Multimodal Embeddings
  • Ingest a mixed product catalog (text and images) and monitor ingestion progress
  • Perform text-based semantic queries using the Retrieve API
  • Perform image-based visual similarity queries using base64-encoded images

Concepts covered

  • Multimodal embeddings and cross-modal search
  • Nova Multimodal Embeddings vs Bedrock Data Automation (BDA)
  • S3 Vectors as a serverless vector store
  • Knowledge Base creation and data ingestion
  • Text-based semantic retrieval (Retrieve API)
  • Image-based visual similarity search
  • Supplemental multimodal storage configuration

Technologies used

  • Amazon Bedrock Knowledge Bases
  • Amazon Nova Multimodal Embeddings V1
  • Amazon S3
  • Amazon S3 Vectors
  • Python (Boto3)

Prerequisites

  • AWS account with Bedrock access
  • Basic Python and Boto3 knowledge
  • Familiarity with S3 and IAM roles
  • Understanding of embeddings and vector search concepts

Topics

  • AWS
  • Amazon Bedrock
  • Knowledge Bases
  • S3
  • Nova Embeddings
  • RAG