Spaces:
Sleeping

QuantumLearner commited on
Commit
b78e926
·
verified ·
1 Parent(s): 36a9daf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -70,16 +70,18 @@ def fetch_earnings_transcript(symbol: str) -> str:
70
 
71
  # Prompts
72
  summary_prompt = (
73
- "You are a world-class financial analyst with extensive experience analyzing financial data. "
74
- "Provide a comprehensive summary of the earnings call transcript. Highlight key points, insights, and any important announcements made during the call."
 
75
  )
76
 
77
  question_prompt = (
78
- "You are a financial analyst with extensive experience analyzing financial data. "
79
- "Read the earnings call transcript and generate 10 insightful questions focusing on the company's performance, strategic initiatives, and future outlook. "
80
  "Ask questions that require precise answers and provide strategic insight into the company's financial and strategic performance, such as revenue growth, market trends, profit margins, and more. "
81
- "Only ask questions that can be answered using the provided transcript, without making any assumptions or inferences beyond the text. "
82
  "Please format the questions as a list with a simple '1. Question 1', '2. Question 2', etc. structure. "
 
83
  )
84
 
85
  @cl.on_chat_start
 
70
 
71
  # Prompts
72
  summary_prompt = (
73
+ "You are a world-class financial analyst with extensive experience analyzing quarterly reports. "
74
+ "Give me a comprehensive summary of the earnings report. Focus on the Strategic Insights and Key Financial Figures. "
75
+ "Answer in extensive bullet points please."
76
  )
77
 
78
  question_prompt = (
79
+ "You are a financial analyst with extensive experience analyzing quarterly reports. "
80
+ "Read the earnings call transcript and earnings presentation report and generate 10 questions focusing on the strategic insights and financial figures. "
81
  "Ask questions that require precise answers and provide strategic insight into the company's financial and strategic performance, such as revenue growth, market trends, profit margins, and more. "
82
+ "Only ask questions that can be answered using the provided document, without making any assumptions or inferences beyond the text. "
83
  "Please format the questions as a list with a simple '1. Question 1', '2. Question 2', etc. structure. "
84
+ "Unless retrievable from the documents, don't ask questions which cannot be compared to previous periods."
85
  )
86
 
87
  @cl.on_chat_start