Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dspy.Embedding for KNN #1822

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Use dspy.Embedding for KNN #1822

merged 2 commits into from
Nov 19, 2024

Conversation

CyrusNuevoDia
Copy link
Collaborator

Simple PR to make KNN compatible with the new dspy.Embedding class that features caching for LiteLLM embeddings

@okhat okhat merged commit 76a9b27 into main Nov 19, 2024
4 checks passed
isaacbmiller pushed a commit that referenced this pull request Dec 11, 2024
* Use dspy.Embedding for KNN

* Remove type from KNNFewShot

---------

Co-authored-by: Cyrus Nouroozi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants