Namitg02 commited on
Commit
f4b0e4e
·
verified ·
1 Parent(s): b789e0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ READER_MODEL="HuggingFaceH4/zephyr-7b-beta"
73
 
74
  #retrieval_qa_chat_prompt = hub.pull("langchain-ai/retrieval-qa-chat")
75
 
76
- qa_chat_prompt = ChatPromptTemplate.from_template("""Answer the following question based only on the provided context:
77
 
78
  <context>
79
  {context}
 
73
 
74
  #retrieval_qa_chat_prompt = hub.pull("langchain-ai/retrieval-qa-chat")
75
 
76
+ qa_chat_prompt = ChatPromptTemplate.from_messages("""Answer the following question based only on the provided context:
77
 
78
  <context>
79
  {context}