How do name a connector so you have have 2 upstream connector to the same downstream connector? #9003
Replies: 2 comments
-
If I just use BM25 with the sentence window, then the graph looks like this..
|
Beta Was this translation helpful? Give feedback.
-
Hi @ringofhealth you could create a second instance of rag_pipeline.add_component(
"sentence_window_retriever_2",
SentenceWindowRetriever(document_store=document_store, window_size=1),
) which you can then use in your pipeline. As an alternative you could use a |
Beta Was this translation helpful? Give feedback.
-
I have 2 retrievers,
BM25 and Embedding retrievers. I would like to connect both of them each to a sentence_window_retriever, then with a document joiner so we can select the best results.
in my mind it goes
BM25 -> Sentence--------> Document Joiner(the same instance)
Embedding -> Sentence --> Document Joiner(same Instance)
given this code
i mean this error makes sense.. but how do I actually do what I want to do?
Beta Was this translation helpful? Give feedback.
All reactions