dspy
dspy copied to clipboard
Clean up knn related functionalities a bit
Clean up predict/knn
and teleprompt/knn_fewshot
:
- Added a optional
vectorizer
instead of using hardcodedSentenceTransformer
one - Clean up constructor a bit