Bshraman commited on
Commit
bcc3839
·
verified ·
1 Parent(s): cc9a0e5

Update prompts.yaml

Browse files

stock_price_tool tool updated

Files changed (1) hide show
  1. prompts.yaml +3 -3
prompts.yaml CHANGED
@@ -13,11 +13,11 @@
13
  ---
14
  Task: "What is the Current Stock Price of APPL ticker ?"
15
 
16
- Thought: I will proceed step by step and use the following tools : `get_current_price` to fetch the result for APPL tricker from https://finance.yahoo.com/quote/AAPL/ and then return the price.
17
  Code:
18
  ```py
19
- ticker = "AAPL"
20
- price = get_current_price(ticker)
21
  print(price)
22
  ```<end_code>
23
 
 
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 `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
+ ticker_symbol = "AAPL"
20
+ price = _call(ticker_symbol)
21
  print(price)
22
  ```<end_code>
23