Skip to content

Retail Shopping Assistant

Text and image retail shopping assistant with product search, cart, and safety guardrails.

Publisher
AMD
Hardware

Deployment guide

Getting Started

This is a quick start guide on how to deploy the blueprint. For advanced options, such as reusing an existing AMD Inference Microservice (AIM), providing a Hugging Face token, or overriding storage classes, see Deploying Solution Blueprints with Helm. For blueprint specific details such as connecting to existing LLM/VLM endpoints, HTTPRoute configuration, and secret management, see the advanced deployment guide.

Prerequisites

System Requirements

This blueprint can be deployed on AMD Instinct. The blueprint requires the following cluster resources by default:

ResourceDefault Configuration
GPUs2
CPUs18 CPU cores
RAM398 GiB

To deploy to the Kubernetes cluster, ensure the following prerequisites are met:

  • kubectl: Configured and pointing at your target cluster.
  • Helm 3.16 – 4.2.0: installed on your local machine.

Infrastructure

  • Kubernetes cluster with GPU-capable worker nodes.
  • Persistent storage for ChromaDB and PostgreSQL.
  • Network configuration that allows client access to the frontend endpoint (HTTPRoute/Gateway API, or port-forwarding for local testing).

Self-Hosted AI Models

This blueprint requires 2 AMD GPUs to start:

  1. llm — Qwen3-32B (routing, response generation, summarization, and safety-gate checks).
  2. vlm — Mistral-Small-3.2-24B-Instruct (image understanding for photo-based search).

Text and image embedding models run on CPU only — no additional GPU required:

  1. embedding — multilingual-e5-large-instruct (text embeddings).
  2. clip — CLIP ViT-L/14 (image embeddings).

If you use llm.existingService and/or vlm.existingService, GPU requirements are defined by those external services instead.

Deployment

Create the credentials Secret

Before deploying, create a Kubernetes Secret with the Postgres and Redis credentials:

Terminal window
namespace="my-namespace"
kubectl create namespace $namespace
POSTGRES_ADMIN_PASSWORD=$(openssl rand -base64 24)
POSTGRES_PRODUCT_SEARCH_PASSWORD=$(openssl rand -base64 24)
REDIS_PASSWORD=$(openssl rand -base64 24)
kubectl create secret generic retail-assistant-credentials -n $namespace \
--from-literal=postgres-admin-password="$POSTGRES_ADMIN_PASSWORD" \
--from-literal=postgres-product-search-password="$POSTGRES_PRODUCT_SEARCH_PASSWORD" \
--from-literal=redis-password="$REDIS_PASSWORD"

See Create the credentials Secret in the deployment guide for what each key is used for, and how to use a different Secret name.

Deploy

Terminal window
name="my-deployment"
namespace="my-namespace"
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-retail-shopping-assistant \
| kubectl apply -f - -n $namespace

To check the status of the deployment, run:

Terminal window
kubectl get pods -n $namespace

Wait until all pods report Running and Ready.

Connect to the UI

To access the UI, port-forward the frontend service and open http://localhost:3000 in your browser.

Terminal window
kubectl port-forward "svc/aimsb-retail-shopping-assistant-$name-frontend" 3000:3000 -n $namespace

Clean Up

When you are finished, remove the deployed resources using the same deployment command, with kubectl delete instead of kubectl apply:

Terminal window
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-retail-shopping-assistant \
| kubectl delete -f - -n $namespace

Third-Party Components

This Solution Blueprint utilizes multiple components. For third-party license information, refer to each component’s documentation. Key third-party components are listed below.

ComponentLicense
FastAPIMIT
LangGraphMIT
ChromaDBApache 2.0
PostgreSQLPostgreSQL License
RedisBSD-3-Clause
PydanticMIT

The blueprint also relies on AMD Inference Microservices (AIMs) for the default LLM and VLM backends. These are governed by their respective model and image licenses; see the catalog of available AIMs.

Terms of Use

AMD Solution Blueprints are released under the MIT License, which governs the parts of the software and materials created by AMD. Third-party Software and Materials used within the Solution Blueprints are governed by their respective licenses.

Refer to the documentation for additional information and advanced deployment options.

View advanced deployment guide