reab5555 commited on
Commit
f497377
·
verified ·
1 Parent(s): 3e44709

Update processing.py

Browse files
Files changed (1) hide show
  1. processing.py +1 -1
processing.py CHANGED
@@ -35,7 +35,7 @@ for key, file_path in knowledge_files.items():
35
  text_faiss_index = FAISS.from_texts(documents, embedding_model)
36
 
37
  # Load pre-existing FAISS indexes
38
- attachments_faiss_index = FAISS.load_local("knowledge/faiss_index_Attachment_db", embedding_model, allow_dangerous_deserialization=True)
39
  personalities_faiss_index = FAISS.load_local("knowledge/faiss_index_Personalities_db", embedding_model, allow_dangerous_deserialization=True)
40
 
41
  # Initialize LLM
 
35
  text_faiss_index = FAISS.from_texts(documents, embedding_model)
36
 
37
  # Load pre-existing FAISS indexes
38
+ attachments_faiss_index = FAISS.load_local("knowledge/faiss_index_Attachments_db", embedding_model, allow_dangerous_deserialization=True)
39
  personalities_faiss_index = FAISS.load_local("knowledge/faiss_index_Personalities_db", embedding_model, allow_dangerous_deserialization=True)
40
 
41
  # Initialize LLM