Supercharge eCommerce Search: OpenAI's CLIP, BM25, and Python

From the creator

We build a multi-modal hybrid search engine for ecommerce using OpenAI's CLIP, BM25, Pinecone vector database, and Python. The search engine processes text and image-based queries and can produce better results than traditional methods. The search engine allows users to search and retrieve data using both text and visual queries, which is especially useful in e-commerce domains where users have a range of search queries, from specific product searches to image-based searches for related items. By using CLIP and BM25, the search engine can process both text and image-based queries, providing users with a comprehensive search experience. Additionally, Pinecone vector database and Python allow for easy indexing, storage, and retrieval of data, making it possible to handle large volumes of data in real time. 📌 Example notebook: https://github.com/pinecone-io/examples/blob/master/learn/search/hybrid-search/ecommerce-search/ecommerce-search.ipynb 🎙️ AI Dev Studio: https://aurelio.ai/ 👾 Discord: https://discord.gg/c5QtDB9RAP 🤖 70% Discount on the NLP With Transformers in Python course: https://bit.ly/3DFvvY5 🎉 Subscribe for Article and Video Updates! https://jamescalam.medium.com/subscribe https://medium.com/@jamescalam/membership 00:00 Multi-modal hybrid search 01:05 Multi-modal hybrid search in e-commerce 05:14 How do we construct multi-modal embeddings 07:05 Difference between sparse and dense vectors 09:43 E-commerce search in Python 11:11 Connect to Pinecone vector db 12:04 Creating a Pinecone index 13:45 Data preparation 16:32 Creating BM25 sparse vectors 19:33 Creating dense vectors with sentence transformers 20:26 Indexing everything in Pinecone 24:41 Making hybrid queries 26:01 Mixing dense vs sparse with alpha 32:11 Adding product metadata filtering 34:13 Final thoughts on search

Stop watching · start building
Matched to OpenAI

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026
Find a job · 1 live role

Jobs in AI.
Apply now.

Apply once › get screened › meet the company

See all roles

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.