Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ qa_prompt = ChatPromptTemplate.from_messages(
|
|
141 |
]
|
142 |
)
|
143 |
|
144 |
-
document_prompt = PromptTemplate(input_variables=["page_content"
|
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
|