← Code Exchange

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.


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

Language

.NET
💖 Community

About the Author

Smiling man wearing a burgundy shirt and black backpack taking a selfie outdoors against a blue sky.

Cecil Phillip

Staff Developer Advocate

Temporal