Replies: 1 comment
-
Sounds like something is off either an incorrect API endpoint or a misconfiguration in your elasticsearch setup. Let me ask a colleague who is more familiar with elasticsearch for an advice here cc @silvanocerza |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. Please help!
Using Haystack 2.0, I have built a RAG pipeline that works without error when I use either InMemoryDocumentStore with InMemoryBM25Retreiver or with ElasticsearchDocumentStore with ElasticsearchBM25Retriever. The issue is, I want more robust results for slightly more nuanced retrieval so I'm trying to implement a hybrid retrieval pipeline as such:
initialized:
first, I initialize:
(I also define my template and context for the prompt generator)
Then, i build my pipelines:
Indexing:
Now, I manage my conversational/context history and launch the UI with gradio:
I receive the following error with this set up:
Is something misconfigured in my pipeline? I am dynamically mapping the ES index, and like I said it worked with sparse retrieval, but the integration of hybrid retrieval shows 'Unknown key for a START_OBJECT in [knn].
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions