From 0440f3fd57b1cf0d9080cdcde494e7d76702e55c Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 8 Jan 2023 22:07:13 -0300 Subject: [PATCH] Add encoder-type field to the search-type sections in khoj_sample.yml --- config/khoj_sample.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/khoj_sample.yml b/config/khoj_sample.yml index e6ba8b8e..e6838b8c 100644 --- a/config/khoj_sample.yml +++ b/config/khoj_sample.yml @@ -35,15 +35,18 @@ search-type: symmetric: encoder: "sentence-transformers/all-MiniLM-L6-v2" cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2" + encoder-type: sentence_transformers.SentenceTransformer model_directory: "~/.khoj/search/symmetric/" asymmetric: encoder: "sentence-transformers/multi-qa-MiniLM-L6-cos-v1" cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2" + encoder-type: sentence_transformers.SentenceTransformer model_directory: "~/.khoj/search/asymmetric/" image: encoder: "sentence-transformers/clip-ViT-B-32" + encoder-type: sentence_transformers.SentenceTransformer model_directory: "~/.khoj/search/image/" processor: