BaşlayınÜcretsiz Başlayın

Agent toolbox: stock data tool

Bu egzersiz

Multi-Agent Systems with LangGraph

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

Make sure to first run the cell to install the libraries

  • Create a tool called stock_data_tool() that takes a stock ticker symbol (company_ticker) and number of days to look back over (num_days), and returns a markdown-formatted table containing the stock performance data of that company over that period.
  • Invoke the tool on "META" over 4 days to test that it works—note that the table only contains business days, so the number of rows can be less than num_days.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat