Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ if ticker_user!="":
|
|
67 |
llm_prompt_template = """You are an expert Stock Market Trader specializing in stock market insights derived from fundamental analysis, analytical trends, profit-based evaluations, and detailed company financials. Using your expertise, please analyze the stock based on the provided context below.
|
68 |
|
69 |
Context:
|
70 |
-
{
|
71 |
|
72 |
Task:
|
73 |
Summarize the stock based on its historical and current data.
|
@@ -229,7 +229,7 @@ if ticker_user!="":
|
|
229 |
|
230 |
st.write(stuff_chain.input_keys)
|
231 |
# res = stuff_chain.invoke(docs)
|
232 |
-
res = stuff_chain.invoke({"
|
233 |
#create the humanmassage propmt templete with the image file
|
234 |
# hmessage = HumanMessage(
|
235 |
# content=[
|
|
|
67 |
llm_prompt_template = """You are an expert Stock Market Trader specializing in stock market insights derived from fundamental analysis, analytical trends, profit-based evaluations, and detailed company financials. Using your expertise, please analyze the stock based on the provided context below.
|
68 |
|
69 |
Context:
|
70 |
+
{input_documents}
|
71 |
|
72 |
Task:
|
73 |
Summarize the stock based on its historical and current data.
|
|
|
229 |
|
230 |
st.write(stuff_chain.input_keys)
|
231 |
# res = stuff_chain.invoke(docs)
|
232 |
+
res = stuff_chain.invoke({"input_documents": docs})
|
233 |
#create the humanmassage propmt templete with the image file
|
234 |
# hmessage = HumanMessage(
|
235 |
# content=[
|