A Transparent and Controllable Chatbot for Conversational Commerce

Conversational AI
Project Overview
Cleo is a conversational product advisor for e-commerce that addresses three core problems in LLM-based shopping assistants: opacity, unpredictability, and the difficulty of comparing options in natural language. I designed and built the system as part of my doctoral research at GESIS – Leibniz Institute for the Social Sciences.
My Contributions
With support from a software developer, I led the design and development of Cleo end-to-end: the transparency and controllability concept, the hybrid ranking/generation architecture, the comparison and highlights features, and the user studies evaluating it.
Project description
GESIS – Leibniz Institute for the Social Sciences
2024 – ongoing
Conversational commerce promises a more natural way to shop, but handing decision-making over to a large language model raises a hard question: can a shopper trust a recommendation they can't inspect? Cleo answers this with three design contributions. First, transparency: the system prompts the LLM to reflect on its interpretation of the user's needs, while an auditable ranking mechanism exposes the loss values behind each recommendation, so a shopper can see why a laptop was suggested, not just that it was.

Second, controllability: a hybrid architecture separates a deterministic ranker, which applies filters and numeric scoring across thousands of product specifications, from a constrained language model that generates descriptions grounded strictly in catalog evidence. This keeps the fluency of conversation without the risk of hallucinated or persuasive claims.

Third, decision support: natural-language comparisons and a highlights feature contextualize specifications relative to what the user actually asked for, so shoppers can evaluate options without parsing raw specs line by line.

Under the hood, Cleo runs as two independently deployable services: an Angular/TypeScript frontend and a Python/Flask backend. The backend calls the OpenAI API directly through a custom prompt-management and conversation layer, and computes recommendations with a deterministic scoring engine built on PyTorch tensor operations (fast tensor math rather than a trained model) that ranks the catalogue against each user's stated requirements.
Read the paper (CHIIR '26)Read the usability study (upcoming)