Member-only story

Exploring Personalized Shopping Experiences with Qdrant’s Discovery API

Niranjan Akella
5 min readDec 22, 2023

--

Improve personalized product discovery with Qdrant’s Discovery API on a Streamlit web app

Stable-Diffusion-XL Generated Image

Introduction

In the rapidly growing e-commerce landscape, delivering personalized shopping experiences has become one of the key differentiators for success. In this article, we dive deep into the functionality of Qdrant’s new Discovery API, mainly focusing on context search, to unlock tailored product recommendations. To demonstrate this new approach, I’ll walk you through an implementation of a Streamlit App that I have developed, seamlessly integrating with Qdrant’s vector database.

Trust me, it’s fun! ✌️

Discovery API

Qdrant’s Discovery API introduces the concept of “context,” which is a powerful tool for splitting the vector space efficiently, where the context comprises positive-negative pairs, effectively dividing the space into sub-zones based on given user preferences. The search mechanism in this context gives priority to points that actually belong to the positive zones while avoiding the negative ones.

There are mainly 2 types of search:

1. Discovery Search: Utilizes target and context pairs to find points that are closest to the target but…

--

--

Niranjan Akella
Niranjan Akella

Written by Niranjan Akella

A scientist by heart and a passionate researcher in my field of expertise. I love philosophy.

No responses yet