Update utils.py
Browse files
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,
|
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 |
|