Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -214,7 +214,9 @@ Incorporate relevant TradeSmith indicators, explaining what they suggest about t
|
|
| 214 |
[Prediction & Reasoning]:
|
| 215 |
Provide a well-reasoned prediction for the stock's future 21 day performance. If a Predictive Alpha prediction was provided, use that as your prediction, supported by your analysis. Offer actionable recommendations based on your insights.
|
| 216 |
|
| 217 |
-
Make sure each section is thorough yet concise, providing valuable insights for the subscriber. Only touch on the details you deem important.
|
|
|
|
|
|
|
| 218 |
"""
|
| 219 |
|
| 220 |
|
|
@@ -258,8 +260,7 @@ description = """We gave Ann-E a name, but not a personality. It's time to chang
|
|
| 258 |
|
| 259 |
Imagine entering a ticker on the TradeSmith site, going to the Predictive Alpha widget, and getting a stock analysis from Ann-E to go along with the prediction.
|
| 260 |
|
| 261 |
-
Currently, the analysis is based on company profile information, the most recent balance sheet and income
|
| 262 |
-
We are working on adding recent news for the model to consider.
|
| 263 |
|
| 264 |
This demonstration shows just a simple use case for building out a proprietary Alta Large Language Model (LLM).
|
| 265 |
|
|
@@ -275,7 +276,8 @@ description = """We gave Ann-E a name, but not a personality. It's time to chang
|
|
| 275 |
iface = gr.Interface(fn=analyze_stock,
|
| 276 |
inputs=gr.Textbox(label = 'Enter a Ticker'),
|
| 277 |
outputs= [
|
| 278 |
-
gr.
|
|
|
|
| 279 |
gr.Textbox(label = 'Prompt for Model (behind the scenes).')
|
| 280 |
],
|
| 281 |
title="Demo: Predictive Alpha + Stock Analysis GPT Model",
|
|
|
|
| 214 |
[Prediction & Reasoning]:
|
| 215 |
Provide a well-reasoned prediction for the stock's future 21 day performance. If a Predictive Alpha prediction was provided, use that as your prediction, supported by your analysis. Offer actionable recommendations based on your insights.
|
| 216 |
|
| 217 |
+
Make sure each section is thorough yet concise, providing valuable insights for the subscriber. Only touch on the details you deem important. Your output should look professionally formatted for gradio's HTML output.
|
| 218 |
+
|
| 219 |
+
Finally, it is critically important that you comply with the legal guideline of not providing personalized financial advice to individuals.
|
| 220 |
"""
|
| 221 |
|
| 222 |
|
|
|
|
| 260 |
|
| 261 |
Imagine entering a ticker on the TradeSmith site, going to the Predictive Alpha widget, and getting a stock analysis from Ann-E to go along with the prediction.
|
| 262 |
|
| 263 |
+
Currently, the analysis is based on company profile information, recent news, the most recent quarter's balance sheet and income statements, and TradeSmith proprietary indicators.
|
|
|
|
| 264 |
|
| 265 |
This demonstration shows just a simple use case for building out a proprietary Alta Large Language Model (LLM).
|
| 266 |
|
|
|
|
| 276 |
iface = gr.Interface(fn=analyze_stock,
|
| 277 |
inputs=gr.Textbox(label = 'Enter a Ticker'),
|
| 278 |
outputs= [
|
| 279 |
+
gr.HTML(label = 'Ann-E Response'),
|
| 280 |
+
#gr.Textbox(label = 'Ann-E Response'),
|
| 281 |
gr.Textbox(label = 'Prompt for Model (behind the scenes).')
|
| 282 |
],
|
| 283 |
title="Demo: Predictive Alpha + Stock Analysis GPT Model",
|