Back to projects

ASTRA

Conversational product search with intent tracking and preference memory

TikTok TechJam 2026 · Hackathon prototype

PythonRetrievalEmbeddingsSQLitePreference Memory

The project

Our team built ASTRA, a shopping assistant that combines keyword and embedding retrieval with structured product filters. It tracks the conversation, asks follow-up questions and uses confidence checks before recommending products.

My contribution

I worked on long-term preference memory: how a new session should update an existing user profile, and when that profile should influence retrieval. The implementation supports both fixed and similarity-adaptive updates, with a bounded update weight and a normalised profile vector.

The engineering question

Remembered interests can help a related search but distort an unrelated one. The system uses a relevance check before applying memory. A single profile vector also has limits: changing its update rate does not, by itself, preserve several distinct interests.

This is a hackathon prototype. I treat memory quality as an evaluation question, rather than assuming that adding memory improves recommendations.