hash-map commited on
Commit
9e28279
·
verified ·
1 Parent(s): c2c9dd8

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +1 -1
rag.py CHANGED
@@ -4,7 +4,7 @@ from langchain.embeddings import HuggingFaceEmbeddings
4
  from langchain.vectorstores import FAISS
5
  from langchain.llms import Ollama
6
  db = FAISS.load_local(
7
- folder_path="got_embeddings",
8
  embeddings=HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2"),
9
  allow_dangerous_deserialization=True
10
  )
 
4
  from langchain.vectorstores import FAISS
5
  from langchain.llms import Ollama
6
  db = FAISS.load_local(
7
+ folder_path="./",
8
  embeddings=HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2"),
9
  allow_dangerous_deserialization=True
10
  )