Trend Score Update
Context
For Use Case 2 (Dress Me Up) we need to update the Trend Scores for each garment and demographic periodically.
Invocation
The cloud function is triggered once a week by Cron, the service fetches all new trend scores for each garment group and updates corresponding Firestore entries.
Actions
- Fetch all garment, demogaphic scores.
- Updated the corresponding records on Firestore.
Output
This function is invoked automatically and the output is saved in Firestore.