Update app/llm.py
Browse files- 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 =
|
| 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 |
|