Create a feature repository
A feature repository is a directory that contains the configuration of the feature store and individual features. This configuration is written as code (Python/YAML) and it's highly recommended that teams track it centrally using git. See Feature Repository for a detailed explanation of feature repositories.
The easiest way to create a new feature repository to use feast init
command:
The init
command creates a Python file with feature definitions, sample data, and a Feast configuration file for local development:
Enter the directory:
You can now use this feature repository for development. You can try the following:
Run
feast apply
to apply these definitions to Feast.Edit the example feature definitions in
example.py
and runfeast apply
again to change feature definitions.Initialize a git repository in the same directory and checking the feature repository into version control.