dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Add unit test for dspy.retrievers.Embeddings

Open chenmoneygithub opened this issue 7 months ago • 3 comments

The code is located at dspy/retrievers/embeddings.py, which is a retriever implemented based on Faiss. We should add unit test for it.

We can use local function to compute the embedding so that the test is able to run on github actions.

chenmoneygithub avatar Apr 25 '25 23:04 chenmoneygithub

Hey @chenmoneygithub , can I pick this up?

Krishn1412 avatar Apr 26 '25 12:04 Krishn1412

@Krishn1412 assigned to you!

chenmoneygithub avatar Apr 26 '25 21:04 chenmoneygithub

@chenmoneygithub Can you please take a look?PR

Krishn1412 avatar Apr 27 '25 19:04 Krishn1412

This should be closed by https://github.com/stanfordnlp/dspy/pull/8129

ishaan-mehta avatar Jun 10 '25 16:06 ishaan-mehta