Update docs to configure khoj.yml for using OpenAI model for embeddings

This commit is contained in:
Debanjum Singh Solanky 2023-05-28 10:20:26 +05:30
parent a0d0dbaca7
commit 9cfaaf0941

View file

@ -273,7 +273,7 @@ pip install --upgrade --pre khoj-assistant
asymmetric:
- encoder: "sentence-transformers/multi-qa-MiniLM-L6-cos-v1"
+ encoder: text-embedding-ada-002
+ encoder-type: src.khoj.utils.models.OpenAI
+ encoder-type: khoj.utils.models.OpenAI
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
- encoder-type: sentence_transformers.SentenceTransformer
- model_directory: "~/.khoj/search/asymmetric/"