Passa al contenuto
Evento Odoo Experience 2025 inizia il 18 set 2025, 09:00:00 (Europe/Brussels)
Vector-Based Product Similarity in Odoo: A New Paradigm for Recommendations
Developer
Luogo: Auditorium 500 - 20/09/25, 15:30 - 20/09/25, 16:00 (Europe/Brussels) (30 minuti)
Nicolas Delbovier
Software Engineer a Acsone
Nicolas Delbovier
Software Engineer a Acsone

With a master degree in Applied Mathematics, Nicolas is now a software engineer at Acsone, a long-standing Odoo Gold Partner with 14 years of experience.  Acsone has developed an in-depth knowledge of building future-proof solutions for organizations of all sizes. Passionate about open-source, the company is also an active contributor and sponsor of the Odoo Community Association (OCA).


Product recommendations and similarity analysis are crucial for eCommerce, inventory management, and customer experience. Traditional methods often rely on rigid categorization or manual tagging, which can be limiting and unscalable. In this talk, we present an innovative approach using vector-based similarity to dynamically compare products in Odoo.

We’ll explore how explicit product characteristics (e.g., attributes, categories, specs) can be systematically encoded into binary vectors, enabling efficient similarity computation through distance metrics (e.g., Hamming, Jaccard). We’ll break down how different data types (categorical, numerical, selection) are transformed into vector components and aggregated into a unified representation.

Additionally, we’ll demonstrate how pre-trained semantic models (e.g., word embeddings, sentence transformers) can extend this system by converting product descriptions into dense vectors, capturing nuanced relationships beyond explicit features. In this presentation we will explain:
* The mathematical and practical foundations of vector similarity.
* How to implement this in Odoo taking advantage of the ts_vector extension for Postgresql and the new Vector field type we developed
* Performance trade-offs and optimizations for large-scale deployments.

This approach bridges structured and unstructured data, offering a flexible, scalable solution for recommendations, substitutions, and search enhancements—all while leveraging Odoo’s existing framework.

Target Audience:
Odoo developers, functional consultants, and technical architects looking to integrate document or folder structures with Odoo in a robust, scalable, and vendor-neutral way.