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
What is the expected behaviour here when we have something like queries=['Hello\n can I have some RAG help?']? Because of the above line, DSPy will remap the list to
queries= ['Hello']
which would then impact retrieval.
The text was updated successfully, but these errors were encountered:
Hey @kgourgou ! Good catch. This is worth fixing as part of #1739
kgourgou
changed the title
Expected behaviour of retrieval when using a single query with one more line breaks?
Expected behaviour of retrieval when using a single query with a line break?
Nov 18, 2024
Thanks for raising this @kgourgou ! As we migrate to using the dspy.Retriever interface in #1739 , we will support custom retriever composability to avoid such hard-coded behavior!
A colleague discovered this line in DSPy that is a bit sus.
https://github.com/stanfordnlp/dspy/blob/332d4c31cf9f101682e386fb488c56a724b4239d/dspy/retrieve/retrieve.py#L70C9-L70C78
What is the expected behaviour here when we have something like
queries=['Hello\n can I have some RAG help?']
? Because of the above line, DSPy will remap the list towhich would then impact retrieval.
The text was updated successfully, but these errors were encountered: