reab5555 commited on
Commit
86c1fa0
·
verified ·
1 Parent(s): b88e12c

Update processing.py

Browse files
Files changed (1) hide show
  1. processing.py +1 -1
processing.py CHANGED
@@ -34,7 +34,7 @@ faiss_index.save_local("faiss_index")
34
  # faiss_index = FAISS.load_local("faiss_index", embedding_model)
35
 
36
  # Load the LLM using llm_loader.py
37
- llm = load_model(openai_api_key) # Assuming load_model function takes the API key as an argument
38
 
39
  # Initialize the retrieval chain
40
  qa_chain = RetrievalQA(llm=llm, retriever=faiss_index.as_retriever())
 
34
  # faiss_index = FAISS.load_local("faiss_index", embedding_model)
35
 
36
  # Load the LLM using llm_loader.py
37
+ llm = load_model(openai_api_key) # Load the model using your custom loader
38
 
39
  # Initialize the retrieval chain
40
  qa_chain = RetrievalQA(llm=llm, retriever=faiss_index.as_retriever())