"Finally, we will use [Featureform](https://github.com/featureform/featureform) an open-source and enterprise-grade feature store to run the same example. Featureform allows you to work with your infrastructure like Spark or locally to define your feature transformations."
]
},
{
"cell_type": "markdown",
"id": "44320d68",
"metadata": {},
"source": [
"### Initialize Featureform\n",
"\n",
"You can follow in the instructions in the README to initialize your transformations and features in Featureform."
"Here we will set up a custom FeatureformPromptTemplate. This prompt template will take in the average amount a user pays per transactions.\n",
"\n",
"Note that the input to this prompt template is just avg_transaction, since that is the only user defined piece (all other variables are looked up inside the prompt template)."
"template = \"\"\"Given the amount a user spends on average per transaction, let them know if they are a high roller. Otherwise, make a silly joke about chickens at the end to make them feel better\n",
"\n",
"Here are the user's stats:\n",
"Average Amount per Transaction: ${avg_transcation}\n",