alen commited on
Commit
4fbf959
·
verified ·
1 Parent(s): 1826231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- {"context": retriever, "question": RunnablePassthrough()}
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
  )