Firestore
Featureform supports Firestore as an Inference Store.
Implementation
A Firestore document is created for every feature, within the same collection. Variants of features have separate documents. Each document maps entities to their feature value. A metadata table is stored in the same Firestore collection as well to allow the provider to keep track of its own state. Featureform’s scheduler aims to achieve consistency between Firestore’s internal state with the user’s desired state as specified in the metadata service.
Configuration
First we have to add a declarative Firestore configuration in Python. In the following example, only name and credentials are required, but the other parameters are available. Note: “credentials” refers to the file location of the Firestore Configuration (.json).
Once our config file is complete, we can apply it to our Featureform deployment
We can re-verify that the provider is created by checking the Providers tab of the Feature Registry.
Mutable Configuration Fields
-
description
-
credentials