Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def chatresponse(message, history):
|
|
63 |
|
64 |
from langchain_core.runnables import RunnablePassthrough
|
65 |
rag_chain = (
|
66 |
-
{"context":
|
67 |
| prompt
|
68 |
| llm
|
69 |
| StrOutputParser()
|
|
|
63 |
|
64 |
from langchain_core.runnables import RunnablePassthrough
|
65 |
rag_chain = (
|
66 |
+
{"context": history, "question": RunnablePassthrough()}
|
67 |
| prompt
|
68 |
| llm
|
69 |
| StrOutputParser()
|