diff --git a/integrations/pgvector/examples/hybrid_retrieval.py b/integrations/pgvector/examples/hybrid_retrieval.py index fa3a13177..cee98fe08 100644 --- a/integrations/pgvector/examples/hybrid_retrieval.py +++ b/integrations/pgvector/examples/hybrid_retrieval.py @@ -43,7 +43,7 @@ indexing.add_component("document_embedder", SentenceTransformersDocumentEmbedder()) indexing.add_component("writer", DocumentWriter(document_store)) indexing.connect("converter", "splitter") -indexing.connect("splitter", "embedder") +indexing.connect("splitter", "document_embedder") indexing.connect("document_embedder", "writer") indexing.run({"converter": {"sources": file_paths}})