Update app.py
Browse files
app.py
CHANGED
@@ -225,10 +225,10 @@ 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
|
229 |
|
230 |
-
|
231 |
-
res = stuff_chain.invoke(docs)
|
232 |
|
233 |
#create the humanmassage propmt templete with the image file
|
234 |
# hmessage = HumanMessage(
|
|
|
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)
|
229 |
|
230 |
+
st.write(stuff_chain.input_keys)
|
231 |
+
res = stuff_chain.invoke({"context": docs})
|
232 |
|
233 |
#create the humanmassage propmt templete with the image file
|
234 |
# hmessage = HumanMessage(
|