Spaces:
Build error
Build error
alen commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def respond(message, history, system_message, path_document):
|
|
| 43 |
prompt = ChatPromptTemplate.from_template(template)
|
| 44 |
|
| 45 |
rag_chain = (
|
| 46 |
-
{"
|
| 47 |
| prompt
|
| 48 |
| llm
|
| 49 |
)
|
|
|
|
| 43 |
prompt = ChatPromptTemplate.from_template(template)
|
| 44 |
|
| 45 |
rag_chain = (
|
| 46 |
+
{"content": retriever, "question": RunnablePassthrough()}
|
| 47 |
| prompt
|
| 48 |
| llm
|
| 49 |
)
|