Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 74 |
-
"
|
|
|
|
| 75 |
)
|
| 76 |
|
| 77 |
question_prompt = (
|
| 78 |
-
"You are a financial analyst with extensive experience analyzing
|
| 79 |
-
"Read the earnings call transcript and generate 10
|
| 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
|
| 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
|