You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The retrieveEnsemble method focusses only on the long_text key. It ignores any other keys provided along with long_text key. I have a custom retriever that returns some metadata along with long_text. retrieveEnsemble should "pass through" this metadata all the way till self.retrieve(question). I mean self.retrieve(question) should return an object that has both passages and metadata keys. While passages can be used to provide the context to the LLM, metadata can be used by the consumer in whichever way he wants to.
Is there a way to achieve this other than overriding the retrieveEnsemble method?
AriMKatz, philipkd, kevon217, ConnorDoyle and domci