Hello Everyone, I am currently using Typesense to provide product search ability for our e-commerce store. We would like to rank products that were recently purchased higher in the results if the product matches the query.
I found the
Recommendations cookbook and read through it. Based on my understanding we need to create a new ML model for each user with recently purchased products. Then index this model into a Typesense collection. And then generate embeddings on each search they preform using the original model. I am a bit unsure on how to do this on a per customer basis though because i would like to have each customer have their own unique search instance that is based off of only their purchase history using their customer ID.