Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updated quickstart notebook to patch an incorrect reference to an outdated featureview name #3271

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/quickstart/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
"\n",
"# This groups features into a model version\n",
"driver_stats_fs = FeatureService(\n",
" name=\"driver_activity\", features=[driver_hourly_stats_view, transformed_conv_rate]\n",
" name=\"driver_activity_v1\", features=[driver_hourly_stats_view, transformed_conv_rate]\n",
")\n",
"```"
]
Expand Down Expand Up @@ -547,7 +547,7 @@
"Created entity \u001b[1m\u001b[32mdriver\u001b[0m\n",
"Created feature view \u001b[1m\u001b[32mdriver_hourly_stats\u001b[0m\n",
"Created on demand feature view \u001b[1m\u001b[32mtransformed_conv_rate\u001b[0m\n",
"Created feature service \u001b[1m\u001b[32mdriver_activity\u001b[0m\n",
"Created feature service \u001b[1m\u001b[32mdriver_activity_v1\u001b[0m\n",
"\n",
"Created sqlite table \u001b[1m\u001b[32mfeature_repo_driver_hourly_stats\u001b[0m\n",
"\n"
Expand Down Expand Up @@ -942,11 +942,11 @@
"### Fetching features using feature services\n",
"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",
"\n",
" The `driver_activity` feature service pulls all features from the `driver_hourly_stats` feature view:\n",
" The `driver_activity_v1` feature service pulls all features from the `driver_hourly_stats` feature view:\n",
"\n",
"```python\n",
"driver_stats_fs = FeatureService(\n",
" name=\"driver_activity\", features=[driver_hourly_stats_view]\n",
" name=\"driver_activity_v1\", features=[driver_hourly_stats_view]\n",
")\n",
"```"
]
Expand Down Expand Up @@ -979,7 +979,7 @@
"from feast import FeatureStore\n",
"feature_store = FeatureStore('.') # Initialize the feature store\n",
"\n",
"feature_service = feature_store.get_feature_service(\"driver_activity\")\n",
"feature_service = feature_store.get_feature_service(\"driver_activity_v1\")\n",
"feature_vector = feature_store.get_online_features(\n",
" features=feature_service,\n",
" entity_rows=[\n",
Expand Down Expand Up @@ -1101,4 +1101,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}