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
I use a chromadb retriever. Chromadb itself returns the entire node with content and all metadata attributes. But once the code runs through search.py, only longtext is kept, and all metadata are lost.
That's a heavy loss. The metadata potentially contains lots information that the client caller is looking for.
Can this be re-architected so that the metadata attributes are returned when calling dspy.Retrieve()?
The text was updated successfully, but these errors were encountered:
indeed I see that options now. But I ran into a new error complaining there is no re-ranker. This appears to be illogical code.
dsp/primitive/search.py :119
if not dsp.settings.reranker:
return retrieveRerankEnsemblewithMetadata(queries=queries,k=k)
why is this forcing a call to retrieveRerankEnsemblewithMetadata when the caller is NOT feeding a reranker. Shouldn't this be
if dsp.settings.reranker:
return retrieveRerankEnsemblewithMetadata(queries=queries,k=k)
I use a chromadb retriever. Chromadb itself returns the entire node with content and all metadata attributes. But once the code runs through search.py, only longtext is kept, and all metadata are lost.
That's a heavy loss. The metadata potentially contains lots information that the client caller is looking for.
Can this be re-architected so that the metadata attributes are returned when calling dspy.Retrieve()?
The text was updated successfully, but these errors were encountered: