Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +2 -1
prompts.yaml
CHANGED
|
@@ -13,9 +13,10 @@
|
|
| 13 |
---
|
| 14 |
Task: "What is the Current Stock Price of APPL ticker ?"
|
| 15 |
|
| 16 |
-
Thought: I will proceed with the task step by step to ensure clarity and accuracy. First, I will utilize the tools `
|
| 17 |
Code:
|
| 18 |
```py
|
|
|
|
| 19 |
ticker_symbol = "AAPL"
|
| 20 |
price = _call(ticker_symbol)
|
| 21 |
print(f"Current price of {ticker}: ${price:.2f}")
|
|
|
|
| 13 |
---
|
| 14 |
Task: "What is the Current Stock Price of APPL ticker ?"
|
| 15 |
|
| 16 |
+
Thought: I will proceed with the task step by step to ensure clarity and accuracy. First, I will utilize the tools `stock_price_tool` to fetch the latest stock price for Apple (AAPL) from Yahoo Finance. This tool is designed to retrieve real-time stock data, which will help me get the most up-to-date price. Once I have the stock price data, I will extract the value and return the current price of AAPL, allowing the user to know the latest trading value for this stock.
|
| 17 |
Code:
|
| 18 |
```py
|
| 19 |
+
tool = StockPriceTool()
|
| 20 |
ticker_symbol = "AAPL"
|
| 21 |
price = _call(ticker_symbol)
|
| 22 |
print(f"Current price of {ticker}: ${price:.2f}")
|