diff --git a/advanced_tutorials/recommender-system/3_embeddings_creation.ipynb b/advanced_tutorials/recommender-system/3_embeddings_creation.ipynb index 7075f0d4..124eaffb 100644 --- a/advanced_tutorials/recommender-system/3_embeddings_creation.ipynb +++ b/advanced_tutorials/recommender-system/3_embeddings_creation.ipynb @@ -222,7 +222,10 @@ "source": [ "## 🪄 Feature Group Creation \n", "\n", - "Now to are ready to create a feature group for your candidate embeddings" + "Now you are ready to create a feature group for your candidate embeddings.\n", + "\n", + "To begin with, you need to create your Embedding Index where you will specify the name of the embeddings feature and the embeddings length.\n", + "Then you attach this index to the FG." ] }, { @@ -237,8 +240,8 @@ "emb = embedding.EmbeddingIndex()\n", "\n", "emb.add_embedding(\n", - " \"embeddings\", \n", - " len(data_emb[\"embeddings\"].iloc[0]),\n", + " \"embeddings\", # Embeddings feature name\n", + " len(data_emb[\"embeddings\"].iloc[0]), # Embeddings length\n", ")" ] }, @@ -251,7 +254,7 @@ "# Get or create the 'candidate_embeddings_fg' feature group\n", "candidate_embeddings_fg = fs.get_or_create_feature_group(\n", " name=\"candidate_embeddings_fg\",\n", - " embedding_index=emb,\n", + " embedding_index=emb, # Specify the Embedding Index\n", " primary_key=['article_id'],\n", " version=1,\n", " description='Embeddings for each article',\n",