Update app1.py
Browse files
app1.py
CHANGED
@@ -268,7 +268,7 @@ if query:
|
|
268 |
|
269 |
response_chain = LLMChain(llm=rag_llm,prompt=final_prompt,output_key="final_response")
|
270 |
|
271 |
-
response =
|
272 |
|
273 |
# Orchestrate using SequentialChain
|
274 |
context_management_chain = SequentialChain(
|
|
|
268 |
|
269 |
response_chain = LLMChain(llm=rag_llm,prompt=final_prompt,output_key="final_response")
|
270 |
|
271 |
+
response = response_chain.invoke({"query":query,"context":contexts['relevant_contexts']})
|
272 |
|
273 |
# Orchestrate using SequentialChain
|
274 |
context_management_chain = SequentialChain(
|