mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-07 18:27:52 +02:00
cr
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 1,
|
||||
"id": "d7ef57dd-5d6e-4ad3-9377-a92201c1310e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -126,7 +126,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 2,
|
||||
"id": "5cf3331e-ccb3-41c8-aeb9-a840a94d41e7",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -154,7 +154,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 3,
|
||||
"id": "892b54b9-75f0-4804-9ed0-88b5e5532989",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -178,7 +178,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"execution_count": 4,
|
||||
"id": "cd3cbae5-d92c-4559-a4aa-44721b80d107",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -209,7 +209,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"execution_count": 5,
|
||||
"id": "ea793afa-2eab-4901-910d-6eed90cd6564",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -256,7 +256,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 6,
|
||||
"id": "3b541bb9-900c-40d0-964d-7b5dfee30667",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -314,7 +314,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"execution_count": 7,
|
||||
"id": "813ae66c-3b58-4283-a02a-36da72a2ab90",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -375,7 +375,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"execution_count": 8,
|
||||
"id": "8edb04b9-40b6-46f1-a7a8-4b2d8aba7752",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -388,7 +388,7 @@
|
||||
" AIMessage(content=\"I'm sorry, but I couldn't find the current weather in San Francisco. However, you can check the weather forecast for San Francisco on websites like Weather.com or AccuWeather.\")]}"
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -419,7 +419,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 9,
|
||||
"id": "f544977e-31f7-41f0-88c4-ec9c27b8cecb",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -435,19 +435,19 @@
|
||||
"\n",
|
||||
"Output from node 'action':\n",
|
||||
"---\n",
|
||||
"{'messages': [FunctionMessage(content=\"[{'url': 'https://www.whereandwhen.net/when/north-america/california/san-francisco-ca/january/', 'content': 'Best time to go to San Francisco? Weather in San Francisco in january 2024 How was the weather last january? Here is the day by day recorded weather in San Francisco in january 2023: Seasonal average climate and temperature of San Francisco in january 8% 46% 29% 12% 8% Evolution of daily average temperature and precipitation in San Francisco in januaryWeather in San Francisco in january 2024. The weather in San Francisco in january comes from statistical datas on the past years. You can view the weather statistics the entire month, but also by using the tabs for the beginning, the middle and the end of the month. ... 16-01-2023 45°F to 52°F. 17-01-2023 45°F to 54°F. 18-01-2023 47°F to ...'}]\", name='tavily_search_results_json')]}\n",
|
||||
"{'messages': [FunctionMessage(content=\"[{'url': 'https://www.weather2travel.com/california/san-francisco/january/', 'content': 'San Francisco weather in January 2024 Expect 13°C daytime maximum temperatures long-term weather averages for San Francisco in January before you book your next holiday to California in 2024/2025. San Francisco January sunrise & sunset times How sunny is it in San Francisco in January?San Francisco weather in January 2024 Expect 13°C daytime maximum temperatures in the shade with on average 6 hours of sunshine per day in San Francisco in January. Check more long-term weather averages for San Francisco in January before you book your next holiday to California in 2024/2025. 13 13°C max day temperature 6'}]\", name='tavily_search_results_json')]}\n",
|
||||
"\n",
|
||||
"---\n",
|
||||
"\n",
|
||||
"Output from node 'agent':\n",
|
||||
"---\n",
|
||||
"{'messages': [AIMessage(content=\"I'm sorry, but I couldn't find the current weather in San Francisco. However, you can check the weather forecast for San Francisco on websites like Weather.com or AccuWeather.\")]}\n",
|
||||
"{'messages': [AIMessage(content='The weather in San Francisco is currently not available. However, in January, the average daytime maximum temperature is around 13°C with an average of 6 hours of sunshine per day. Please note that this information is based on long-term weather averages and may vary.')]}\n",
|
||||
"\n",
|
||||
"---\n",
|
||||
"\n",
|
||||
"Output from node '__end__':\n",
|
||||
"---\n",
|
||||
"{'messages': [HumanMessage(content='what is the weather in sf'), AIMessage(content='', additional_kwargs={'function_call': {'arguments': '{\\n \"query\": \"weather in San Francisco\"\\n}', 'name': 'tavily_search_results_json'}}), FunctionMessage(content=\"[{'url': 'https://www.whereandwhen.net/when/north-america/california/san-francisco-ca/january/', 'content': 'Best time to go to San Francisco? Weather in San Francisco in january 2024 How was the weather last january? Here is the day by day recorded weather in San Francisco in january 2023: Seasonal average climate and temperature of San Francisco in january 8% 46% 29% 12% 8% Evolution of daily average temperature and precipitation in San Francisco in januaryWeather in San Francisco in january 2024. The weather in San Francisco in january comes from statistical datas on the past years. You can view the weather statistics the entire month, but also by using the tabs for the beginning, the middle and the end of the month. ... 16-01-2023 45°F to 52°F. 17-01-2023 45°F to 54°F. 18-01-2023 47°F to ...'}]\", name='tavily_search_results_json'), AIMessage(content=\"I'm sorry, but I couldn't find the current weather in San Francisco. However, you can check the weather forecast for San Francisco on websites like Weather.com or AccuWeather.\")]}\n",
|
||||
"{'messages': [HumanMessage(content='what is the weather in sf'), AIMessage(content='', additional_kwargs={'function_call': {'arguments': '{\\n \"query\": \"weather in San Francisco\"\\n}', 'name': 'tavily_search_results_json'}}), FunctionMessage(content=\"[{'url': 'https://www.weather2travel.com/california/san-francisco/january/', 'content': 'San Francisco weather in January 2024 Expect 13°C daytime maximum temperatures long-term weather averages for San Francisco in January before you book your next holiday to California in 2024/2025. San Francisco January sunrise & sunset times How sunny is it in San Francisco in January?San Francisco weather in January 2024 Expect 13°C daytime maximum temperatures in the shade with on average 6 hours of sunshine per day in San Francisco in January. Check more long-term weather averages for San Francisco in January before you book your next holiday to California in 2024/2025. 13 13°C max day temperature 6'}]\", name='tavily_search_results_json'), AIMessage(content='The weather in San Francisco is currently not available. However, in January, the average daytime maximum temperature is around 13°C with an average of 6 hours of sunshine per day. Please note that this information is based on long-term weather averages and may vary.')]}\n",
|
||||
"\n",
|
||||
"---\n",
|
||||
"\n"
|
||||
@@ -479,7 +479,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 10,
|
||||
"id": "cfd140f0-a5a6-4697-8115-322242f197b5",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -503,66 +503,57 @@
|
||||
"content=''\n",
|
||||
"content=''\n",
|
||||
"content='The'\n",
|
||||
"content=' current'\n",
|
||||
"content=' weather'\n",
|
||||
"content=' in'\n",
|
||||
"content=' San'\n",
|
||||
"content=' Francisco'\n",
|
||||
"content=' is'\n",
|
||||
"content=' '\n",
|
||||
"content='52'\n",
|
||||
"content=' currently'\n",
|
||||
"content=' not'\n",
|
||||
"content=' available'\n",
|
||||
"content='.'\n",
|
||||
"content='0'\n",
|
||||
"content=' °'\n",
|
||||
"content='F'\n",
|
||||
"content=' However'\n",
|
||||
"content=','\n",
|
||||
"content=' in'\n",
|
||||
"content=' January'\n",
|
||||
"content=','\n",
|
||||
"content=' the'\n",
|
||||
"content=' average'\n",
|
||||
"content=' daytime'\n",
|
||||
"content=' maximum'\n",
|
||||
"content=' temperature'\n",
|
||||
"content=' is'\n",
|
||||
"content=' around'\n",
|
||||
"content=' '\n",
|
||||
"content='13'\n",
|
||||
"content='°C'\n",
|
||||
"content=' with'\n",
|
||||
"content=' a'\n",
|
||||
"content=' light'\n",
|
||||
"content=' breeze'\n",
|
||||
"content=' an'\n",
|
||||
"content=' average'\n",
|
||||
"content=' of'\n",
|
||||
"content=' '\n",
|
||||
"content='6'\n",
|
||||
"content=' hours'\n",
|
||||
"content=' of'\n",
|
||||
"content=' sunshine'\n",
|
||||
"content=' per'\n",
|
||||
"content=' day'\n",
|
||||
"content='.'\n",
|
||||
"content='9'\n",
|
||||
"content=' mph'\n",
|
||||
"content=' coming'\n",
|
||||
"content=' from'\n",
|
||||
"content=' the'\n",
|
||||
"content=' east'\n",
|
||||
"content='.'\n",
|
||||
"content=' The'\n",
|
||||
"content=' sky'\n",
|
||||
"content=' Please'\n",
|
||||
"content=' note'\n",
|
||||
"content=' that'\n",
|
||||
"content=' this'\n",
|
||||
"content=' information'\n",
|
||||
"content=' is'\n",
|
||||
"content=' mostly'\n",
|
||||
"content=' cloudy'\n",
|
||||
"content=' with'\n",
|
||||
"content=' cloud'\n",
|
||||
"content=' cover'\n",
|
||||
"content=' at'\n",
|
||||
"content=' '\n",
|
||||
"content='18'\n",
|
||||
"content=','\n",
|
||||
"content='000'\n",
|
||||
"content=' ft'\n",
|
||||
"content=','\n",
|
||||
"content=' mostly'\n",
|
||||
"content=' clear'\n",
|
||||
"content=' at'\n",
|
||||
"content=' '\n",
|
||||
"content='4'\n",
|
||||
"content=','\n",
|
||||
"content='000'\n",
|
||||
"content=' ft'\n",
|
||||
"content=','\n",
|
||||
"content=' based'\n",
|
||||
"content=' on'\n",
|
||||
"content=' long'\n",
|
||||
"content='-term'\n",
|
||||
"content=' weather'\n",
|
||||
"content=' averages'\n",
|
||||
"content=' and'\n",
|
||||
"content=' partly'\n",
|
||||
"content=' cloudy'\n",
|
||||
"content=' at'\n",
|
||||
"content=' '\n",
|
||||
"content='15'\n",
|
||||
"content=','\n",
|
||||
"content='000'\n",
|
||||
"content=' ft'\n",
|
||||
"content=' may'\n",
|
||||
"content=' vary'\n",
|
||||
"content='.'\n",
|
||||
"content=''\n"
|
||||
]
|
||||
@@ -608,7 +599,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.6"
|
||||
"version": "3.11.1"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user