Ritesh-hf commited on
Commit
5a3b61f
·
verified ·
1 Parent(s): 19575d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ qa_prompt = ChatPromptTemplate.from_messages(
141
  ]
142
  )
143
 
144
- document_prompt = PromptTemplate(input_variables=["page_content", "source"], template="{page_content} \n\n Source: {source}")
145
  question_answer_chain = create_stuff_documents_chain(llm, qa_prompt, document_prompt=document_prompt)
146
 
147
  # Retrieval and Generative (RAG) Chain
 
141
  ]
142
  )
143
 
144
+ document_prompt = PromptTemplate(input_variables=["page_content"], template="{page_content}")
145
  question_answer_chain = create_stuff_documents_chain(llm, qa_prompt, document_prompt=document_prompt)
146
 
147
  # Retrieval and Generative (RAG) Chain