mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Update docs to configure khoj.yml for using OpenAI model for embeddings
This commit is contained in:
parent
a0d0dbaca7
commit
9cfaaf0941
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ pip install --upgrade --pre khoj-assistant
|
||||||
asymmetric:
|
asymmetric:
|
||||||
- encoder: "sentence-transformers/multi-qa-MiniLM-L6-cos-v1"
|
- encoder: "sentence-transformers/multi-qa-MiniLM-L6-cos-v1"
|
||||||
+ encoder: text-embedding-ada-002
|
+ 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"
|
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
|
||||||
- encoder-type: sentence_transformers.SentenceTransformer
|
- encoder-type: sentence_transformers.SentenceTransformer
|
||||||
- model_directory: "~/.khoj/search/asymmetric/"
|
- model_directory: "~/.khoj/search/asymmetric/"
|
||||||
|
|
Loading…
Reference in a new issue