Commit
·
3e0098b
1
Parent(s):
b0ab817
Added Cache Folder
Browse files
src/indexing/build_indexes.py
CHANGED
@@ -37,6 +37,7 @@ def load_embedding_model():
|
|
37 |
encode_kwargs={
|
38 |
"normalize_embeddings": True
|
39 |
}, # set True to compute cosine similarity
|
|
|
40 |
)
|
41 |
|
42 |
# To get the value of the max sequence_length, we will query the underlying `SentenceTransformer` object used in the RecursiveCharacterTextSplitter.
|
|
|
37 |
encode_kwargs={
|
38 |
"normalize_embeddings": True
|
39 |
}, # set True to compute cosine similarity
|
40 |
+
cache_folder="./.cache"
|
41 |
)
|
42 |
|
43 |
# To get the value of the max sequence_length, we will query the underlying `SentenceTransformer` object used in the RecursiveCharacterTextSplitter.
|