moriire commited on
Commit
38986b4
·
verified ·
1 Parent(s): 0aeb705

Update app/llm.py

Browse files
Files changed (1) hide show
  1. app/llm.py +1 -1
app/llm.py CHANGED
@@ -48,7 +48,7 @@ class RagChat:
48
  return chain.invoke({"context": self.search(question), "question": question})
49
 
50
  def search(self, question):
51
- docs = vectorstore.similarity_search(question)
52
  return docs
53
 
54
 
 
48
  return chain.invoke({"context": self.search(question), "question": question})
49
 
50
  def search(self, question):
51
+ docs = self.download_embedding().similarity_search(question)
52
  return docs
53
 
54