| 1 | Clean the catalogue | No AI yet. Find patterns of missing data, drop very short descriptions and check how many categories exist. | Drop, fill or flag the missing items? What is the shortest description worth keeping? | A three-word description gives a meaningless vector. Garbage in, garbage out. |
| 2 | Embed | An embedding model turns each description into a list of numbers, so that similar meanings sit close together. | Hosted API or an open model on your own machine? Compare cost per item, languages and privacy. | Change the model later and every vector must be rebuilt. Mixing models gives wrong distances. |
| 3 | Search by meaning | The query goes through the same model, and the closest vectors come back. | Vector database, SQL with a vector extension, or plain keyword search? | It can miss exact titles and names. It ranks by what feels similar, not by what is correct. |
| 4 | Zero-shot categories | A model labels each item with categories it was never trained on, by judging how well the text fits each label. | Use zero-shot, or train a small classifier on labelled examples? | It mislabels edge cases, so accuracy must be checked on a labelled sample. |
| 5 | Emotion and tone | A fine-tuned model scores each description for emotions such as joy or suspense, so readers can sort by mood. | Is tone worth a filter, and which scores does the reader see? | Descriptions are marketing text and may not match the real tone of the item. |
| 6 | Evaluate | Compare the results with a small set of queries that have known good answers. | Which measure, how many test queries and who judges them? | Relevance is subjective, and scores drift after every catalogue update. |
| 7 | Serve | A Python API wraps the search and a React screen shows the results. | Embed at query time or cache? What is the latency and the cost of one query? Is an LLM needed at all? | The query bill spikes, responses slow down, or an LLM adds cost with no better results. |