dspy
dspy copied to clipboard
Add unit test for dspy.retrievers.Embeddings
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.
Hey @chenmoneygithub , can I pick this up?
@Krishn1412 assigned to you!
@chenmoneygithub Can you please take a look?PR
This should be closed by https://github.com/stanfordnlp/dspy/pull/8129