Dev Goyal commited on
Commit ·
9081085
1
Parent(s): 25d293a
feat: add fallback instruction for cases where only management commentary is present
Browse files- core/earnings_tools.py +1 -0
core/earnings_tools.py
CHANGED
|
@@ -509,6 +509,7 @@ def get_earnings_sentiment_divergence(ticker: str) -> str:
|
|
| 509 |
"the Management Commentary and Analyst Q&A sections. Note any divergence "
|
| 510 |
"where management was more cautious, evasive, or forthcoming under questioning."
|
| 511 |
)
|
|
|
|
| 512 |
output += (
|
| 513 |
"\nINSTRUCTION: Analyze the tone, confidence, and specificity of the "
|
| 514 |
"management commentary above. (Note: Only management commentary was found, typical of SEC 8-K filings). "
|
|
|
|
| 509 |
"the Management Commentary and Analyst Q&A sections. Note any divergence "
|
| 510 |
"where management was more cautious, evasive, or forthcoming under questioning."
|
| 511 |
)
|
| 512 |
+
else:
|
| 513 |
output += (
|
| 514 |
"\nINSTRUCTION: Analyze the tone, confidence, and specificity of the "
|
| 515 |
"management commentary above. (Note: Only management commentary was found, typical of SEC 8-K filings). "
|