dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Fix `long_text` key problem with RMs

Open CShorten opened this issue 11 months ago • 2 comments

Draft, started with changing

dsp.retrieveEnsemble to dsp.settings.rm

in calls to dspy.Retrieve

=== TODO ==

I now need to remove the long_text key from all the RMs

=== RELATED PROJECT TODO (interface metadata with retrieval) ===

I then need to see how the [1], [2] is formatted in the Signatures when passing in the output from Retrieval. I think this should be self-contained in the Signatures.

CShorten avatar Mar 05 '24 18:03 CShorten

We're seeing that issue, even with RMs - Issue https://github.com/stanfordnlp/dspy/issues/166

If it helps - the current workaround i am using is https://github.com/stanfordnlp/dspy/pull/486 - but I'm not sure if its the best way forward.

koshyviv avatar Mar 06 '24 05:03 koshyviv

@CShorten Sorry, I was not able to comprehend the issue here. Can you please elaborate more on it?

Athe-kunal avatar Apr 03 '24 03:04 Athe-kunal