Ask a question to get started
Enter to send•Shift+Enter new line
SVMRetriever()
BaseRetriever
Embeddings model to use.
Index of embeddings.
List of texts to index.
List of metadatas corresponding with each text.
Number of results to return.
Threshold for relevancy.
SVM retriever.
SVM
Largely based on https://github.com/karpathy/randomfun/blob/master/knn_vs_svm.ipynb