Spaces:
Sleeping
Sleeping
Sandaruth
commited on
Commit
•
12d9740
1
Parent(s):
b79836f
update model.py file
Browse files
model.py
CHANGED
@@ -34,9 +34,9 @@ splitter = RecursiveCharacterTextSplitter(
|
|
34 |
|
35 |
from langchain_community.vectorstores import FAISS
|
36 |
|
37 |
-
|
38 |
|
39 |
-
vectorstore= FAISS.load_local(
|
40 |
|
41 |
# Define a custom prompt for Unser manual
|
42 |
from langchain.prompts import PromptTemplate
|
|
|
34 |
|
35 |
from langchain_community.vectorstores import FAISS
|
36 |
|
37 |
+
persits_directory="./faiss_Test02_500_C_BGE_large"
|
38 |
|
39 |
+
vectorstore= FAISS.load_local(persits_directory, embedding)
|
40 |
|
41 |
# Define a custom prompt for Unser manual
|
42 |
from langchain.prompts import PromptTemplate
|