Skip to content

Commit 7fa4bbf

Browse files
franciscojavierarceokevjumba
authored andcommitted
fix: Updated quickstart notebook to patch an incorrect reference to an outdated featureview name (#3271)
Signed-off-by: Francisco Javier Arceo <[email protected]> Signed-off-by: Francisco Javier Arceo <[email protected]>
1 parent f4a83a7 commit 7fa4bbf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/quickstart/quickstart.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
"\n",
513513
"# This groups features into a model version\n",
514514
"driver_stats_fs = FeatureService(\n",
515-
" name=\"driver_activity\", features=[driver_hourly_stats_view, transformed_conv_rate]\n",
515+
" name=\"driver_activity_v1\", features=[driver_hourly_stats_view, transformed_conv_rate]\n",
516516
")\n",
517517
"```"
518518
]
@@ -547,7 +547,7 @@
547547
"Created entity \u001b[1m\u001b[32mdriver\u001b[0m\n",
548548
"Created feature view \u001b[1m\u001b[32mdriver_hourly_stats\u001b[0m\n",
549549
"Created on demand feature view \u001b[1m\u001b[32mtransformed_conv_rate\u001b[0m\n",
550-
"Created feature service \u001b[1m\u001b[32mdriver_activity\u001b[0m\n",
550+
"Created feature service \u001b[1m\u001b[32mdriver_activity_v1\u001b[0m\n",
551551
"\n",
552552
"Created sqlite table \u001b[1m\u001b[32mfeature_repo_driver_hourly_stats\u001b[0m\n",
553553
"\n"
@@ -942,11 +942,11 @@
942942
"### Fetching features using feature services\n",
943943
"You can also use feature services to manage multiple features, and decouple feature view definitions and the features needed by end applications. The feature store can also be used to fetch either online or historical features using the same api below. More information can be found [here](https://docs.feast.dev/getting-started/concepts/feature-retrieval).\n",
944944
"\n",
945-
" The `driver_activity` feature service pulls all features from the `driver_hourly_stats` feature view:\n",
945+
" The `driver_activity_v1` feature service pulls all features from the `driver_hourly_stats` feature view:\n",
946946
"\n",
947947
"```python\n",
948948
"driver_stats_fs = FeatureService(\n",
949-
" name=\"driver_activity\", features=[driver_hourly_stats_view]\n",
949+
" name=\"driver_activity_v1\", features=[driver_hourly_stats_view]\n",
950950
")\n",
951951
"```"
952952
]
@@ -979,7 +979,7 @@
979979
"from feast import FeatureStore\n",
980980
"feature_store = FeatureStore('.') # Initialize the feature store\n",
981981
"\n",
982-
"feature_service = feature_store.get_feature_service(\"driver_activity\")\n",
982+
"feature_service = feature_store.get_feature_service(\"driver_activity_v1\")\n",
983983
"feature_vector = feature_store.get_online_features(\n",
984984
" features=feature_service,\n",
985985
" entity_rows=[\n",
@@ -1101,4 +1101,4 @@
11011101
},
11021102
"nbformat": 4,
11031103
"nbformat_minor": 0
1104-
}
1104+
}

0 commit comments

Comments
 (0)