|
36 | 36 | }, |
37 | 37 | { |
38 | 38 | "cell_type": "code", |
39 | | - "execution_count": 56, |
| 39 | + "execution_count": 68, |
40 | 40 | "metadata": {}, |
41 | 41 | "outputs": [ |
42 | 42 | { |
|
77 | 77 | }, |
78 | 78 | { |
79 | 79 | "cell_type": "code", |
80 | | - "execution_count": 57, |
| 80 | + "execution_count": 69, |
81 | 81 | "metadata": {}, |
82 | 82 | "outputs": [ |
83 | 83 | { |
|
130 | 130 | }, |
131 | 131 | { |
132 | 132 | "cell_type": "code", |
133 | | - "execution_count": 58, |
| 133 | + "execution_count": 70, |
134 | 134 | "metadata": {}, |
135 | 135 | "outputs": [ |
136 | 136 | { |
|
318 | 318 | }, |
319 | 319 | { |
320 | 320 | "cell_type": "code", |
321 | | - "execution_count": 59, |
| 321 | + "execution_count": 71, |
322 | 322 | "metadata": {}, |
323 | 323 | "outputs": [ |
324 | 324 | { |
|
375 | 375 | }, |
376 | 376 | { |
377 | 377 | "cell_type": "code", |
378 | | - "execution_count": 60, |
| 378 | + "execution_count": 72, |
379 | 379 | "metadata": {}, |
380 | 380 | "outputs": [ |
381 | 381 | { |
|
424 | 424 | }, |
425 | 425 | { |
426 | 426 | "cell_type": "code", |
427 | | - "execution_count": 61, |
| 427 | + "execution_count": 73, |
428 | 428 | "metadata": {}, |
429 | 429 | "outputs": [ |
430 | 430 | { |
|
497 | 497 | }, |
498 | 498 | { |
499 | 499 | "cell_type": "code", |
500 | | - "execution_count": 62, |
| 500 | + "execution_count": 74, |
501 | 501 | "metadata": {}, |
502 | 502 | "outputs": [ |
503 | 503 | { |
|
541 | 541 | }, |
542 | 542 | { |
543 | 543 | "cell_type": "code", |
544 | | - "execution_count": 63, |
| 544 | + "execution_count": 75, |
545 | 545 | "metadata": {}, |
546 | 546 | "outputs": [ |
547 | 547 | { |
|
606 | 606 | }, |
607 | 607 | { |
608 | 608 | "cell_type": "code", |
609 | | - "execution_count": 64, |
| 609 | + "execution_count": 76, |
610 | 610 | "metadata": {}, |
611 | 611 | "outputs": [ |
612 | 612 | { |
|
813 | 813 | }, |
814 | 814 | { |
815 | 815 | "cell_type": "code", |
816 | | - "execution_count": 65, |
| 816 | + "execution_count": 77, |
817 | 817 | "metadata": {}, |
818 | 818 | "outputs": [ |
819 | 819 | { |
|
944 | 944 | }, |
945 | 945 | { |
946 | 946 | "cell_type": "code", |
947 | | - "execution_count": 66, |
| 947 | + "execution_count": 78, |
948 | 948 | "metadata": {}, |
949 | 949 | "outputs": [ |
950 | 950 | { |
|
961 | 961 | "\n", |
962 | 962 | "🔧 Tool invocation: get_weather\n", |
963 | 963 | " Input: {\n", |
964 | | - " \"location\": \"Tokyo, Japan\"\n", |
| 964 | + " \"location\": \"Tokyo\"\n", |
965 | 965 | "}\n", |
966 | | - " ✅ Mock result: {\"location\": \"Tokyo, Japan\", \"temperature\": 60, \"unit\": \"fahrenheit\", \"conditions\": \"rainy\", \"humidity\": 58, \"wind_speed\": 7}\n", |
| 966 | + " ✅ Mock result: {\"location\": \"Tokyo\", \"temperature\": 75, \"unit\": \"fahrenheit\", \"conditions\": \"partly cloudy\", \"humidity\": 61, \"wind_speed\": 9}\n", |
967 | 967 | "\n", |
968 | 968 | "--- Turn 2 ---\n", |
969 | 969 | "\n", |
970 | 970 | "✓ Conversation complete\n", |
971 | 971 | "\n", |
972 | | - "ASSISTANT: The current weather in Tokyo, Japan is:\n", |
| 972 | + "ASSISTANT: The weather in Tokyo is currently:\n", |
| 973 | + "- **Temperature:** 75°F (about 24°C)\n", |
| 974 | + "- **Conditions:** Partly cloudy\n", |
| 975 | + "- **Humidity:** 61%\n", |
| 976 | + "- **Wind Speed:** 9 mph\n", |
973 | 977 | "\n", |
974 | | - "- **Temperature:** 60°F (about 16°C)\n", |
975 | | - "- **Conditions:** Rainy\n", |
976 | | - "- **Humidity:** 58%\n", |
977 | | - "- **Wind Speed:** 7 mph\n", |
978 | | - "\n", |
979 | | - "It's a rainy day in Tokyo, so you'd want to bring an umbrella if you're heading out!\n", |
| 978 | + "It's a pleasant day with comfortable temperatures and some cloud cover!\n", |
980 | 979 | "\n", |
981 | 980 | "================================================================================\n", |
982 | 981 | "\n" |
|
998 | 997 | }, |
999 | 998 | { |
1000 | 999 | "cell_type": "code", |
1001 | | - "execution_count": 67, |
| 1000 | + "execution_count": 79, |
1002 | 1001 | "metadata": {}, |
1003 | 1002 | "outputs": [ |
1004 | 1003 | { |
|
1030 | 1029 | "\n", |
1031 | 1030 | "**Final Amount: $16,470.09**\n", |
1032 | 1031 | "\n", |
1033 | | - "This means you'll earn **$6,470.09 in interest** over the 10-year period.\n", |
| 1032 | + "This means you'll earn **$6,470.09** in interest over the 10-year period.\n", |
1034 | 1033 | "\n", |
1035 | | - "The monthly compounding helps your investment grow faster than simple interest or less frequent compounding, as the interest earned each month gets added to your principal and also starts earning interest.\n", |
| 1034 | + "The monthly compounding means that interest is calculated and added to your principal every month, which allows your investment to grow faster than with annual compounding due to the effect of earning \"interest on interest\" more frequently.\n", |
1036 | 1035 | "\n", |
1037 | 1036 | "================================================================================\n", |
1038 | 1037 | "\n" |
|
0 commit comments