Skip to content

Commit f2674ee

Browse files
authored
Correct an import in Tutorial 39: ...TextEmbedder -> ...DocumentEmbedder (#340)
1 parent a9573af commit f2674ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/39_Embedding_Metadata_for_Improved_Retrieval.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"For example, the embedder below will be embedding the \"url\" field as well as the contents of documents:\n",
161161
"\n",
162162
"```python\n",
163-
"from haystack.components.embedders import SentenceTransformersTextEmbedder\n",
163+
"from haystack.components.embedders import SentenceTransformersDocumentEmbedder\n",
164164
"\n",
165165
"embedder = SentenceTransformersDocumentEmbedder(meta_fields_to_embed=[\"url\"])\n",
166166
"```"

0 commit comments

Comments
 (0)