rajat5ranjan commited on
Commit
fe90eb6
·
verified ·
1 Parent(s): eb6a0e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -225,7 +225,7 @@ if ticker_user!="":
225
  llm_prompt = PromptTemplate.from_template(llm_prompt_template)
226
 
227
  llm_chain = LLMChain(llm=llm,prompt=llm_prompt)
228
- stuff_chain = StuffDocumentsChain(llm_chain=llm_chain,document_variable_name="context")
229
 
230
  st.write(stuff_chain.input_keys)
231
  # res = stuff_chain.invoke(docs)
 
225
  llm_prompt = PromptTemplate.from_template(llm_prompt_template)
226
 
227
  llm_chain = LLMChain(llm=llm,prompt=llm_prompt)
228
+ stuff_chain = StuffDocumentsChain(llm_chain=llm_chain,document_variable_name="input_documents")
229
 
230
  st.write(stuff_chain.input_keys)
231
  # res = stuff_chain.invoke(docs)