Harsh2001 commited on
Commit
e26e5b2
·
verified ·
1 Parent(s): e574adf

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -80,7 +80,7 @@ conversation_history = []
80
 
81
  def get_answer(query):
82
  global conversation_history
83
- similar_docs = get_similar_docs(query, 10, all_splits, embeddings)
84
 
85
  conversation_history.append(Document(page_content=query))
86
 
 
80
 
81
  def get_answer(query):
82
  global conversation_history
83
+ similar_docs = get_similar_docs(query, 10, documents, embeddings)
84
 
85
  conversation_history.append(Document(page_content=query))
86