The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.
In brief
- Problem
- Customers search descriptively (“table for a small balcony”), and a keyword-based search engine returns poor results.
- Approach
- We combine keyword search with semantic search (hybrid), and the ranking takes availability and margin into account.
- Goal
- Conversion on the key path: an increase over the baseline, target set after the baseline measurement; API p99 latency: ≤ 300 ms.
Client context
Online retail runs on the rhythm of campaigns and seasonal peaks: Black Friday, the holidays, sales. An outage at the peak means lost revenue that cannot be recovered. The client is an online store with several tens of thousands of home and garden products.
Challenge
Customers search descriptively (“table for a small balcony”), and a keyword-based search engine returns poor results. Recommendations are a simple “customers also bought”.
Requirements and constraints
- The Omnibus Directive and the Polish act on price information require showing the lowest price from the 30 days before a discount, and disclosing how reviews are verified and whether the seller is a business. The pricing engine and the catalog must store price history. (source)
- GDPR, that is Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, and processing agreements, and for high-risk processing also a data protection impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
- The AI Act, that is Regulation (EU) 2024/1689, introduces obligations that depend on the risk category of an AI system: transparency toward users, human oversight, technical documentation, and event logging. Systems that affect creditworthiness or employment may fall into the high-risk category. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every deliverable shipped with documentation that the client's team can take over.
Approach and architecture
We start an AI project with the business question and the cost of error: what happens when the model is wrong in one direction or the other. Only then do we choose the method. A simpler, explainable model often beats a deep network. We work in an MLOps cycle: data and model versioning, validation on data from a different period than training, drift monitoring, and a path for rolling a model back to rules.
We combine keyword search with semantic search (hybrid), and the ranking takes availability and margin into account. Recommendations are based on product similarity and sessions. Every change is A/B tested.
Key elements of the solution:
- A hybrid index (keyword and vector)
- Ranking with business rules
- Session-based recommendations
- A/B tests for every change
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| Data scientist | 1 | models, validation, explainability |
| MLOps engineer | 1 | model deployment, drift monitoring, versioning |
| Python developer | 1 | services, integrations, processing scripts |
| Data engineer | 1 | pipelines, data model, data quality tests |
| Product owner and domain experts (client side) | as needed | priorities, business decisions, acceptance |
Phased schedule
| Phase | Weeks | Deliverable |
|---|---|---|
| 1. Problem and data definition | 1–2 | problem card, data analysis |
| 2. Prototype and offline evaluation | 3–6 | baseline model, metrics |
| 3. Pilot with users | 7–10 | pilot, evaluation report |
| 4. Production and MLOps | 11–14 | pipeline, monitoring, documentation |
| 5. Review and roadmap | 15–16 | report, backlog |
Technology stack
OpenSearch with vector search, embedding models, Python, Kafka, an A/B testing tool.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| Data drift and declining model quality | distribution monitoring, alerts, periodic validation, and a path back to rules |
| Processing of especially sensitive data | a DPIA before the start, pseudonymization, role-based access, logging of reads |
| Uncontrolled growth of cloud costs | budgets and alerts, tagging, a weekly FinOps review, reservations once the load has stabilized |
Measurable goals and KPIs
The values below are targets that we agree with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| Conversion on the key path | an increase over the baseline, target set after the baseline measurement | product analytics, A/B tests |
| API p99 latency | ≤ 300 ms | APM |
Lessons learned and good practices
Hybrid search combines the precision of keywords with an understanding of intent. Without A/B tests you cannot tell whether a change helped or just looks better. A simple model that works in production is worth more than the best model in a notebook.
Why DYNAMINDS Labs
DYNAMINDS Labs is the R&D division of B2B.net S.A. On the Elevate platform, our external IT department model, we deploy AI Workers that organize data and take over repetitive work. Every step is a separate ticket with a price and a deadline within 24 hours, and payment follows acceptance. The diagnosis is free of charge.
Acceptance criteria
Each phase ends with a formal acceptance against criteria agreed at the start. In this implementation, acceptance covers: problem card, data analysis; baseline model, metrics; pilot, evaluation report; pipeline, monitoring, documentation; report, backlog. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.
Next step
Submit your first request in Elevate in your own words. You will get a price and a deadline within 24 hours, and you pay after acceptance. Contact: office@b2bnetwork.pl.
Start with one task.
Describe it in your own words. We start with a free diagnosis and reply within 24 hours.
Meet DYNAMINDS LabsB2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.