Update Introduction_to_Jarvis.md
Browse files
Introduction_to_Jarvis.md
CHANGED
|
@@ -288,7 +288,7 @@ Here we go!
|
|
| 288 |
> 2. Import the 'download_stock_data' and 'plot_stock_prices' functions from the code library.
|
| 289 |
> 3. Run the 'download_stock_data' function with the desired ticker symbol, start date, and end date to get the stock data.
|
| 290 |
> 4. Run the 'plot_stock_prices' function with the DataFrame obtained from the previous step as input to plot the stock prices.
|
| 291 |
-
> 5. The final answer is the plot generated by the 'plot_stock_prices' function.
|
| 292 |
|
| 293 |
- The plan is passed to the Controller of CtrlExMemFlow_Coder, the Controller of CtrlExMemFlow_Coder calls ExtendLibrary.
|
| 294 |
- The Planner of ExtendLibrary makes the following plan:
|
|
@@ -331,9 +331,9 @@ Here we go!
|
|
| 331 |
|
| 332 |
```python
|
| 333 |
import importlib
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
```
|
| 338 |
|
| 339 |
- The MemoryWritingFlow of Coder updates the logs of Coder, it records the action of run_code.
|
|
|
|
| 288 |
> 2. Import the 'download_stock_data' and 'plot_stock_prices' functions from the code library.
|
| 289 |
> 3. Run the 'download_stock_data' function with the desired ticker symbol, start date, and end date to get the stock data.
|
| 290 |
> 4. Run the 'plot_stock_prices' function with the DataFrame obtained from the previous step as input to plot the stock prices.
|
| 291 |
+
> 5. The final answer is the plot generated by the 'plot_stock_prices' function.
|
| 292 |
|
| 293 |
- The plan is passed to the Controller of CtrlExMemFlow_Coder, the Controller of CtrlExMemFlow_Coder calls ExtendLibrary.
|
| 294 |
- The Planner of ExtendLibrary makes the following plan:
|
|
|
|
| 331 |
|
| 332 |
```python
|
| 333 |
import importlib
|
| 334 |
+
import library
|
| 335 |
+
importlib.reload(library)
|
| 336 |
+
from library import download_stock_data, plot_stock_prices
|
| 337 |
```
|
| 338 |
|
| 339 |
- The MemoryWritingFlow of Coder updates the logs of Coder, it records the action of run_code.
|