Skill 2.2.1
Package a feature retrieval specification with the model artifact
Key Concepts
A managed feature store holds feature sets: feature definitions with source data, transformation code and an index column such as customer_id. Feature values can be materialized on a schedule to an offline store for training and batch scoring and to an online store, backed by Redis, for low-latency lookup.
A feature retrieval specification is a YAML file that lists the feature store, the feature sets and the exact features a model uses. The training pipeline generates training data from it, and the specification is saved in the model's artifact folder when the model is registered. A batch scoring pipeline or online deployment then reads the specification from the model to retrieve the same features, which prevents training-serving skew.