---
title: "AI enhanced e-commerce application"
description: "WithLove is a sample e-commerce application that show how AI can be integrated into a web application. It includes a curated gift shop with hybrid search (full-text + vector), and an AI-powered chat shopping assistant."
canonical: "https://temporal.io/code-exchange/ai-enhanced-e-commerce-application.md"
source: "https://temporal.io/code-exchange/ai-enhanced-e-commerce-application"
published: "2026-07-16"
authors:
  - "Cecil Phillip"
company: "Temporal"
languages:
  - ".NET"
reviewed_by_temporal: false
community_contribution: true
---

# AI enhanced e-commerce application

WithLove is a sample e-commerce application that show how AI can be integrated into a web application. It includes a curated gift shop with hybrid search (full-text + vector), and an AI-powered chat shopping assistant.

- [View repo](https://github.com/temporal-community/withlove-giftshop-demo)

The sample also uses OpenAI models for inference and embedding generation. The application uses Temporal for durable, long-lived operations such on customer onboarding, order processing, and chat assistant sessions.

Key Features
- Hybrid Search — Full-text search (SQL Server FTS) combined with vector similarity (OpenAI embeddings), merged via Reciprocal Rank Fusion
- Chat Assistant (LA) — Temporal-backed conversational shopping assistant using Microsoft.Extensions.AI with tool calling for product search, cart management, and recommendations
- Stripe Web elements — Server-side Checkout Sessions with the Payment and Address elements integrated
- FusionCache + Redis — Multi-layer caching with tag-based invalidation and Redis backplane for cross-instance sync
- Temporal Workflows — Durable database setup, Stripe order processing, customer onboarding, and long-lived chat sessions
