Spaces:
Runtime error
Runtime error
Update auditqa/engine/vectorstore.py
Browse files
auditqa/engine/vectorstore.py
CHANGED
@@ -6,7 +6,7 @@ from dotenv import load_dotenv
|
|
6 |
import os
|
7 |
|
8 |
provider_retrieval_model = "HF"
|
9 |
-
embeddingmodel = "
|
10 |
load_dotenv()
|
11 |
HF_Token = os.environ.get("HF_TOKEN")
|
12 |
client_path = f"./vectorstore"
|
@@ -22,7 +22,7 @@ def create_vectorstore(docs):
|
|
22 |
api_key=HF_Token, model_name=embeddingmodel
|
23 |
)
|
24 |
|
25 |
-
dim =
|
26 |
|
27 |
|
28 |
|
|
|
6 |
import os
|
7 |
|
8 |
provider_retrieval_model = "HF"
|
9 |
+
embeddingmodel = "sentence-transformers/all-MiniLM-l6-v2"
|
10 |
load_dotenv()
|
11 |
HF_Token = os.environ.get("HF_TOKEN")
|
12 |
client_path = f"./vectorstore"
|
|
|
22 |
api_key=HF_Token, model_name=embeddingmodel
|
23 |
)
|
24 |
|
25 |
+
dim = 384
|
26 |
|
27 |
|
28 |
|