From 79423e16029e3eebeff9da2bfaa9ab88f3f9798d Mon Sep 17 00:00:00 2001 From: thomastomy5 <69713148+thomastomy5@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:09:43 +0530 Subject: [PATCH 1/8] added logging to Flo library --- examples/agent_of_flo_ai.ipynb | 297 +++++++++++++++++++++++--- flo_ai/__init__.py | 2 + flo_ai/common/__init__.py | 4 + flo_ai/common/flo.log | 285 ++++++++++++++++++++++++ flo_ai/common/flo_callback_handler.py | 47 ++++ flo_ai/common/flo_logger.py | 78 +++++++ flo_ai/core.py | 7 + flo_ai/state/flo_session.py | 8 +- 8 files changed, 695 insertions(+), 33 deletions(-) create mode 100644 flo_ai/common/__init__.py create mode 100644 flo_ai/common/flo.log create mode 100644 flo_ai/common/flo_callback_handler.py create mode 100644 flo_ai/common/flo_logger.py diff --git a/examples/agent_of_flo_ai.ipynb b/examples/agent_of_flo_ai.ipynb index 06d6dc29..19961864 100644 --- a/examples/agent_of_flo_ai.ipynb +++ b/examples/agent_of_flo_ai.ipynb @@ -19,7 +19,34 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 8, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Current working directory: /Users/thomas/Documents/projects/flo-4/flo-ai/examples\n", + "Python path: ['/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip', '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11', '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload', '', '/Users/thomas/Documents/projects/flo-4/flo-ai/flo4/lib/python3.11/site-packages', '/Users/thomas/Documents/projects/flo-4/flo-ai']\n", + "Successfully imported get_logger\n" + ] + } + ], + "source": [ + "import os , sys\n", + "print(\"Current working directory:\", os.getcwd())\n", + "print(\"Python path:\", sys.path)\n", + "try:\n", + " from flo_ai.common.flo_logger import get_logger\n", + " print(\"Successfully imported get_logger\")\n", + "except ImportError as e:\n", + " print(\"Failed to import get_logger:\", str(e))\n", + " # You can add more debugging information here" + ] + }, + { + "cell_type": "code", + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -28,7 +55,7 @@ "True" ] }, - "execution_count": 6, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -42,6 +69,53 @@ "load_dotenv()" ] }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-12 13:58:30,392 - __main__ - ERROR - This is an error message.\n" + ] + } + ], + "source": [ + "from flo_ai.common.flo_logger import FloLogger\n", + "logger1=FloLogger.get_logger(__name__)\n", + "logger1.error(\"This is an error message.\")" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "WARNING:root:Something went wrong!\n" + ] + } + ], + "source": [ + "import logging\n", + "# logging.warning(\"Remain calm!\")\n", + "logging.basicConfig(\n", + " filename=\"app.log\",\n", + " encoding=\"utf-8\",\n", + " filemode=\"a\",\n", + " format=\"{asctime} - {levelname} - {message}\",\n", + " style=\"{\",\n", + " datefmt=\"%Y-%m-%d %H:%M\",\n", + " # level=logging.WARNING\n", + ")\n", + "logging.warning(\"Something went wrong!\")" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -52,16 +126,16 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 7, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -91,7 +165,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -111,40 +185,187 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from langchain_core.callbacks import BaseCallbackHandler\n", + "from langchain_core.prompts import ChatPromptTemplate\n", + "from langchain_openai import ChatOpenAI\n", + "flo = Flo.build(session, simple_weather_checking_agent)\n", + "\n", + "\n", + "class MyCustomHandler(BaseCallbackHandler):\n", + " def on_llm_new_token(self, token: str, **kwargs) -> None:\n", + " print(f\"My custom handler, token: {token}\")\n", + "\n", + "\n", + "handler = MyCustomHandler()\n", + "config = {\n", + " 'callbacks' : [handler]\n", + "}\n", + "\n", + "query=\"Whats the whether in california\"\n", + "\n", + "flo.invoke(query=query, config=config)\n", + "\n", + " def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any:\n", + " \"\"\"Run on agent action.\"\"\"\n", + " \n", + "# prompt = ChatPromptTemplate.from_messages([\"Tell me a joke about {animal}\"])\n", + "\n", + "# To enable streaming, we pass in `streaming=True` to the ChatModel constructor\n", + "# Additionally, we pass in our custom handler as a list to the callbacks parameter\n", + "# model = ChatOpenAI(streaming=True, callbacks=[MyCustomHandler()])\n", + "\n", + "# chain = prompt | model\n", + "\n", + "# response = chain.invoke({\"animal\": \"bears\"})" + ] + }, + { + "cell_type": "code", + "execution_count": 4, "metadata": {}, "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-13 01:15:31,867 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", + "2024-09-13 01:15:31,900 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:31,913 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:31,921 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:31,926 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:31,930 - FloCallback - INFO - Chain ended. Outputs: []\n", + "2024-09-13 01:15:31,932 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []}\n", + "2024-09-13 01:15:31,935 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-13 01:15:31,937 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-13 01:15:31,939 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", + "2024-09-13 01:15:31,942 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" + ] + }, { "name": "stdout", "output_type": "stream", "text": [ "\n", "\n", - "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n", + "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-13 01:15:33,913 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", + "2024-09-13 01:15:33,917 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-25eea023-57c1-4693-a62b-d99c2208555d' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]\n", + "2024-09-13 01:15:33,919 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", + "2024-09-13 01:15:33,921 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", + "2024-09-13 01:15:33,922 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'}\n", + "2024-09-13 01:15:33,924 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'}\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[32;1m\u001b[1;3m\n", "Invoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n", "\n", "\n", - "\u001b[0m\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1725364509, 'localtime': '2024-09-03 04:55'}, 'current': {'last_updated_epoch': 1725363900, 'last_updated': '2024-09-03 04:45', 'temp_c': 23.1, 'temp_f': 73.6, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1016.0, 'pressure_in': 30.0, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 31, 'cloud': 0, 'feelslike_c': 23.8, 'feelslike_f': 74.9, 'windchill_c': 22.7, 'windchill_f': 72.9, 'heatindex_c': 23.7, 'heatindex_f': 74.7, 'dewpoint_c': 5.0, 'dewpoint_f': 41.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 8.5, 'gust_kph': 13.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': 'Detailed ⚡ California Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.latimes.com/environment/story/2023-10-18/california-heat-wave-2023-when-will-it-end', 'content': 'October heat wave could break records in California, but chance of rain awaits next week. Oct. 19, 2023. The unseasonably hot weather brings increased concern for heat-related illness, especially ...'}]\u001b[0m\u001b[32;1m\u001b[1;3mThe weather in California during October 2023 has been characterized by some unseasonably hot days. For instance, on October 5, temperatures reached a high of 92°F (approximately 33°C). The humidity levels have also varied, with reports indicating a peak of 100% on October 7.\n", + "\u001b[0m" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-13 01:15:38,441 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}]\n", + "2024-09-13 01:15:38,454 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:38,468 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:38,475 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:38,480 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", + "2024-09-13 01:15:38,485 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", + "2024-09-13 01:15:38,487 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]}\n", + "2024-09-13 01:15:38,489 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]}\n", + "2024-09-13 01:15:38,494 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]}\n", + "2024-09-13 01:15:38,502 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", + "2024-09-13 01:15:38,506 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]']\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}]\u001b[0m" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-13 01:15:40,497 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-fd912116-3bcd-4807-afed-0c3335d27d11'))]]\n", + "2024-09-13 01:15:40,500 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-fd912116-3bcd-4807-afed-0c3335d27d11'\n", + "2024-09-13 01:15:40,502 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'\n", + "2024-09-13 01:15:40,504 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'\n", + "2024-09-13 01:15:40,505 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'}\n", + "2024-09-13 01:15:40,507 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'}\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[32;1m\u001b[1;3mThe current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n", "\n", - "Currently, in California City, the temperature is around 73.6°F (23.1°C) with clear skies, low humidity (31%), and no precipitation. The weather is generally pleasant, but there have been concerns about heat-related illnesses due to the heat wave affecting the region.\n", + "For a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n", "\n", - "For more detailed forecasts and updates, you can check the following sources:\n", + "For more detailed forecasts and historical data, you can check the following sources:\n", "- [Weather API](https://www.weatherapi.com/)\n", "- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n", - "- [World Weather Info](https://world-weather.info/forecast/usa/california/october-2023/)\n", "- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n", - "- [LA Times](https://www.latimes.com/environment/story/2023-10-18/california-heat-wave-2023-when-will-it-end)\u001b[0m\n", + "- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\u001b[0m\n", "\n", - "\u001b[1m> Finished chain.\u001b[0m\n", - "{'messages': [HumanMessage(content='Whats the whether in california')], 'output': 'The weather in California during October 2023 has been characterized by some unseasonably hot days. For instance, on October 5, temperatures reached a high of 92°F (approximately 33°C). The humidity levels have also varied, with reports indicating a peak of 100% on October 7.\\n\\nCurrently, in California City, the temperature is around 73.6°F (23.1°C) with clear skies, low humidity (31%), and no precipitation. The weather is generally pleasant, but there have been concerns about heat-related illnesses due to the heat wave affecting the region.\\n\\nFor more detailed forecasts and updates, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [World Weather Info](https://world-weather.info/forecast/usa/california/october-2023/)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [LA Times](https://www.latimes.com/environment/story/2023-10-18/california-heat-wave-2023-when-will-it-end)'}\n" + "\u001b[1m> Finished chain.\u001b[0m\n" ] + }, + { + "data": { + "text/plain": [ + "{'messages': [HumanMessage(content='Whats the whether in california')],\n", + " 'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'}" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ + "# from langchain_core.callbacks import StdOutCallbackHandler\n", + "# handler = StdOutCallbackHandler()\n", + "\n", + "from flo_ai.common.flo_callback_handler import FloCallbackHandler\n", + "\n", "flo = Flo.build(session, simple_weather_checking_agent)\n", "\n", - "print(flo.invoke(\"Whats the whether in california\"))" + "handler = FloCallbackHandler(log_level=\"INFO\")\n", + "\n", + "config = {\n", + " 'callbacks' : [handler]\n", + "}\n", + "\n", + "query=\"Whats the whether in california\"\n", + "\n", + "flo.invoke(query=query, config=config)" ] }, { @@ -160,7 +381,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 15, "metadata": {}, "outputs": [], "source": [ @@ -178,31 +399,34 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 17, "metadata": {}, "outputs": [ { - "name": "stdout", + "name": "stderr", "output_type": "stream", "text": [ - "Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \n", - "\n", - "The theorem can be expressed with the formula:\n", - "\n", - "\\[ c^2 = a^2 + b^2 \\]\n", - "\n", - "where:\n", - "- \\( c \\) is the length of the hypotenuse,\n", - "- \\( a \\) and \\( b \\) are the lengths of the other two sides.\n", - "\n", - "This theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\n" + "2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-12 23:10:45,905 - Flo - INFO - Invoking query: What is pythagorus theorum\n" ] + }, + { + "data": { + "text/plain": [ + "\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\"" + ] + }, + "execution_count": 17, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ "flo = Flo.build(session, simple_llm_agent)\n", "\n", - "print(flo.invoke(\"What is pythagorus theorum\"))" + "flo.invoke(\"What is pythagorus theorum\")\n", + "# print(flo.invoke(\"What is pythagorus theorum\"))" ] }, { @@ -214,9 +438,18 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 7, "metadata": {}, "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-12 15:51:43,357 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-12 15:51:43,357 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-12 15:51:43,361 - Flo - INFO - Invoking query: Print what I am saying\n" + ] + }, { "name": "stdout", "output_type": "stream", diff --git a/flo_ai/__init__.py b/flo_ai/__init__.py index 3532140d..3ce55db3 100644 --- a/flo_ai/__init__.py +++ b/flo_ai/__init__.py @@ -4,3 +4,5 @@ from flo_ai.models.flo_team import FloTeamBuilder from flo_ai.state.flo_session import FloSession from flo_ai.retrievers.flo_retriever import FloRagBuilder +from flo_ai.common.flo_logger import get_logger +from flo_ai.common.flo_callback_handler import FloCallbackHandler diff --git a/flo_ai/common/__init__.py b/flo_ai/common/__init__.py new file mode 100644 index 00000000..c3dade93 --- /dev/null +++ b/flo_ai/common/__init__.py @@ -0,0 +1,4 @@ +from .flo_logger import get_logger, FloLogger +from .flo_callback_handler import FloCallbackHandler + +__all__ = ['get_logger', 'FloLogger', 'FloCallbackHandler'] \ No newline at end of file diff --git a/flo_ai/common/flo.log b/flo_ai/common/flo.log new file mode 100644 index 00000000..880a171e --- /dev/null +++ b/flo_ai/common/flo.log @@ -0,0 +1,285 @@ +2024-09-11 22:19:49,809 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:19:49,809 - my_app - INFO - This will also be logged using the same instance +2024-09-11 22:19:49,809 - my_app - INFO - This will also be logged using the same instance +2024-09-11 22:20:13,415 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:20:13,415 - my_app - INFO - This will also be logged using the same instance +2024-09-11 22:20:13,415 - my_app - INFO - This will also be logged using the same instance +2024-09-11 22:20:50,008 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:20:50,009 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:20:50,009 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:27:50,432 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:27:50,433 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:27:50,433 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:27:50,434 - my_app - INFO - This will also be logged using the same instance3 +2024-09-11 22:27:50,434 - my_app - INFO - This will also be logged using the same instance3 +2024-09-11 22:27:50,434 - my_app - INFO - This will also be logged using the same instance3 +2024-09-11 22:30:59,945 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance3 +2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance3 +2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance3 +2024-09-11 22:32:28,903 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:32:28,904 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:32:28,904 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:38:02,271 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:38:02,272 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:38:28,804 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:38:28,804 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 22:40:05,779 - my_app - INFO - This will be logged to both console and file +2024-09-11 22:40:05,780 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 23:51:33,225 - my_app - INFO - This will be logged to both console and file +2024-09-11 23:51:33,226 - my_app - INFO - This will also be logged using the same instance2 +2024-09-11 23:52:25,136 - my_app - INFO - This will be logged to both console and file +2024-09-11 23:52:25,137 - my_app - INFO - This will also be logged using the same instance2 +2024-09-12 15:25:33,922 - my_app - INFO - This will be logged to both console and file +2024-09-12 15:25:33,923 - my_app - INFO - This will also be logged using the same instance2 +2024-09-12 20:18:33,746 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 20:18:34,127 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-12 20:19:18,056 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 20:19:18,056 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 20:19:18,063 - Flo - INFO - Invoking query: What is pythagorus theorum +2024-09-12 21:32:24,679 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:32:24,679 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:32:24,733 - Flo - INFO - Invoking query: What is pythagorus theorum +2024-09-12 21:32:33,462 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:32:33,462 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:32:33,482 - Flo - INFO - Invoking query: What is pythagorus theorum +2024-09-12 21:32:47,123 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:32:47,123 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:32:47,148 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-12 21:36:23,836 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:36:23,836 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:36:45,571 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:36:45,571 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:36:45,588 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-12 21:46:09,583 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:46:09,583 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 21:46:09,786 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-12 23:10:23,468 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 23:10:23,468 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 23:10:23,532 - Flo - INFO - Invoking query: What is pythagorus theorum +2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML +2024-09-12 23:10:45,905 - Flo - INFO - Invoking query: What is pythagorus theorum +2024-09-13 00:09:53,435 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:09:53,435 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:09:53,598 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-13 00:14:08,977 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:14:08,977 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:22:09,140 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:22:09,140 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:22:09,211 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-13 00:55:30,170 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:55:30,170 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 00:55:30,234 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-13 00:55:30,254 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} +2024-09-13 00:55:30,274 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:30,286 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:30,298 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:30,303 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:30,311 - FloCallback - INFO - Chain ended. Outputs: [] +2024-09-13 00:55:30,314 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} +2024-09-13 00:55:30,315 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 00:55:30,318 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 00:55:30,320 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] +2024-09-13 00:55:30,325 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] +2024-09-13 00:55:31,201 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]))]] +2024-09-13 00:55:31,204 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'} id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}] +2024-09-13 00:55:31,207 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] +2024-09-13 00:55:31,209 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] +2024-09-13 00:55:31,210 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} +2024-09-13 00:55:31,213 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} +2024-09-13 00:55:35,227 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169117, 'localtime': '2024-09-12 12:25'}, 'current': {'last_updated_epoch': 1726168500, 'last_updated': '2024-09-12 12:15', 'temp_c': 28.2, 'temp_f': 82.8, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1009.0, 'pressure_in': 29.78, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 16, 'cloud': 0, 'feelslike_c': 26.2, 'feelslike_f': 79.1, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] +2024-09-13 00:55:35,242 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:35,250 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:35,256 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:35,259 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 00:55:35,264 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] +2024-09-13 00:55:35,266 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')]} +2024-09-13 00:55:35,268 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169117, 'localtime': '2024-09-12 12:25'}, 'current': {'last_updated_epoch': 1726168500, 'last_updated': '2024-09-12 12:15', 'temp_c': 28.2, 'temp_f': 82.8, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1009.0, 'pressure_in': 29.78, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 16, 'cloud': 0, 'feelslike_c': 26.2, 'feelslike_f': 79.1, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')]} +2024-09-13 00:55:35,277 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169117, 'localtime': '2024-09-12 12:25'}, 'current': {'last_updated_epoch': 1726168500, 'last_updated': '2024-09-12 12:15', 'temp_c': 28.2, 'temp_f': 82.8, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1009.0, 'pressure_in': 29.78, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 16, 'cloud': 0, 'feelslike_c': 26.2, 'feelslike_f': 79.1, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')]} +2024-09-13 00:55:35,281 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] +2024-09-13 00:55:35,284 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] +2024-09-13 00:55:38,049 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-e13dba11-66de-4965-a067-23deadd79dcb'))]] +2024-09-13 00:55:38,051 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-e13dba11-66de-4965-a067-23deadd79dcb' +2024-09-13 00:55:38,053 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 00:55:38,055 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 00:55:38,056 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 00:55:38,057 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 01:01:20,373 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 01:01:20,373 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 01:01:20,459 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-13 01:01:20,471 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} +2024-09-13 01:01:20,495 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:20,505 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:20,514 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:20,518 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:20,521 - FloCallback - INFO - Chain ended. Outputs: [] +2024-09-13 01:01:20,524 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} +2024-09-13 01:01:20,526 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:01:20,531 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:01:20,535 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] +2024-09-13 01:01:20,537 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] +2024-09-13 01:01:21,500 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]))]] +2024-09-13 01:01:21,507 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-b368a47c-f737-49cf-bc8b-640be516cba9' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}] +2024-09-13 01:01:21,513 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] +2024-09-13 01:01:21,517 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] +2024-09-13 01:01:21,522 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} +2024-09-13 01:01:21,525 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} +2024-09-13 01:01:25,399 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169468, 'localtime': '2024-09-12 12:31'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] +2024-09-13 01:01:25,416 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:25,428 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:25,435 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:25,437 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:01:25,440 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] +2024-09-13 01:01:25,443 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')]} +2024-09-13 01:01:25,451 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169468, 'localtime': '2024-09-12 12:31'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')]} +2024-09-13 01:01:25,455 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169468, 'localtime': '2024-09-12 12:31'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')]} +2024-09-13 01:01:25,457 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] +2024-09-13 01:01:25,459 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] +2024-09-13 01:01:27,618 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, message=AIMessageChunk(content='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-bc97ba78-f0fa-47c4-9b44-80549a0e8548'))]] +2024-09-13 01:01:27,620 - FloCallback - INFO - Chain started. Inputs: content='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'} id='run-bc97ba78-f0fa-47c4-9b44-80549a0e8548' +2024-09-13 01:01:27,622 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' +2024-09-13 01:01:27,625 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' +2024-09-13 01:01:27,627 - FloCallback - INFO - Agent finished. Output: {'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} +2024-09-13 01:01:27,629 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} +2024-09-13 01:10:04,821 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 01:10:04,821 - Flo.build - INFO - Building Flo instance from YAML +2024-09-13 01:10:04,877 - Flo - INFO - Invoking query: Whats the whether in california +2024-09-13 01:10:04,921 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} +2024-09-13 01:10:04,955 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:04,964 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:04,973 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:04,977 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:04,980 - FloCallback - INFO - Chain ended. Outputs: [] +2024-09-13 01:10:04,982 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} +2024-09-13 01:10:04,983 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:10:04,985 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:10:04,987 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] +2024-09-13 01:10:04,992 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] +2024-09-13 01:10:06,191 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]))]] +2024-09-13 01:10:06,201 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}] +2024-09-13 01:10:06,204 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] +2024-09-13 01:10:06,207 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] +2024-09-13 01:10:06,224 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} +2024-09-13 01:10:06,235 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} +2024-09-13 01:10:10,690 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California', 'region': 'Pennsylvania', 'country': 'USA United States of America', 'lat': 40.06, 'lon': -79.89, 'tz_id': 'America/New_York', 'localtime_epoch': 1726169993, 'localtime': '2024-09-12 15:39'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 15:30', 'temp_c': 28.9, 'temp_f': 84.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 8.3, 'wind_kph': 13.3, 'wind_degree': 117, 'wind_dir': 'ESE', 'pressure_mb': 1019.0, 'pressure_in': 30.1, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 28, 'cloud': 5, 'feelslike_c': 27.7, 'feelslike_f': 81.9, 'windchill_c': 28.9, 'windchill_f': 84.1, 'heatindex_c': 27.7, 'heatindex_f': 81.9, 'dewpoint_c': 8.8, 'dewpoint_f': 47.9, 'vis_km': 10.0, 'vis_miles': 6.0, 'uv': 7.0, 'gust_mph': 9.5, 'gust_kph': 15.3}}"}, {'url': 'https://www.weather2travel.com/california/long-beach//october/', 'content': 'California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}] +2024-09-13 01:10:10,710 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:10,723 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:10,732 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:10,736 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:10:10,741 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] +2024-09-13 01:10:10,744 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')]} +2024-09-13 01:10:10,756 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California', 'region': 'Pennsylvania', 'country': 'USA United States of America', 'lat': 40.06, 'lon': -79.89, 'tz_id': 'America/New_York', 'localtime_epoch': 1726169993, 'localtime': '2024-09-12 15:39'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 15:30', 'temp_c': 28.9, 'temp_f': 84.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 8.3, 'wind_kph': 13.3, 'wind_degree': 117, 'wind_dir': 'ESE', 'pressure_mb': 1019.0, 'pressure_in': 30.1, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 28, 'cloud': 5, 'feelslike_c': 27.7, 'feelslike_f': 81.9, 'windchill_c': 28.9, 'windchill_f': 84.1, 'heatindex_c': 27.7, 'heatindex_f': 81.9, 'dewpoint_c': 8.8, 'dewpoint_f': 47.9, 'vis_km': 10.0, 'vis_miles': 6.0, 'uv': 7.0, 'gust_mph': 9.5, 'gust_kph': 15.3}}"}, {'url': 'https://www.weather2travel.com/california/long-beach//october/', 'content': 'California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')]} +2024-09-13 01:10:10,758 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California', 'region': 'Pennsylvania', 'country': 'USA United States of America', 'lat': 40.06, 'lon': -79.89, 'tz_id': 'America/New_York', 'localtime_epoch': 1726169993, 'localtime': '2024-09-12 15:39'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 15:30', 'temp_c': 28.9, 'temp_f': 84.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 8.3, 'wind_kph': 13.3, 'wind_degree': 117, 'wind_dir': 'ESE', 'pressure_mb': 1019.0, 'pressure_in': 30.1, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 28, 'cloud': 5, 'feelslike_c': 27.7, 'feelslike_f': 81.9, 'windchill_c': 28.9, 'windchill_f': 84.1, 'heatindex_c': 27.7, 'heatindex_f': 81.9, 'dewpoint_c': 8.8, 'dewpoint_f': 47.9, 'vis_km': 10.0, 'vis_miles': 6.0, 'uv': 7.0, 'gust_mph': 9.5, 'gust_kph': 15.3}}"}, {'url': 'https://www.weather2travel.com/california/long-beach//october/', 'content': 'California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')]} +2024-09-13 01:10:10,761 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] +2024-09-13 01:10:10,767 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]'] +2024-09-13 01:10:12,987 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-3acbdb77-59f4-4f2f-83f8-7e165d0ea320'))]] +2024-09-13 01:10:12,990 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-3acbdb77-59f4-4f2f-83f8-7e165d0ea320' +2024-09-13 01:10:12,993 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 01:10:12,997 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 01:10:13,002 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 01:10:13,003 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 01:11:06,820 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} +2024-09-13 01:11:06,978 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:06,994 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:07,003 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:07,006 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:07,008 - FloCallback - INFO - Chain ended. Outputs: [] +2024-09-13 01:11:07,011 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} +2024-09-13 01:11:07,013 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:11:07,017 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:11:07,020 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] +2024-09-13 01:11:07,022 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] +2024-09-13 01:11:08,108 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]))]] +2024-09-13 01:11:08,111 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-1778a807-80e8-4832-972b-61bc5a4d478e' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}] +2024-09-13 01:11:08,113 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] +2024-09-13 01:11:08,114 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] +2024-09-13 01:11:08,115 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} +2024-09-13 01:11:08,117 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} +2024-09-13 01:11:12,036 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170054, 'localtime': '2024-09-12 12:40'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] +2024-09-13 01:11:12,048 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:12,071 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:12,077 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:12,081 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:11:12,091 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] +2024-09-13 01:11:12,101 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')]} +2024-09-13 01:11:12,108 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170054, 'localtime': '2024-09-12 12:40'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')]} +2024-09-13 01:11:12,113 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170054, 'localtime': '2024-09-12 12:40'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')]} +2024-09-13 01:11:12,129 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] +2024-09-13 01:11:12,136 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] +2024-09-13 01:11:14,041 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-36280e4e-e84e-4ec3-ad1a-1bf7ee2e2a02'))]] +2024-09-13 01:11:14,046 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-36280e4e-e84e-4ec3-ad1a-1bf7ee2e2a02' +2024-09-13 01:11:14,049 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 01:11:14,050 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 01:11:14,052 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 01:11:14,057 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 01:15:31,867 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} +2024-09-13 01:15:31,900 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:31,913 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:31,921 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:31,926 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:31,930 - FloCallback - INFO - Chain ended. Outputs: [] +2024-09-13 01:15:31,932 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} +2024-09-13 01:15:31,935 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:15:31,937 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 01:15:31,939 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] +2024-09-13 01:15:31,942 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] +2024-09-13 01:15:33,913 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]))]] +2024-09-13 01:15:33,917 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-25eea023-57c1-4693-a62b-d99c2208555d' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}] +2024-09-13 01:15:33,919 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] +2024-09-13 01:15:33,921 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] +2024-09-13 01:15:33,922 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} +2024-09-13 01:15:33,924 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} +2024-09-13 01:15:38,441 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] +2024-09-13 01:15:38,454 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:38,468 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:38,475 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:38,480 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 01:15:38,485 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] +2024-09-13 01:15:38,487 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]} +2024-09-13 01:15:38,489 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]} +2024-09-13 01:15:38,494 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]} +2024-09-13 01:15:38,502 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] +2024-09-13 01:15:38,506 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] +2024-09-13 01:15:40,497 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-fd912116-3bcd-4807-afed-0c3335d27d11'))]] +2024-09-13 01:15:40,500 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-fd912116-3bcd-4807-afed-0c3335d27d11' +2024-09-13 01:15:40,502 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 01:15:40,504 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' +2024-09-13 01:15:40,505 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 01:15:40,507 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} +2024-09-13 10:10:33,208 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} +2024-09-13 10:10:33,240 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:33,257 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:33,264 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:33,389 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:33,392 - FloCallback - INFO - Chain ended. Outputs: [] +2024-09-13 10:10:33,393 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} +2024-09-13 10:10:33,395 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 10:10:33,397 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} +2024-09-13 10:10:33,398 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] +2024-09-13 10:10:33,400 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] +2024-09-13 10:10:34,425 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]))]] +2024-09-13 10:10:34,428 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}] +2024-09-13 10:10:34,430 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] +2024-09-13 10:10:34,431 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] +2024-09-13 10:10:34,434 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} +2024-09-13 10:10:34,442 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} +2024-09-13 10:10:38,762 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726202421, 'localtime': '2024-09-12 21:40'}, 'current': {'last_updated_epoch': 1726201800, 'last_updated': '2024-09-12 21:30', 'temp_c': 21.0, 'temp_f': 69.8, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 18.6, 'wind_kph': 29.9, 'wind_degree': 300, 'wind_dir': 'WNW', 'pressure_mb': 1008.0, 'pressure_in': 29.76, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 40, 'cloud': 0, 'feelslike_c': 21.0, 'feelslike_f': 69.8, 'windchill_c': 20.5, 'windchill_f': 68.9, 'heatindex_c': 20.5, 'heatindex_f': 68.9, 'dewpoint_c': 3.4, 'dewpoint_f': 38.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 23.0, 'gust_kph': 37.1}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.weather.gov/lox/headline5_donotchangename', 'content': 'Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ...'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] +2024-09-13 10:10:38,779 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:38,788 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:38,803 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:38,806 - FloCallback - INFO - Chain started. Inputs: {'input': ''} +2024-09-13 10:10:38,809 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] +2024-09-13 10:10:38,810 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')]} +2024-09-13 10:10:38,812 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726202421, 'localtime': '2024-09-12 21:40'}, 'current': {'last_updated_epoch': 1726201800, 'last_updated': '2024-09-12 21:30', 'temp_c': 21.0, 'temp_f': 69.8, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 18.6, 'wind_kph': 29.9, 'wind_degree': 300, 'wind_dir': 'WNW', 'pressure_mb': 1008.0, 'pressure_in': 29.76, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 40, 'cloud': 0, 'feelslike_c': 21.0, 'feelslike_f': 69.8, 'windchill_c': 20.5, 'windchill_f': 68.9, 'heatindex_c': 20.5, 'heatindex_f': 68.9, 'dewpoint_c': 3.4, 'dewpoint_f': 38.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 23.0, 'gust_kph': 37.1}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.weather.gov/lox/headline5_donotchangename', 'content': 'Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ...'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')]} +2024-09-13 10:10:38,815 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726202421, 'localtime': '2024-09-12 21:40'}, 'current': {'last_updated_epoch': 1726201800, 'last_updated': '2024-09-12 21:30', 'temp_c': 21.0, 'temp_f': 69.8, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 18.6, 'wind_kph': 29.9, 'wind_degree': 300, 'wind_dir': 'WNW', 'pressure_mb': 1008.0, 'pressure_in': 29.76, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 40, 'cloud': 0, 'feelslike_c': 21.0, 'feelslike_f': 69.8, 'windchill_c': 20.5, 'windchill_f': 68.9, 'heatindex_c': 20.5, 'heatindex_f': 68.9, 'dewpoint_c': 3.4, 'dewpoint_f': 38.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 23.0, 'gust_kph': 37.1}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.weather.gov/lox/headline5_donotchangename', 'content': 'Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ...'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')]} +2024-09-13 10:10:38,820 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] +2024-09-13 10:10:38,823 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] +2024-09-13 10:10:40,634 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-0177e650-921b-44a7-af49-b3da78abd038'))]] +2024-09-13 10:10:40,637 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-0177e650-921b-44a7-af49-b3da78abd038' +2024-09-13 10:10:40,639 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' +2024-09-13 10:10:40,641 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' +2024-09-13 10:10:40,642 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} +2024-09-13 10:10:40,644 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} diff --git a/flo_ai/common/flo_callback_handler.py b/flo_ai/common/flo_callback_handler.py new file mode 100644 index 00000000..f44731fa --- /dev/null +++ b/flo_ai/common/flo_callback_handler.py @@ -0,0 +1,47 @@ +from typing import Any, Dict, List, Union +from langchain.callbacks.base import BaseCallbackHandler +from langchain.schema import AgentAction, AgentFinish, LLMResult +from flo_ai.common.flo_logger import get_logger + +class FloCallbackHandler(BaseCallbackHandler): + def __init__(self, logger_name: str = "FloCallback", log_level: str = "INFO"): + self.logger = get_logger(logger_name, log_level) + + def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any) -> None: + self.logger.info(f"LLM started. Prompts: {prompts}") + + def on_llm_new_token(self, token: str, **kwargs: Any) -> None: + self.logger.debug(f"New token: {token}") + + def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None: + self.logger.info(f"LLM ended. Output: {response.generations}") + + def on_llm_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: + self.logger.error(f"LLM error: {error}") + + def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> None: + self.logger.info(f"Chain started. Inputs: {inputs}") + + def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None: + self.logger.info(f"Chain ended. Outputs: {outputs}") + + def on_chain_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: + self.logger.error(f"Chain error: {error}") + + def on_tool_start(self, serialized: Dict[str, Any], input_str: str, **kwargs: Any) -> None: + self.logger.info(f"Tool started. Input: {input_str}") + + def on_tool_end(self, output: str, **kwargs: Any) -> None: + self.logger.info(f"Tool ended. Output: {output}") + + def on_tool_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: + self.logger.error(f"Tool error: {error}") + + def on_text(self, text: str, **kwargs: Any) -> None: + self.logger.info(f"Text: {text}") + + def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any: + self.logger.info(f"Agent action: {action.tool} - {action.tool_input}") + + def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None: + self.logger.info(f"Agent finished. Output: {finish.return_values}") \ No newline at end of file diff --git a/flo_ai/common/flo_logger.py b/flo_ai/common/flo_logger.py new file mode 100644 index 00000000..159d2054 --- /dev/null +++ b/flo_ai/common/flo_logger.py @@ -0,0 +1,78 @@ +import logging +import os +from logging.handlers import RotatingFileHandler +from typing import Optional + + +class FloLogger: + _instances = {} + + def __new__(cls, name: str, level: str = "INFO", use_file: bool = True, file_path: str = "flo.log", max_bytes: int = 1048576): + """ + Custom new method to check for existing instance. + """ + if name not in cls._instances: + instance = super().__new__(cls) + cls._instances[name] = instance + return cls._instances[name] + + def __init__(self, name: str, level: str = "INFO", use_file: bool = True, file_path: str = "flo.log", max_bytes: int = 1048576): + + self.logger = logging.getLogger(name) + if not self.logger.handlers: + self.set_level(level) + self._setup_handler(use_file, file_path,max_bytes) + + def _setup_handler(self, use_file: bool, file_path: str, max_bytes: int): + handler = logging.StreamHandler() + formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') + handler.setFormatter(formatter) + self.logger.addHandler(handler) + + if use_file: + log_file_path = os.path.join(os.path.dirname(__file__), file_path) + file_handler = RotatingFileHandler( + log_file_path, + maxBytes=max_bytes, + ) + file_handler.setFormatter(formatter) + self.logger.addHandler(file_handler) + + def set_level(self, level): + if isinstance(level, str): + level = getattr(logging, level.upper(), logging.INFO) + self.logger.setLevel(level) + + def debug(self, message: str): + self.logger.debug(message) + + def info(self, message: str): + self.logger.info(message) + + def warning(self, message: str): + self.logger.warning(message) + + def error(self, message: str): + self.logger.error(message) + + def critical(self, message: str): + self.logger.critical(message) + + +def get_logger(name: str, level: Optional[str] = 'INFO', use_file: bool = True, file_path: str = "flo.log") -> FloLogger: + """ + Creates a FloLogger instance with optional file logging and caching. + + Args: + name: The name of the logger. + level: The logging level (default: INFO). + use_file: Whether to log to a file (default: False). + file_path: The path to the log file (default: "flo.log"). + max_bytes: The maximum size of the log file before it gets rotated (default: 1MB). + + Returns: + A FloLogger instance. + """ + + logger = FloLogger(name, level, use_file, file_path) + return logger \ No newline at end of file diff --git a/flo_ai/core.py b/flo_ai/core.py index 30e4a6fc..a7def288 100644 --- a/flo_ai/core.py +++ b/flo_ai/core.py @@ -7,6 +7,7 @@ ) from flo_ai.state.flo_session import FloSession from flo_ai.models.flo_executable import ExecutableFlo +from flo_ai.common.flo_logger import FloLogger, get_logger class Flo: @@ -15,15 +16,21 @@ def __init__(self, config: FloRoutedTeamConfig) -> None: self.config = config self.runnable: ExecutableFlo = build_supervised_team(session, config) + self.logger: FloLogger = get_logger("Flo", session.logger.logger.level) + self.callback_handler = session.callback_handler def stream(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: + self.logger.info(f"Streaming query: {query}") return self.runnable.stream(query, config) def invoke(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: + self.logger.info(f"Invoking query: {query}") return self.runnable.invoke(query, config) @staticmethod def build(session: FloSession, yaml: str): + logger = get_logger("Flo.build", session.logger.logger.level) + logger.info("Building Flo instance from YAML") return Flo(session, to_supervised_team(yaml)) def draw(self, xray=True): diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index a177ce79..435b1cc5 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -1,8 +1,10 @@ from langchain_core.language_models import BaseLanguageModel from langchain_core.tools import BaseTool +from flo_ai.common.flo_logger import FloLogger, get_logger +from flo_ai.common.flo_callback_handler import FloCallbackHandler class FloSession: - def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3) -> None: + def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3,log_level: str = "DEBUG") -> None: self.llm = llm self.tools = dict() self.counter = dict() @@ -10,12 +12,15 @@ def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3 self.pattern_series = dict() self.loop_size: int = loop_size self.max_loop: int = max_loop + self.logger: FloLogger = get_logger("FloSession", log_level) + self.callback_handler = FloCallbackHandler("FloCallback", log_level) def register_tool(self, name: str, tool: BaseTool): self.tools[name] = tool return self def append(self, node: str) -> int: + self.logger.debug(f"Appending node: {node}") self.counter[node] = self.counter.get(node, 0) + 1 if node in self.navigation: last_known_index = len(self.navigation) - 1 - self.navigation[::-1].index(node) @@ -29,6 +34,7 @@ def append(self, node: str) -> int: self.navigation.append(node) def is_looping(self, node) -> bool: + self.logger.debug(f"Checking if node {node} is looping") patterns = self.pattern_series[node] if node in self.pattern_series else [] if len(patterns) < self.max_loop: return False From cb85bfd40b10053ec2562e537cd0075ee40fb637 Mon Sep 17 00:00:00 2001 From: thomastomy5 <69713148+thomastomy5@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:07:53 +0530 Subject: [PATCH 2/8] added sessionid and option for custom logger --- .gitignore | 3 +- examples/agent_of_flo_ai.ipynb | 324 ++++++++++++-------------- flo_ai/common/flo_callback_handler.py | 26 +-- flo_ai/common/flo_logger.py | 2 +- flo_ai/core.py | 8 +- flo_ai/state/flo_session.py | 17 +- 6 files changed, 184 insertions(+), 196 deletions(-) diff --git a/.gitignore b/.gitignore index 3ae125bc..c483b139 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ dataset bin .DS_Store *.sql -*.png \ No newline at end of file +*.png +flo.log \ No newline at end of file diff --git a/examples/agent_of_flo_ai.ipynb b/examples/agent_of_flo_ai.ipynb index 19961864..2b8b6de5 100644 --- a/examples/agent_of_flo_ai.ipynb +++ b/examples/agent_of_flo_ai.ipynb @@ -17,33 +17,6 @@ "3. Tool LLM (`kind: tool`): These agents are just tools or functions that can be executed on the current state. Within the tool will be given the current state as the input, meaning the history of what happened in the flo until now" ] }, - { - "cell_type": "code", - "execution_count": 8, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Current working directory: /Users/thomas/Documents/projects/flo-4/flo-ai/examples\n", - "Python path: ['/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip', '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11', '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload', '', '/Users/thomas/Documents/projects/flo-4/flo-ai/flo4/lib/python3.11/site-packages', '/Users/thomas/Documents/projects/flo-4/flo-ai']\n", - "Successfully imported get_logger\n" - ] - } - ], - "source": [ - "import os , sys\n", - "print(\"Current working directory:\", os.getcwd())\n", - "print(\"Python path:\", sys.path)\n", - "try:\n", - " from flo_ai.common.flo_logger import get_logger\n", - " print(\"Successfully imported get_logger\")\n", - "except ImportError as e:\n", - " print(\"Failed to import get_logger:\", str(e))\n", - " # You can add more debugging information here" - ] - }, { "cell_type": "code", "execution_count": 1, @@ -63,6 +36,8 @@ "source": [ "from flo_ai import Flo\n", "from flo_ai import FloSession\n", + "from flo_ai.common.flo_logger import get_logger\n", + "from flo_ai.common.flo_callback_handler import FloCallbackHandler\n", "from langchain_openai import ChatOpenAI, OpenAIEmbeddings\n", "\n", "from dotenv import load_dotenv\n", @@ -70,69 +45,30 @@ ] }, { - "cell_type": "code", - "execution_count": 10, + "cell_type": "markdown", "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2024-09-12 13:58:30,392 - __main__ - ERROR - This is an error message.\n" - ] - } - ], "source": [ - "from flo_ai.common.flo_logger import FloLogger\n", - "logger1=FloLogger.get_logger(__name__)\n", - "logger1.error(\"This is an error message.\")" + "## Setup\n", + "Create the Flo session, setup tools" ] }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "WARNING:root:Something went wrong!\n" + "2024-09-17 13:57:40,859 - CustomFloSession - INFO - New FloSession created with ID: 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", + "2024-09-17 13:57:40,861 - CustomFloSession - INFO - Tool 'InternetSearchTool' registered for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n" ] - } - ], - "source": [ - "import logging\n", - "# logging.warning(\"Remain calm!\")\n", - "logging.basicConfig(\n", - " filename=\"app.log\",\n", - " encoding=\"utf-8\",\n", - " filemode=\"a\",\n", - " format=\"{asctime} - {levelname} - {message}\",\n", - " style=\"{\",\n", - " datefmt=\"%Y-%m-%d %H:%M\",\n", - " # level=logging.WARNING\n", - ")\n", - "logging.warning(\"Something went wrong!\")" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Setup\n", - "Create the Flo session, setup tools" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": {}, - "outputs": [ + }, { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 2, @@ -144,7 +80,18 @@ "from langchain_community.tools.tavily_search.tool import TavilySearchResults\n", "\n", "llm = ChatOpenAI(temperature=0, model_name='gpt-4o-mini')\n", - "session = FloSession(llm)\n", + "\n", + "# Create custom logger and callback handler\n", + "custom_logger_new = get_logger(\"CustomFloSession\", \"DEBUG\")\n", + "custom_callback = FloCallbackHandler(\"CustomFloCallback\", \"DEBUG\")\n", + "\n", + "session = FloSession(\n", + " llm, \n", + " log_level=\"DEBUG\",\n", + " custom_logger=custom_logger_new,\n", + " custom_callback_handler=custom_callback\n", + ")\n", + "\n", "\n", "session.register_tool(\n", " name=\"InternetSearchTool\", \n", @@ -185,71 +132,83 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, + "execution_count": 4, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-17 13:57:47,876 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-17 13:57:48,292 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", + "2024-09-17 13:57:48,293 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: Whats the whether in california\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "\n", + "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n", + "\u001b[32;1m\u001b[1;3m\n", + "Invoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n", + "\n", + "\n", + "\u001b[0m\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m\u001b[32;1m\u001b[1;3mThe weather in California during October 2023 has varied across different regions. Here are some highlights:\n", + "\n", + "1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\n", + "\n", + "2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\n", + "\n", + "3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \n", + "\n", + "For more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", + "\n", + "\u001b[1m> Finished chain.\u001b[0m\n" + ] + }, + { + "data": { + "text/plain": [ + "{'messages': [HumanMessage(content='Whats the whether in california')],\n", + " 'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "from langchain_core.callbacks import BaseCallbackHandler\n", - "from langchain_core.prompts import ChatPromptTemplate\n", - "from langchain_openai import ChatOpenAI\n", "flo = Flo.build(session, simple_weather_checking_agent)\n", "\n", - "\n", - "class MyCustomHandler(BaseCallbackHandler):\n", - " def on_llm_new_token(self, token: str, **kwargs) -> None:\n", - " print(f\"My custom handler, token: {token}\")\n", - "\n", - "\n", - "handler = MyCustomHandler()\n", - "config = {\n", - " 'callbacks' : [handler]\n", - "}\n", - "\n", - "query=\"Whats the whether in california\"\n", - "\n", - "flo.invoke(query=query, config=config)\n", - "\n", - " def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any:\n", - " \"\"\"Run on agent action.\"\"\"\n", - " \n", - "# prompt = ChatPromptTemplate.from_messages([\"Tell me a joke about {animal}\"])\n", - "\n", - "# To enable streaming, we pass in `streaming=True` to the ChatModel constructor\n", - "# Additionally, we pass in our custom handler as a list to the callbacks parameter\n", - "# model = ChatOpenAI(streaming=True, callbacks=[MyCustomHandler()])\n", - "\n", - "# chain = prompt | model\n", - "\n", - "# response = chain.invoke({\"animal\": \"bears\"})" + "flo.invoke(\"Whats the whether in california\")" ] }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-13 01:15:31,867 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", - "2024-09-13 01:15:31,900 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:31,913 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:31,921 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:31,926 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:31,930 - FloCallback - INFO - Chain ended. Outputs: []\n", - "2024-09-13 01:15:31,932 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []}\n", - "2024-09-13 01:15:31,935 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-13 01:15:31,937 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-13 01:15:31,939 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", - "2024-09-13 01:15:31,942 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" + "2024-09-17 13:58:00,020 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-17 13:58:00,036 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", + "2024-09-17 13:58:00,039 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: Whats the whether in california\n", + "2024-09-17 13:58:00,046 - FloCallback - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", + "2024-09-17 13:58:00,073 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:00,079 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:00,093 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:00,106 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:00,108 - FloCallback - INFO - onChainEnd: []\n", + "2024-09-17 13:58:00,110 - FloCallback - INFO - onChainEnd: {'agent_scratchpad': []}\n", + "2024-09-17 13:58:00,112 - FloCallback - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-17 13:58:00,117 - FloCallback - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-17 13:58:00,120 - FloCallback - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", + "2024-09-17 13:58:00,122 - FloCallback - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" ] }, { @@ -265,12 +224,12 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-13 01:15:33,913 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", - "2024-09-13 01:15:33,917 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-25eea023-57c1-4693-a62b-d99c2208555d' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]\n", - "2024-09-13 01:15:33,919 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", - "2024-09-13 01:15:33,921 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", - "2024-09-13 01:15:33,922 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'}\n", - "2024-09-13 01:15:33,924 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'}\n" + "2024-09-17 13:58:01,034 - FloCallback - INFO - onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", + "2024-09-17 13:58:01,037 - FloCallback - INFO - onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-91b02103-c7e0-4c25-a978-ea86019e7a44' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]\n", + "2024-09-17 13:58:01,039 - FloCallback - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", + "2024-09-17 13:58:01,043 - FloCallback - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", + "2024-09-17 13:58:01,046 - FloCallback - INFO - onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", + "2024-09-17 13:58:01,055 - FloCallback - INFO - onToolStart: {'query': 'California weather October 2023'}\n" ] }, { @@ -288,51 +247,51 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-13 01:15:38,441 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}]\n", - "2024-09-13 01:15:38,454 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:38,468 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:38,475 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:38,480 - FloCallback - INFO - Chain started. Inputs: {'input': ''}\n", - "2024-09-13 01:15:38,485 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", - "2024-09-13 01:15:38,487 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]}\n", - "2024-09-13 01:15:38,489 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]}\n", - "2024-09-13 01:15:38,494 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]}\n", - "2024-09-13 01:15:38,502 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]\n", - "2024-09-13 01:15:38,506 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726170321, \\'localtime\\': \\'2024-09-12 12:45\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726170300, \\'last_updated\\': \\'2024-09-12 12:45\\', \\'temp_c\\': 29.1, \\'temp_f\\': 84.4, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 2.2, \\'wind_kph\\': 3.6, \\'wind_degree\\': 10, \\'wind_dir\\': \\'N\\', \\'pressure_mb\\': 1008.0, \\'pressure_in\\': 29.77, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 11, \\'cloud\\': 0, \\'feelslike_c\\': 27.0, \\'feelslike_f\\': 80.5, \\'windchill_c\\': 26.0, \\'windchill_f\\': 78.7, \\'heatindex_c\\': 24.7, \\'heatindex_f\\': 76.4, \\'dewpoint_c\\': 1.0, \\'dewpoint_f\\': 33.8, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 7.0, \\'gust_mph\\': 6.7, \\'gust_kph\\': 10.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\\\\"Hg (Oct 7, 9 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.\"}]']\n" + "2024-09-17 13:58:05,355 - FloCallback - INFO - onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", + "2024-09-17 13:58:05,367 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:05,377 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:05,387 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:05,392 - FloCallback - INFO - onChainStart: {'input': ''}\n", + "2024-09-17 13:58:05,394 - FloCallback - INFO - onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", + "2024-09-17 13:58:05,397 - FloCallback - INFO - onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]}\n", + "2024-09-17 13:58:05,399 - FloCallback - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]}\n", + "2024-09-17 13:58:05,402 - FloCallback - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]}\n", + "2024-09-17 13:58:05,405 - FloCallback - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", + "2024-09-17 13:58:05,407 - FloCallback - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \"Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}]\u001b[0m" + "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-13 01:15:40,497 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-fd912116-3bcd-4807-afed-0c3335d27d11'))]]\n", - "2024-09-13 01:15:40,500 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-fd912116-3bcd-4807-afed-0c3335d27d11'\n", - "2024-09-13 01:15:40,502 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'\n", - "2024-09-13 01:15:40,504 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'\n", - "2024-09-13 01:15:40,505 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'}\n", - "2024-09-13 01:15:40,507 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'}\n" + "2024-09-17 13:58:08,478 - FloCallback - INFO - onLLMEnd: [[ChatGenerationChunk(text='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-0d8ede73-41e1-496d-96bd-54ccb79a911a'))]]\n", + "2024-09-17 13:58:08,481 - FloCallback - INFO - onChainStart: content='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-0d8ede73-41e1-496d-96bd-54ccb79a911a'\n", + "2024-09-17 13:58:08,483 - FloCallback - INFO - onChainEnd: return_values={'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", + "2024-09-17 13:58:08,485 - FloCallback - INFO - onChainEnd: return_values={'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", + "2024-09-17 13:58:08,487 - FloCallback - INFO - onAgentFinish: {'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n", + "2024-09-17 13:58:08,489 - FloCallback - INFO - onChainEnd: {'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[32;1m\u001b[1;3mThe current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n", + "\u001b[32;1m\u001b[1;3mThe weather in California during October 2023 has varied across different regions. Here are some highlights:\n", "\n", - "For a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n", + "1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\n", "\n", - "For more detailed forecasts and historical data, you can check the following sources:\n", - "- [Weather API](https://www.weatherapi.com/)\n", - "- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n", - "- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n", - "- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\u001b[0m\n", + "2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\n", + "\n", + "3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \n", + "\n", + "For more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", "\n", "\u001b[1m> Finished chain.\u001b[0m\n" ] @@ -341,17 +300,16 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\\n\\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\\n\\nFor more detailed forecasts and historical data, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'}" + " 'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" ] }, - "execution_count": 4, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "# from langchain_core.callbacks import StdOutCallbackHandler\n", - "# handler = StdOutCallbackHandler()\n", + "# with logging\n", "\n", "from flo_ai.common.flo_callback_handler import FloCallbackHandler\n", "\n", @@ -381,7 +339,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -399,25 +357,31 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-12 23:10:45,905 - Flo - INFO - Invoking query: What is pythagorus theorum\n" + "2024-09-17 14:00:37,552 - Flo.build - INFO - Building Flo instance from YAML\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-17 14:00:37,585 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", + "2024-09-17 14:00:37,588 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: What is pythagorus theorum\n" ] }, { "data": { "text/plain": [ - "\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\"" + "\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is very useful for calculating distances and for solving various problems in geometry. If you have any specific questions or examples you'd like to go through, feel free to ask!\"" ] }, - "execution_count": 17, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -438,25 +402,35 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-12 15:51:43,357 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-12 15:51:43,357 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-12 15:51:43,361 - Flo - INFO - Invoking query: Print what I am saying\n" + "2024-09-17 14:00:42,750 - CustomFloSession - INFO - Tool 'printStateTool' registered for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", + "2024-09-17 14:00:42,754 - Flo.build - INFO - Building Flo instance from YAML\n", + "2024-09-17 14:00:42,763 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", + "2024-09-17 14:00:42,768 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: Print what I am saying\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "{'messages': [HumanMessage(content='Print what I am saying')]}\n", - "Tool call success\n" + "{'messages': [HumanMessage(content='Print what I am saying')]}\n" ] + }, + { + "data": { + "text/plain": [ + "'Tool call success'" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ @@ -492,7 +466,7 @@ "\n", "flo = Flo.build(session, simple_tool_agent)\n", "\n", - "print(flo.invoke(\"Print what I am saying\"))" + "flo.invoke(\"Print what I am saying\")" ] } ], diff --git a/flo_ai/common/flo_callback_handler.py b/flo_ai/common/flo_callback_handler.py index f44731fa..23f6159d 100644 --- a/flo_ai/common/flo_callback_handler.py +++ b/flo_ai/common/flo_callback_handler.py @@ -8,40 +8,40 @@ def __init__(self, logger_name: str = "FloCallback", log_level: str = "INFO"): self.logger = get_logger(logger_name, log_level) def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any) -> None: - self.logger.info(f"LLM started. Prompts: {prompts}") + self.logger.info(f"onLLMStart: {prompts}") def on_llm_new_token(self, token: str, **kwargs: Any) -> None: - self.logger.debug(f"New token: {token}") + self.logger.debug(f"onNewToken: {token}") def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None: - self.logger.info(f"LLM ended. Output: {response.generations}") + self.logger.info(f"onLLMEnd: {response.generations}") def on_llm_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"LLM error: {error}") + self.logger.error(f"onLLMError: {error}") def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"Chain started. Inputs: {inputs}") + self.logger.info(f"onChainStart: {inputs}") def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"Chain ended. Outputs: {outputs}") + self.logger.info(f"onChainEnd: {outputs}") def on_chain_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"Chain error: {error}") + self.logger.error(f"onChainError: {error}") def on_tool_start(self, serialized: Dict[str, Any], input_str: str, **kwargs: Any) -> None: - self.logger.info(f"Tool started. Input: {input_str}") + self.logger.info(f"onToolStart: {input_str}") def on_tool_end(self, output: str, **kwargs: Any) -> None: - self.logger.info(f"Tool ended. Output: {output}") + self.logger.info(f"onToolEnd: {output}") def on_tool_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"Tool error: {error}") + self.logger.error(f"onToolError: {error}") def on_text(self, text: str, **kwargs: Any) -> None: - self.logger.info(f"Text: {text}") + self.logger.info(f"onText: {text}") def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any: - self.logger.info(f"Agent action: {action.tool} - {action.tool_input}") + self.logger.info(f"onAgentAction: {action.tool} - {action.tool_input}") def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None: - self.logger.info(f"Agent finished. Output: {finish.return_values}") \ No newline at end of file + self.logger.info(f"onAgentFinish: {finish.return_values}") \ No newline at end of file diff --git a/flo_ai/common/flo_logger.py b/flo_ai/common/flo_logger.py index 159d2054..3e4bcbb7 100644 --- a/flo_ai/common/flo_logger.py +++ b/flo_ai/common/flo_logger.py @@ -21,7 +21,7 @@ def __init__(self, name: str, level: str = "INFO", use_file: bool = True, file_p self.logger = logging.getLogger(name) if not self.logger.handlers: self.set_level(level) - self._setup_handler(use_file, file_path,max_bytes) + self._setup_handler(use_file, file_path, max_bytes) def _setup_handler(self, use_file: bool, file_path: str, max_bytes: int): handler = logging.StreamHandler() diff --git a/flo_ai/core.py b/flo_ai/core.py index a7def288..94f2da65 100644 --- a/flo_ai/core.py +++ b/flo_ai/core.py @@ -15,16 +15,18 @@ def __init__(self, session: FloSession, config: FloRoutedTeamConfig) -> None: self.config = config + self.session = session self.runnable: ExecutableFlo = build_supervised_team(session, config) - self.logger: FloLogger = get_logger("Flo", session.logger.logger.level) + self.logger = session.logger self.callback_handler = session.callback_handler + self.logger.info(f"Flo instance created for session {session.session_id}") def stream(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: - self.logger.info(f"Streaming query: {query}") + self.logger.info(f"Streaming query for session {self.session.session_id}: {query}") return self.runnable.stream(query, config) def invoke(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: - self.logger.info(f"Invoking query: {query}") + self.logger.info(f"Invoking query for session {self.session.session_id}: {query}") return self.runnable.invoke(query, config) @staticmethod diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index 435b1cc5..779ce6a2 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -1,10 +1,19 @@ +import uuid from langchain_core.language_models import BaseLanguageModel from langchain_core.tools import BaseTool from flo_ai.common.flo_logger import FloLogger, get_logger from flo_ai.common.flo_callback_handler import FloCallbackHandler +from typing import Optional class FloSession: - def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3,log_level: str = "DEBUG") -> None: + def __init__(self, + llm: BaseLanguageModel, + loop_size: int = 2, + max_loop: int = 3, + log_level: str = "DEBUG", + custom_logger: Optional[FloLogger] = None, + custom_callback_handler: Optional[FloCallbackHandler] = None) -> None: + self.session_id = str(uuid.uuid4()) self.llm = llm self.tools = dict() self.counter = dict() @@ -12,11 +21,13 @@ def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3 self.pattern_series = dict() self.loop_size: int = loop_size self.max_loop: int = max_loop - self.logger: FloLogger = get_logger("FloSession", log_level) - self.callback_handler = FloCallbackHandler("FloCallback", log_level) + self.logger = custom_logger or get_logger(f"FloSession-{self.session_id}", log_level) + self.callback_handler = custom_callback_handler or FloCallbackHandler(f"FloCallback-{self.session_id}", log_level) + self.logger.info(f"New FloSession created with ID: {self.session_id}") def register_tool(self, name: str, tool: BaseTool): self.tools[name] = tool + self.logger.info(f"Tool '{name}' registered for session {self.session_id}") return self def append(self, node: str) -> int: From 86a93428b448ac78090ec4078dd9e1f6aa74c470 Mon Sep 17 00:00:00 2001 From: thomastomy5 <69713148+thomastomy5@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:58:48 +0530 Subject: [PATCH 3/8] created common set of loggers and included readmefile for logging --- examples/agent_of_flo_ai.ipynb | 168 +++++++++++++------------- flo_ai/__init__.py | 2 +- flo_ai/common/README.md | 67 ++++++++++ flo_ai/common/__init__.py | 4 - flo_ai/common/flo_langchain_logger.py | 47 +++++++ flo_ai/common/flo_logger.py | 106 ++++++---------- flo_ai/core.py | 20 +-- flo_ai/state/flo_session.py | 14 +-- 8 files changed, 254 insertions(+), 174 deletions(-) create mode 100644 flo_ai/common/README.md create mode 100644 flo_ai/common/flo_langchain_logger.py diff --git a/examples/agent_of_flo_ai.ipynb b/examples/agent_of_flo_ai.ipynb index 2b8b6de5..bdcf20a2 100644 --- a/examples/agent_of_flo_ai.ipynb +++ b/examples/agent_of_flo_ai.ipynb @@ -37,7 +37,7 @@ "from flo_ai import Flo\n", "from flo_ai import FloSession\n", "from flo_ai.common.flo_logger import get_logger\n", - "from flo_ai.common.flo_callback_handler import FloCallbackHandler\n", + "from flo_ai.common.flo_langchain_logger import FloLangchainLogger\n", "from langchain_openai import ChatOpenAI, OpenAIEmbeddings\n", "\n", "from dotenv import load_dotenv\n", @@ -61,14 +61,14 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 13:57:40,859 - CustomFloSession - INFO - New FloSession created with ID: 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", - "2024-09-17 13:57:40,861 - CustomFloSession - INFO - Tool 'InternetSearchTool' registered for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n" + "2024-09-18 11:38:15,760 - SESSION - INFO - New FloSession created with ID: 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", + "2024-09-18 11:38:15,762 - SESSION - INFO - Tool 'InternetSearchTool' registered for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n" ] }, { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 2, @@ -83,13 +83,11 @@ "\n", "# Create custom logger and callback handler\n", "custom_logger_new = get_logger(\"CustomFloSession\", \"DEBUG\")\n", - "custom_callback = FloCallbackHandler(\"CustomFloCallback\", \"DEBUG\")\n", + "custom_callback = FloLangchainLogger(\"CustomFloCallback\", \"DEBUG\")\n", "\n", "session = FloSession(\n", " llm, \n", - " log_level=\"DEBUG\",\n", - " custom_logger=custom_logger_new,\n", - " custom_callback_handler=custom_callback\n", + " log_level=\"DEBUG\"\n", ")\n", "\n", "\n", @@ -139,9 +137,15 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 13:57:47,876 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-17 13:57:48,292 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", - "2024-09-17 13:57:48,293 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: Whats the whether in california\n" + "2024-09-18 11:38:25,283 - BUILDER - INFO - Building Flo instance from YAML\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-18 11:38:25,681 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", + "2024-09-18 11:38:25,681 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: Whats the whether in california\n" ] }, { @@ -155,15 +159,15 @@ "Invoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n", "\n", "\n", - "\u001b[0m\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m\u001b[32;1m\u001b[1;3mThe weather in California during October 2023 has varied across different regions. Here are some highlights:\n", + "\u001b[0m\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m\u001b[32;1m\u001b[1;3mThe weather in California varies by region, but here are some general details for October 2023:\n", "\n", - "1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\n", + "1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\n", "\n", - "2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\n", + "2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\n", "\n", - "3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \n", + "3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\n", "\n", - "For more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", + "For more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", "\n", "\u001b[1m> Finished chain.\u001b[0m\n" ] @@ -172,7 +176,7 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" + " 'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" ] }, "execution_count": 4, @@ -181,34 +185,24 @@ } ], "source": [ - "flo = Flo.build(session, simple_weather_checking_agent)\n", + "flo = Flo.build(session, simple_weather_checking_agent,log_level=\"DEBUG\")\n", "\n", "flo.invoke(\"Whats the whether in california\")" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 13:58:00,020 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-17 13:58:00,036 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", - "2024-09-17 13:58:00,039 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: Whats the whether in california\n", - "2024-09-17 13:58:00,046 - FloCallback - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", - "2024-09-17 13:58:00,073 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:00,079 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:00,093 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:00,106 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:00,108 - FloCallback - INFO - onChainEnd: []\n", - "2024-09-17 13:58:00,110 - FloCallback - INFO - onChainEnd: {'agent_scratchpad': []}\n", - "2024-09-17 13:58:00,112 - FloCallback - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-17 13:58:00,117 - FloCallback - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-17 13:58:00,120 - FloCallback - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", - "2024-09-17 13:58:00,122 - FloCallback - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" + "2024-09-18 11:39:12,102 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-18 11:39:12,113 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", + "2024-09-18 11:39:12,114 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: Whats the whether in california\n", + "2024-09-18 11:39:12,121 - FloLangChainLogger - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n" ] }, { @@ -224,12 +218,22 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 13:58:01,034 - FloCallback - INFO - onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", - "2024-09-17 13:58:01,037 - FloCallback - INFO - onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-91b02103-c7e0-4c25-a978-ea86019e7a44' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]\n", - "2024-09-17 13:58:01,039 - FloCallback - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", - "2024-09-17 13:58:01,043 - FloCallback - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", - "2024-09-17 13:58:01,046 - FloCallback - INFO - onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", - "2024-09-17 13:58:01,055 - FloCallback - INFO - onToolStart: {'query': 'California weather October 2023'}\n" + "2024-09-18 11:39:12,354 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:12,367 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:12,377 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:12,381 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:12,384 - FloLangChainLogger - INFO - onChainEnd: []\n", + "2024-09-18 11:39:12,387 - FloLangChainLogger - INFO - onChainEnd: {'agent_scratchpad': []}\n", + "2024-09-18 11:39:12,389 - FloLangChainLogger - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-18 11:39:12,391 - FloLangChainLogger - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-18 11:39:12,394 - FloLangChainLogger - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", + "2024-09-18 11:39:12,399 - FloLangChainLogger - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n", + "2024-09-18 11:39:13,206 - FloLangChainLogger - INFO - onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", + "2024-09-18 11:39:13,208 - FloLangChainLogger - INFO - onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-d4e32fd0-31fd-450a-b907-da73b11c2966' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]\n", + "2024-09-18 11:39:13,211 - FloLangChainLogger - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", + "2024-09-18 11:39:13,213 - FloLangChainLogger - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", + "2024-09-18 11:39:13,214 - FloLangChainLogger - INFO - onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", + "2024-09-18 11:39:13,216 - FloLangChainLogger - INFO - onToolStart: {'query': 'California weather October 2023'}\n" ] }, { @@ -247,51 +251,51 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 13:58:05,355 - FloCallback - INFO - onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", - "2024-09-17 13:58:05,367 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:05,377 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:05,387 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:05,392 - FloCallback - INFO - onChainStart: {'input': ''}\n", - "2024-09-17 13:58:05,394 - FloCallback - INFO - onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", - "2024-09-17 13:58:05,397 - FloCallback - INFO - onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]}\n", - "2024-09-17 13:58:05,399 - FloCallback - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]}\n", - "2024-09-17 13:58:05,402 - FloCallback - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]}\n", - "2024-09-17 13:58:05,405 - FloCallback - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-91b02103-c7e0-4c25-a978-ea86019e7a44', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ynjcmGUHsAvTrXuWTuhrAP9X', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ynjcmGUHsAvTrXuWTuhrAP9X')]\n", - "2024-09-17 13:58:05,407 - FloCallback - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726561652, \\'localtime\\': \\'2024-09-17 01:27\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726560900, \\'last_updated\\': \\'2024-09-17 01:15\\', \\'temp_c\\': 13.3, \\'temp_f\\': 55.9, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 9.2, \\'wind_kph\\': 14.8, \\'wind_degree\\': 255, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.9, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 51, \\'cloud\\': 0, \\'feelslike_c\\': 12.0, \\'feelslike_f\\': 53.6, \\'windchill_c\\': 5.7, \\'windchill_f\\': 42.3, \\'heatindex_c\\': 8.2, \\'heatindex_f\\': 46.7, \\'dewpoint_c\\': 6.1, \\'dewpoint_f\\': 43.0, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 16.7, \\'gust_kph\\': 26.8}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" + "2024-09-18 11:39:17,571 - FloLangChainLogger - INFO - onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", + "2024-09-18 11:39:17,585 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:17,597 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:17,605 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:17,609 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", + "2024-09-18 11:39:17,614 - FloLangChainLogger - INFO - onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", + "2024-09-18 11:39:17,619 - FloLangChainLogger - INFO - onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]}\n", + "2024-09-18 11:39:17,620 - FloLangChainLogger - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]}\n", + "2024-09-18 11:39:17,622 - FloLangChainLogger - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]}\n", + "2024-09-18 11:39:17,625 - FloLangChainLogger - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", + "2024-09-18 11:39:17,627 - FloLangChainLogger - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726561652, 'localtime': '2024-09-17 01:27'}, 'current': {'last_updated_epoch': 1726560900, 'last_updated': '2024-09-17 01:15', 'temp_c': 13.3, 'temp_f': 55.9, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 9.2, 'wind_kph': 14.8, 'wind_degree': 255, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.9, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 51, 'cloud': 0, 'feelslike_c': 12.0, 'feelslike_f': 53.6, 'windchill_c': 5.7, 'windchill_f': 42.3, 'heatindex_c': 8.2, 'heatindex_f': 46.7, 'dewpoint_c': 6.1, 'dewpoint_f': 43.0, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 16.7, 'gust_kph': 26.8}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" + "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 13:58:08,478 - FloCallback - INFO - onLLMEnd: [[ChatGenerationChunk(text='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-0d8ede73-41e1-496d-96bd-54ccb79a911a'))]]\n", - "2024-09-17 13:58:08,481 - FloCallback - INFO - onChainStart: content='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-0d8ede73-41e1-496d-96bd-54ccb79a911a'\n", - "2024-09-17 13:58:08,483 - FloCallback - INFO - onChainEnd: return_values={'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", - "2024-09-17 13:58:08,485 - FloCallback - INFO - onChainEnd: return_values={'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", - "2024-09-17 13:58:08,487 - FloCallback - INFO - onAgentFinish: {'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n", - "2024-09-17 13:58:08,489 - FloCallback - INFO - onChainEnd: {'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n" + "2024-09-18 11:39:19,778 - FloLangChainLogger - INFO - onLLMEnd: [[ChatGenerationChunk(text='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-4ccf3465-6e1e-4472-a79e-9ec3b5bf2d42'))]]\n", + "2024-09-18 11:39:19,781 - FloLangChainLogger - INFO - onChainStart: content='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-4ccf3465-6e1e-4472-a79e-9ec3b5bf2d42'\n", + "2024-09-18 11:39:19,784 - FloLangChainLogger - INFO - onChainEnd: return_values={'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", + "2024-09-18 11:39:19,786 - FloLangChainLogger - INFO - onChainEnd: return_values={'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", + "2024-09-18 11:39:19,787 - FloLangChainLogger - INFO - onAgentFinish: {'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n", + "2024-09-18 11:39:19,788 - FloLangChainLogger - INFO - onChainEnd: {'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[32;1m\u001b[1;3mThe weather in California during October 2023 has varied across different regions. Here are some highlights:\n", + "\u001b[32;1m\u001b[1;3mThe weather in California varies by region, but here are some general details for October 2023:\n", "\n", - "1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\n", + "1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\n", "\n", - "2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\n", + "2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\n", "\n", - "3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \n", + "3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\n", "\n", - "For more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", + "For more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", "\n", "\u001b[1m> Finished chain.\u001b[0m\n" ] @@ -300,10 +304,10 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The weather in California during October 2023 has varied across different regions. Here are some highlights:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is approximately 13.3°C (55.9°F) with clear skies. The wind is blowing from the west-southwest at about 9.2 mph, and the humidity is around 51%.\\n\\n2. **Los Angeles**: The weather reports indicate that Los Angeles experienced a high of 92°F on October 5, with humidity reaching 100% on October 7.\\n\\n3. **General Forecast**: Throughout October, temperatures have ranged from highs in the upper 70s to low 90s°F, with lows typically in the 50s°F. \\n\\nFor more detailed and specific forecasts, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" + " 'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" ] }, - "execution_count": 5, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -311,11 +315,11 @@ "source": [ "# with logging\n", "\n", - "from flo_ai.common.flo_callback_handler import FloCallbackHandler\n", + "from flo_ai.common.flo_langchain_logger import FloLangchainLogger\n", "\n", "flo = Flo.build(session, simple_weather_checking_agent)\n", "\n", - "handler = FloCallbackHandler(log_level=\"INFO\")\n", + "handler = FloLangchainLogger(log_level=\"INFO\")\n", "\n", "config = {\n", " 'callbacks' : [handler]\n", @@ -339,7 +343,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -357,31 +361,25 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 14:00:37,552 - Flo.build - INFO - Building Flo instance from YAML\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2024-09-17 14:00:37,585 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", - "2024-09-17 14:00:37,588 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: What is pythagorus theorum\n" + "2024-09-18 11:39:26,151 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-18 11:39:26,163 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", + "2024-09-18 11:39:26,169 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: What is pythagorus theorum\n" ] }, { "data": { "text/plain": [ - "\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is very useful for calculating distances and for solving various problems in geometry. If you have any specific questions or examples you'd like to go through, feel free to ask!\"" + "\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\"" ] }, - "execution_count": 7, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -402,17 +400,17 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 9, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-17 14:00:42,750 - CustomFloSession - INFO - Tool 'printStateTool' registered for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", - "2024-09-17 14:00:42,754 - Flo.build - INFO - Building Flo instance from YAML\n", - "2024-09-17 14:00:42,763 - CustomFloSession - INFO - Flo instance created for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda\n", - "2024-09-17 14:00:42,768 - CustomFloSession - INFO - Invoking query for session 3ec65857-96ef-40c0-8323-6f3e5cf8dbda: Print what I am saying\n" + "2024-09-18 11:39:31,032 - SESSION - INFO - Tool 'printStateTool' registered for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", + "2024-09-18 11:39:31,034 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-18 11:39:31,037 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", + "2024-09-18 11:39:31,038 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: Print what I am saying\n" ] }, { @@ -428,7 +426,7 @@ "'Tool call success'" ] }, - "execution_count": 8, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } diff --git a/flo_ai/__init__.py b/flo_ai/__init__.py index 3ce55db3..8691bfd7 100644 --- a/flo_ai/__init__.py +++ b/flo_ai/__init__.py @@ -5,4 +5,4 @@ from flo_ai.state.flo_session import FloSession from flo_ai.retrievers.flo_retriever import FloRagBuilder from flo_ai.common.flo_logger import get_logger -from flo_ai.common.flo_callback_handler import FloCallbackHandler +from flo_ai.common.flo_langchain_logger import FloLangchainLogger diff --git a/flo_ai/common/README.md b/flo_ai/common/README.md new file mode 100644 index 00000000..4c65d651 --- /dev/null +++ b/flo_ai/common/README.md @@ -0,0 +1,67 @@ +# Understanding Log Levels + +FLO uses standard Python logging levels to indicate the severity of logged messages. Here are the common levels used (from least to most severe): + +DEBUG: Detailed information for debugging purposes. +INFO: Informational messages about the normal operation of the system. +WARNING: Potential issues or unexpected conditions. +ERROR: Errors that may have caused the system to malfunction. +CRITICAL: Critical errors that have caused the system to crash. +By adjusting the log level, you can control how much information is logged and the verbosity of the output. + +Controlling Log Levels +FLO provides multiple ways to control log levels: + +1. Environment Variables: + +Export environment variables to set the log level for specific components before running the application: + +FLO_LOG_LEVEL_COMMON: Controls the level for the "CommonLogs" logger. +FLO_LOG_LEVEL_BUILDER: Controls the level for the "BuilderLogs" logger. +FLO_LOG_LEVEL_SESSION: Controls the level for the "SessionLogs" logger. + +Example: + +export FLO_LOG_LEVEL_COMMON=DEBUG +export FLO_LOG_LEVEL_BUILDER=INFO +export FLO_LOG_LEVEL_SESSION=WARNING + + +2. FloSession Creation: + +When creating a FloSession object, you can specify the desired log level: + +session = FloSession(llm, log_level="DEBUG") + + This session will log messages at DEBUG level and above. + +3. Flo Instance Creation: + +Similar to FloSession, you can set the log level when creating a Flo instance: + +flo = Flo.build(session, yaml_config, log_level="DEBUG") + +This Flo instance will inherit the specified log level. + +4. Global Log Level Change (Runtime): + +You can dynamically change the global log level at runtime using the set_global_log_level function from flo_ai.common.logging_config: + +from flo_ai.common.logging_config import set_global_log_level + +set_global_log_level("DEBUG") # Set the global log level to DEBUG + +This will affect all logging throughout the application. + +5. Specific Logger Level Change (Runtime): + +If you need to adjust the level for a specific logger, use the set_log_level method of the FloLogger class: + +from flo_ai.common.logging_config import FloLogger + +FloLogger.set_log_level("COMMON", "DEBUG") # Set COMMON logger to DEBUG level + + +Environment variables: Use these for setting default levels without modifying code, useful in different deployment environments. +Object creation: This approach allows setting specific levels for individual sessions or Flo instances. +Runtime changes: Use these methods for dynamic adjustments during program execution. \ No newline at end of file diff --git a/flo_ai/common/__init__.py b/flo_ai/common/__init__.py index c3dade93..e69de29b 100644 --- a/flo_ai/common/__init__.py +++ b/flo_ai/common/__init__.py @@ -1,4 +0,0 @@ -from .flo_logger import get_logger, FloLogger -from .flo_callback_handler import FloCallbackHandler - -__all__ = ['get_logger', 'FloLogger', 'FloCallbackHandler'] \ No newline at end of file diff --git a/flo_ai/common/flo_langchain_logger.py b/flo_ai/common/flo_langchain_logger.py new file mode 100644 index 00000000..3cfe1525 --- /dev/null +++ b/flo_ai/common/flo_langchain_logger.py @@ -0,0 +1,47 @@ +from typing import Any, Dict, List, Union +from langchain.callbacks.base import BaseCallbackHandler +from langchain.schema import AgentAction, AgentFinish, LLMResult +from flo_ai.common.flo_logger import get_logger + +class FloLangchainLogger(BaseCallbackHandler): + def __init__(self, logger_name: str = "FloLangChainLogger", log_level: str = "INFO"): + self.logger = get_logger(logger_name, log_level) + + def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any) -> None: + self.logger.info(f"onLLMStart: {prompts}") + + def on_llm_new_token(self, token: str, **kwargs: Any) -> None: + self.logger.debug(f"onNewToken: {token}") + + def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None: + self.logger.info(f"onLLMEnd: {response.generations}") + + def on_llm_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: + self.logger.error(f"onLLMError: {error}") + + def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> None: + self.logger.info(f"onChainStart: {inputs}") + + def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None: + self.logger.info(f"onChainEnd: {outputs}") + + def on_chain_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: + self.logger.error(f"onChainError: {error}") + + def on_tool_start(self, serialized: Dict[str, Any], input_str: str, **kwargs: Any) -> None: + self.logger.info(f"onToolStart: {input_str}") + + def on_tool_end(self, output: str, **kwargs: Any) -> None: + self.logger.info(f"onToolEnd: {output}") + + def on_tool_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: + self.logger.error(f"onToolError: {error}") + + def on_text(self, text: str, **kwargs: Any) -> None: + self.logger.info(f"onText: {text}") + + def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any: + self.logger.info(f"onAgentAction: {action.tool} - {action.tool_input}") + + def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None: + self.logger.info(f"onAgentFinish: {finish.return_values}") \ No newline at end of file diff --git a/flo_ai/common/flo_logger.py b/flo_ai/common/flo_logger.py index 3e4bcbb7..31f09c7f 100644 --- a/flo_ai/common/flo_logger.py +++ b/flo_ai/common/flo_logger.py @@ -1,78 +1,46 @@ -import logging import os +import logging from logging.handlers import RotatingFileHandler -from typing import Optional - - -class FloLogger: - _instances = {} +from typing import Dict, Optional - def __new__(cls, name: str, level: str = "INFO", use_file: bool = True, file_path: str = "flo.log", max_bytes: int = 1048576): - """ - Custom new method to check for existing instance. - """ - if name not in cls._instances: - instance = super().__new__(cls) - cls._instances[name] = instance - return cls._instances[name] +class FloLoggerUtil(logging.Logger): + def __init__(self, name: str, level: str = "INFO", use_file: bool = False, file_path: str = None, max_bytes: int = 1048576): + super().__init__(name, level) + self.setLevel(level) - def __init__(self, name: str, level: str = "INFO", use_file: bool = True, file_path: str = "flo.log", max_bytes: int = 1048576): - - self.logger = logging.getLogger(name) - if not self.logger.handlers: - self.set_level(level) - self._setup_handler(use_file, file_path, max_bytes) - - def _setup_handler(self, use_file: bool, file_path: str, max_bytes: int): - handler = logging.StreamHandler() formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') - handler.setFormatter(formatter) - self.logger.addHandler(handler) + + console_handler = logging.StreamHandler() + console_handler.setFormatter(formatter) + self.addHandler(console_handler) if use_file: - log_file_path = os.path.join(os.path.dirname(__file__), file_path) - file_handler = RotatingFileHandler( - log_file_path, - maxBytes=max_bytes, - ) + file_handler = RotatingFileHandler(file_path or f"{name}.log", maxBytes=max_bytes) file_handler.setFormatter(formatter) - self.logger.addHandler(file_handler) - - def set_level(self, level): - if isinstance(level, str): - level = getattr(logging, level.upper(), logging.INFO) - self.logger.setLevel(level) + self.addHandler(file_handler) - def debug(self, message: str): - self.logger.debug(message) - - def info(self, message: str): - self.logger.info(message) - - def warning(self, message: str): - self.logger.warning(message) - - def error(self, message: str): - self.logger.error(message) - - def critical(self, message: str): - self.logger.critical(message) - - -def get_logger(name: str, level: Optional[str] = 'INFO', use_file: bool = True, file_path: str = "flo.log") -> FloLogger: - """ - Creates a FloLogger instance with optional file logging and caching. - - Args: - name: The name of the logger. - level: The logging level (default: INFO). - use_file: Whether to log to a file (default: False). - file_path: The path to the log file (default: "flo.log"). - max_bytes: The maximum size of the log file before it gets rotated (default: 1MB). - - Returns: - A FloLogger instance. - """ - - logger = FloLogger(name, level, use_file, file_path) - return logger \ No newline at end of file +class FloLogger: + _loggers = {} + + @classmethod + def get_logger(cls, name: str, level: str = None, use_file: bool = False, file_path: str = None, max_bytes: int = 1048576) -> FloLoggerUtil: + if name not in cls._loggers: + level = level or os.environ.get(f"FLO_LOG_LEVEL_{name.upper()}", "INFO") + cls._loggers[name] = FloLoggerUtil(name, level, use_file, file_path, max_bytes) + return cls._loggers[name] + + @classmethod + def set_log_level(cls, name: str, level: str): + if name in cls._loggers: + cls._loggers[name].setLevel(level) + +def get_logger(name: str, level: str = None, use_file: bool = False, file_path: str = None, max_bytes: int = 1048576) -> FloLoggerUtil: + return FloLogger.get_logger(name, level, use_file, file_path, max_bytes) + +common_logger = get_logger("COMMON") +builder_logger = get_logger("BUILDER") +session_logger = get_logger("SESSION") + +def set_global_log_level(level: str): + for name in ["COMMON", "BUILDER", "SESSION"]: + FloLogger.set_log_level(name, level) \ No newline at end of file diff --git a/flo_ai/core.py b/flo_ai/core.py index 94f2da65..2a62ee6d 100644 --- a/flo_ai/core.py +++ b/flo_ai/core.py @@ -7,18 +7,22 @@ ) from flo_ai.state.flo_session import FloSession from flo_ai.models.flo_executable import ExecutableFlo -from flo_ai.common.flo_logger import FloLogger, get_logger +from flo_ai.common.flo_logger import common_logger, builder_logger, FloLogger class Flo: def __init__(self, session: FloSession, - config: FloRoutedTeamConfig) -> None: + config: FloRoutedTeamConfig, + log_level: str = "INFO") -> None: self.config = config self.session = session self.runnable: ExecutableFlo = build_supervised_team(session, config) - self.logger = session.logger - self.callback_handler = session.callback_handler + + FloLogger.set_log_level("COMMON", log_level) + FloLogger.set_log_level("BUILDER", log_level) + self.logger = common_logger + self.langchain_logger = session.langchain_logger self.logger.info(f"Flo instance created for session {session.session_id}") def stream(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: @@ -30,10 +34,10 @@ def invoke(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: return self.runnable.invoke(query, config) @staticmethod - def build(session: FloSession, yaml: str): - logger = get_logger("Flo.build", session.logger.logger.level) - logger.info("Building Flo instance from YAML") - return Flo(session, to_supervised_team(yaml)) + def build(session: FloSession, yaml: str, log_level: str = "INFO"): + FloLogger.set_log_level("BUILDER", log_level) + builder_logger.info("Building Flo instance from YAML") + return Flo(session, to_supervised_team(yaml), log_level) def draw(self, xray=True): return self.runnable.draw(xray) diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index 779ce6a2..c3f22570 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -1,8 +1,8 @@ import uuid from langchain_core.language_models import BaseLanguageModel from langchain_core.tools import BaseTool -from flo_ai.common.flo_logger import FloLogger, get_logger -from flo_ai.common.flo_callback_handler import FloCallbackHandler +from flo_ai.common.flo_logger import session_logger, FloLogger, get_logger +from flo_ai.common.flo_langchain_logger import FloLangchainLogger from typing import Optional class FloSession: @@ -10,9 +10,8 @@ def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3, - log_level: str = "DEBUG", - custom_logger: Optional[FloLogger] = None, - custom_callback_handler: Optional[FloCallbackHandler] = None) -> None: + log_level: str = "INFO", + custom_langchainlog_handler: Optional[FloLangchainLogger] = None) -> None: self.session_id = str(uuid.uuid4()) self.llm = llm self.tools = dict() @@ -21,9 +20,10 @@ def __init__(self, self.pattern_series = dict() self.loop_size: int = loop_size self.max_loop: int = max_loop - self.logger = custom_logger or get_logger(f"FloSession-{self.session_id}", log_level) - self.callback_handler = custom_callback_handler or FloCallbackHandler(f"FloCallback-{self.session_id}", log_level) + FloLogger.set_log_level("SESSION", log_level) + self.logger = session_logger self.logger.info(f"New FloSession created with ID: {self.session_id}") + self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(f"FloLangChainLogger-{self.session_id}", log_level) def register_tool(self, name: str, tool: BaseTool): self.tools[name] = tool From 05e5b51a77fb82419d8e03fa6ade866291c5e9a1 Mon Sep 17 00:00:00 2001 From: thomastomy5 <69713148+thomastomy5@users.noreply.github.com> Date: Fri, 20 Sep 2024 01:03:54 +0530 Subject: [PATCH 4/8] updated README and changed the config updation location to core --- .gitignore | 2 +- examples/agent_of_flo_ai.ipynb | 701 +++++++++++++++++++++++--- flo_ai/__init__.py | 2 +- flo_ai/common/README.md | 59 ++- flo_ai/common/flo_callback_handler.py | 47 -- flo_ai/common/flo_langchain_logger.py | 30 +- flo_ai/core.py | 15 +- flo_ai/state/flo_session.py | 2 + 8 files changed, 689 insertions(+), 169 deletions(-) delete mode 100644 flo_ai/common/flo_callback_handler.py diff --git a/.gitignore b/.gitignore index c483b139..b30631b0 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ bin .DS_Store *.sql *.png -flo.log \ No newline at end of file +*.log \ No newline at end of file diff --git a/examples/agent_of_flo_ai.ipynb b/examples/agent_of_flo_ai.ipynb index bdcf20a2..558d5f32 100644 --- a/examples/agent_of_flo_ai.ipynb +++ b/examples/agent_of_flo_ai.ipynb @@ -61,14 +61,14 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:38:15,760 - SESSION - INFO - New FloSession created with ID: 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", - "2024-09-18 11:38:15,762 - SESSION - INFO - Tool 'InternetSearchTool' registered for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n" + "2024-09-20 00:37:39,725 - SESSION - INFO - New FloSession created with ID: dd5c4a4c-4390-46bc-945d-eb9474e63702\n", + "2024-09-20 00:37:39,726 - SESSION - INFO - Tool 'InternetSearchTool' registered for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n" ] }, { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 2, @@ -78,19 +78,19 @@ ], "source": [ "from langchain_community.tools.tavily_search.tool import TavilySearchResults\n", + "from flo_ai.common.flo_langchain_logger import FloLangchainLogger\n", "\n", "llm = ChatOpenAI(temperature=0, model_name='gpt-4o-mini')\n", "\n", - "# Create custom logger and callback handler\n", - "custom_logger_new = get_logger(\"CustomFloSession\", \"DEBUG\")\n", - "custom_callback = FloLangchainLogger(\"CustomFloCallback\", \"DEBUG\")\n", + "# Create custom FloLangchainLogger\n", + "# custom_langchainlog_handler = FloLangchainLogger(\"CustomFloCallback\", \"DEBUG\")\n", "\n", "session = FloSession(\n", " llm, \n", + " # custom_langchainlog_handler=custom_langchainlog_handler,\n", " log_level=\"DEBUG\"\n", ")\n", "\n", - "\n", "session.register_tool(\n", " name=\"InternetSearchTool\", \n", " tool=TavilySearchResults()\n", @@ -137,37 +137,305 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:38:25,283 - BUILDER - INFO - Building Flo instance from YAML\n" + "2024-09-20 00:37:51,794 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-20 00:37:52,205 - COMMON - INFO - Flo instance created for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n", + "2024-09-20 00:37:52,206 - COMMON - INFO - Invoking query for session dd5c4a4c-4390-46bc-945d-eb9474e63702: Whats the whether in california\n", + "2024-09-20 00:37:52,213 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", + "2024-09-20 00:37:52,249 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:52,271 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:52,279 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:52,281 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:52,285 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: []\n", + "2024-09-20 00:37:52,286 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'agent_scratchpad': []}\n", + "2024-09-20 00:37:52,288 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-20 00:37:52,296 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-20 00:37:52,297 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", + "2024-09-20 00:37:52,301 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "\n", + "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:38:25,681 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", - "2024-09-18 11:38:25,681 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: Whats the whether in california\n" + "2024-09-20 00:37:53,175 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,177 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,179 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,181 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,205 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,208 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,212 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,215 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,254 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,257 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,259 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,261 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:53,263 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", + "2024-09-20 00:37:53,265 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]\n", + "2024-09-20 00:37:53,266 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", + "2024-09-20 00:37:53,267 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", + "2024-09-20 00:37:53,268 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", + "2024-09-20 00:37:53,270 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolStart: {'query': 'California weather October 2023'}\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\n", - "\n", - "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n", "\u001b[32;1m\u001b[1;3m\n", "Invoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n", "\n", "\n", - "\u001b[0m\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m\u001b[32;1m\u001b[1;3mThe weather in California varies by region, but here are some general details for October 2023:\n", + "\u001b[0m" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-20 00:37:57,165 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", + "2024-09-20 00:37:57,184 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:57,200 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:57,210 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:57,214 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:37:57,217 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", + "2024-09-20 00:37:57,220 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]}\n", + "2024-09-20 00:37:57,223 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]}\n", + "2024-09-20 00:37:57,225 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]}\n", + "2024-09-20 00:37:57,228 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", + "2024-09-20 00:37:57,230 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-20 00:37:58,002 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:58,005 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: The\n", + "2024-09-20 00:37:58,030 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: current\n", + "2024-09-20 00:37:58,032 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", + "2024-09-20 00:37:58,065 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: in\n", + "2024-09-20 00:37:58,067 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", + "2024-09-20 00:37:58,095 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: is\n", + "2024-09-20 00:37:58,096 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: as\n", + "2024-09-20 00:37:58,183 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: follows\n", + "2024-09-20 00:37:58,186 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "\n", "\n", - "1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\n", + "2024-09-20 00:37:58,220 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:58,222 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,225 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Temperature\n", + "2024-09-20 00:37:58,228 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,229 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:37:58,231 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:58,233 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 22\n", + "2024-09-20 00:37:58,267 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:37:58,269 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:37:58,304 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: °C\n", + "2024-09-20 00:37:58,306 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", + "2024-09-20 00:37:58,326 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 72\n", + "2024-09-20 00:37:58,329 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:37:58,357 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 1\n", + "2024-09-20 00:37:58,359 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: °F\n", + "2024-09-20 00:37:58,386 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", "\n", - "2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\n", + "2024-09-20 00:37:58,388 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:58,419 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,421 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Condition\n", + "2024-09-20 00:37:58,475 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,478 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:37:58,495 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Sunny\n", + "2024-09-20 00:37:58,497 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "\n", + "2024-09-20 00:37:58,516 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:58,518 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,548 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Wind\n", + "2024-09-20 00:37:58,550 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,580 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:37:58,582 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:58,624 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:37:58,626 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:37:58,642 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 4\n", + "2024-09-20 00:37:58,644 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: mph\n", + "2024-09-20 00:37:58,675 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", + "2024-09-20 00:37:58,677 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 5\n", + "2024-09-20 00:37:58,700 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:37:58,702 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 4\n", + "2024-09-20 00:37:58,728 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: k\n", + "2024-09-20 00:37:58,729 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ph\n", + "2024-09-20 00:37:58,771 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "2024-09-20 00:37:58,774 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: from\n", + "2024-09-20 00:37:58,813 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: the\n", + "2024-09-20 00:37:58,815 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: SSE\n", + "2024-09-20 00:37:58,826 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "\n", + "2024-09-20 00:37:58,829 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:58,860 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,862 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Humidity\n", + "2024-09-20 00:37:58,897 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,900 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:37:58,926 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:58,927 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 35\n", + "2024-09-20 00:37:58,950 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: %\n", + "\n", + "2024-09-20 00:37:58,952 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:58,975 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:58,977 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Pressure\n", + "2024-09-20 00:37:59,020 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:59,022 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:37:59,041 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:59,043 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 101\n", + "2024-09-20 00:37:59,073 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:37:59,075 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: mb\n", + "2024-09-20 00:37:59,099 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "\n", + "2024-09-20 00:37:59,102 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:59,136 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:59,137 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Visibility\n", + "2024-09-20 00:37:59,166 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:37:59,168 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:37:59,218 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:37:59,221 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 16\n", + "2024-09-20 00:37:59,262 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: km\n", + "2024-09-20 00:37:59,264 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", + "2024-09-20 00:37:59,309 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 9\n", + "2024-09-20 00:37:59,311 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: miles\n", + "2024-09-20 00:37:59,376 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "\n", + "\n", + "2024-09-20 00:37:59,378 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: For\n", + "2024-09-20 00:37:59,429 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: more\n", + "2024-09-20 00:37:59,432 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: detailed\n", + "2024-09-20 00:37:59,435 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", + "2024-09-20 00:37:59,512 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: information\n", + "2024-09-20 00:37:59,516 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ,\n", + "2024-09-20 00:37:59,558 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: you\n", + "2024-09-20 00:37:59,560 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: can\n", + "2024-09-20 00:37:59,585 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: check\n", + "2024-09-20 00:37:59,587 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: the\n", + "2024-09-20 00:37:59,593 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: following\n", + "2024-09-20 00:37:59,595 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: sources\n", + "2024-09-20 00:37:59,622 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "\n", + "2024-09-20 00:37:59,625 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:59,673 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:37:59,675 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", + "2024-09-20 00:37:59,677 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: API\n", + "2024-09-20 00:37:59,703 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:37:59,706 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:37:59,736 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:37:59,738 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", + "2024-09-20 00:37:59,799 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .weather\n", + "2024-09-20 00:37:59,802 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: api\n", + "2024-09-20 00:37:59,807 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", + "2024-09-20 00:37:59,809 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /)\n", + "\n", + "2024-09-20 00:37:59,840 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:59,842 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:37:59,865 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Time\n", + "2024-09-20 00:37:59,867 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: and\n", + "2024-09-20 00:37:59,904 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Date\n", + "2024-09-20 00:37:59,908 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:37:59,929 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Los\n", + "2024-09-20 00:37:59,930 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Angeles\n", + "2024-09-20 00:37:59,960 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", + "2024-09-20 00:37:59,962 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:37:59,996 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:37:59,998 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:38:00,036 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", + "2024-09-20 00:38:00,039 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .time\n", + "2024-09-20 00:38:00,064 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: and\n", + "2024-09-20 00:38:00,066 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: date\n", + "2024-09-20 00:38:00,107 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", + "2024-09-20 00:38:00,109 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /weather\n", + "2024-09-20 00:38:00,152 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:00,156 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: usa\n", + "2024-09-20 00:38:00,184 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:00,186 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: los\n", + "2024-09-20 00:38:00,248 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -ang\n", + "2024-09-20 00:38:00,249 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: eles\n", + "2024-09-20 00:38:00,307 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /h\n", + "2024-09-20 00:38:00,309 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: istor\n", + "2024-09-20 00:38:00,310 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ic\n", + "2024-09-20 00:38:00,312 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ?\n", + "2024-09-20 00:38:00,326 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: month\n", + "2024-09-20 00:38:00,327 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: =\n", + "2024-09-20 00:38:00,365 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 10\n", + "2024-09-20 00:38:00,367 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: &\n", + "2024-09-20 00:38:00,394 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: year\n", + "2024-09-20 00:38:00,396 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: =\n", + "2024-09-20 00:38:00,423 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 202\n", + "2024-09-20 00:38:00,424 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:38:00,459 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "\n", + "2024-09-20 00:38:00,461 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:00,490 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:38:00,492 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: M\n", + "2024-09-20 00:38:00,522 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ete\n", + "2024-09-20 00:38:00,525 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: op\n", + "2024-09-20 00:38:00,558 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: rog\n", + "2024-09-20 00:38:00,560 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:00,589 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", + "2024-09-20 00:38:00,591 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", + "2024-09-20 00:38:00,652 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:38:00,655 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:38:00,690 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:38:00,692 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", + "2024-09-20 00:38:00,728 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .m\n", + "2024-09-20 00:38:00,731 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ete\n", + "2024-09-20 00:38:00,759 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: op\n", + "2024-09-20 00:38:00,761 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: rog\n", + "2024-09-20 00:38:00,790 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", + "2024-09-20 00:38:00,792 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /weather\n", + "2024-09-20 00:38:00,812 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:00,814 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", + "2024-09-20 00:38:00,851 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -cal\n", + "2024-09-20 00:38:00,853 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ifornia\n", + "2024-09-20 00:38:00,878 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /month\n", + "2024-09-20 00:38:00,880 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /oct\n", + "2024-09-20 00:38:00,902 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ober\n", + "2024-09-20 00:38:00,904 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /)\n", + "2024-09-20 00:38:00,907 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:00,910 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGenerationChunk(text='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-90ba2e4f-fa02-40a6-b458-74e48d84b92f'))]]\n", + "2024-09-20 00:38:00,912 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-90ba2e4f-fa02-40a6-b458-74e48d84b92f'\n", + "2024-09-20 00:38:00,913 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'\n", + "2024-09-20 00:38:00,914 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'\n", + "2024-09-20 00:38:00,914 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onAgentFinish: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'}\n", + "2024-09-20 00:38:00,915 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'}\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[32;1m\u001b[1;3mThe current weather in California is as follows:\n", "\n", - "3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\n", + "- **Temperature**: 22.3°C (72.1°F)\n", + "- **Condition**: Sunny\n", + "- **Wind**: 3.4 mph (5.4 kph) from the SSE\n", + "- **Humidity**: 35%\n", + "- **Pressure**: 1013 mb\n", + "- **Visibility**: 16 km (9 miles)\n", "\n", - "For more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", + "For more detailed weather information, you can check the following sources:\n", + "- [Weather API](https://www.weatherapi.com/)\n", + "- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n", + "- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\u001b[0m\n", "\n", "\u001b[1m> Finished chain.\u001b[0m\n" ] @@ -176,7 +444,7 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" + " 'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'}" ] }, "execution_count": 4, @@ -192,17 +460,27 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:39:12,102 - BUILDER - INFO - Building Flo instance from YAML\n", - "2024-09-18 11:39:12,113 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", - "2024-09-18 11:39:12,114 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: Whats the whether in california\n", - "2024-09-18 11:39:12,121 - FloLangChainLogger - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n" + "2024-09-20 00:38:07,862 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-20 00:38:07,870 - COMMON - INFO - Flo instance created for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n", + "2024-09-20 00:38:07,872 - COMMON - INFO - Invoking query for session dd5c4a4c-4390-46bc-945d-eb9474e63702: Whats the whether in california\n", + "2024-09-20 00:38:07,876 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", + "2024-09-20 00:38:07,901 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:08,012 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:08,035 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:08,038 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:08,041 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: []\n", + "2024-09-20 00:38:08,042 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'agent_scratchpad': []}\n", + "2024-09-20 00:38:08,043 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-20 00:38:08,045 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-20 00:38:08,047 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", + "2024-09-20 00:38:08,048 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" ] }, { @@ -218,22 +496,24 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:39:12,354 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:12,367 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:12,377 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:12,381 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:12,384 - FloLangChainLogger - INFO - onChainEnd: []\n", - "2024-09-18 11:39:12,387 - FloLangChainLogger - INFO - onChainEnd: {'agent_scratchpad': []}\n", - "2024-09-18 11:39:12,389 - FloLangChainLogger - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-18 11:39:12,391 - FloLangChainLogger - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-18 11:39:12,394 - FloLangChainLogger - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", - "2024-09-18 11:39:12,399 - FloLangChainLogger - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n", - "2024-09-18 11:39:13,206 - FloLangChainLogger - INFO - onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", - "2024-09-18 11:39:13,208 - FloLangChainLogger - INFO - onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-d4e32fd0-31fd-450a-b907-da73b11c2966' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]\n", - "2024-09-18 11:39:13,211 - FloLangChainLogger - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", - "2024-09-18 11:39:13,213 - FloLangChainLogger - INFO - onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", - "2024-09-18 11:39:13,214 - FloLangChainLogger - INFO - onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", - "2024-09-18 11:39:13,216 - FloLangChainLogger - INFO - onToolStart: {'query': 'California weather October 2023'}\n" + "2024-09-20 00:38:09,158 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,160 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,171 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,173 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,196 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,199 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,215 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,218 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,359 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,364 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,367 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,370 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:09,373 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", + "2024-09-20 00:38:09,375 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-456fe998-ec19-48fa-ad0b-c22361d37f68' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]\n", + "2024-09-20 00:38:09,381 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]\n", + "2024-09-20 00:38:09,383 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]\n", + "2024-09-20 00:38:09,384 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", + "2024-09-20 00:38:09,388 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolStart: {'query': 'California weather October 2023'}\n" ] }, { @@ -251,51 +531,280 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:39:17,571 - FloLangChainLogger - INFO - onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", - "2024-09-18 11:39:17,585 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:17,597 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:17,605 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:17,609 - FloLangChainLogger - INFO - onChainStart: {'input': ''}\n", - "2024-09-18 11:39:17,614 - FloLangChainLogger - INFO - onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", - "2024-09-18 11:39:17,619 - FloLangChainLogger - INFO - onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]}\n", - "2024-09-18 11:39:17,620 - FloLangChainLogger - INFO - onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]}\n", - "2024-09-18 11:39:17,622 - FloLangChainLogger - INFO - onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_K2kho719o1583LgAkRFcMFja'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]}\n", - "2024-09-18 11:39:17,625 - FloLangChainLogger - INFO - onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-d4e32fd0-31fd-450a-b907-da73b11c2966', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_K2kho719o1583LgAkRFcMFja', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_K2kho719o1583LgAkRFcMFja', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_K2kho719o1583LgAkRFcMFja')]\n", - "2024-09-18 11:39:17,627 - FloLangChainLogger - INFO - onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726639688, \\'localtime\\': \\'2024-09-17 23:08\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726639200, \\'last_updated\\': \\'2024-09-17 23:00\\', \\'temp_c\\': 17.2, \\'temp_f\\': 63.0, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Clear\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 6.9, \\'wind_kph\\': 11.2, \\'wind_degree\\': 251, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 42, \\'cloud\\': 0, \\'feelslike_c\\': 17.2, \\'feelslike_f\\': 63.0, \\'windchill_c\\': 10.6, \\'windchill_f\\': 51.1, \\'heatindex_c\\': 11.6, \\'heatindex_f\\': 52.8, \\'dewpoint_c\\': 7.3, \\'dewpoint_f\\': 45.1, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 13.9, \\'gust_kph\\': 22.4}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" + "2024-09-20 00:38:13,560 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", + "2024-09-20 00:38:13,574 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:13,585 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:13,591 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:13,595 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", + "2024-09-20 00:38:13,597 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]\n", + "2024-09-20 00:38:13,598 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]}\n", + "2024-09-20 00:38:13,600 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]}\n", + "2024-09-20 00:38:13,602 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]}\n", + "2024-09-20 00:38:13,603 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-456fe998-ec19-48fa-ad0b-c22361d37f68', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_BiZ1tUx2CkEuvDao92dT9JNk', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_BiZ1tUx2CkEuvDao92dT9JNk')]\n", + "2024-09-20 00:38:13,605 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726639688, 'localtime': '2024-09-17 23:08'}, 'current': {'last_updated_epoch': 1726639200, 'last_updated': '2024-09-17 23:00', 'temp_c': 17.2, 'temp_f': 63.0, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 6.9, 'wind_kph': 11.2, 'wind_degree': 251, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 42, 'cloud': 0, 'feelslike_c': 17.2, 'feelslike_f': 63.0, 'windchill_c': 10.6, 'windchill_f': 51.1, 'heatindex_c': 11.6, 'heatindex_f': 52.8, 'dewpoint_c': 7.3, 'dewpoint_f': 45.1, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 13.9, 'gust_kph': 22.4}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" + "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:39:19,778 - FloLangChainLogger - INFO - onLLMEnd: [[ChatGenerationChunk(text='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-4ccf3465-6e1e-4472-a79e-9ec3b5bf2d42'))]]\n", - "2024-09-18 11:39:19,781 - FloLangChainLogger - INFO - onChainStart: content='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-4ccf3465-6e1e-4472-a79e-9ec3b5bf2d42'\n", - "2024-09-18 11:39:19,784 - FloLangChainLogger - INFO - onChainEnd: return_values={'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", - "2024-09-18 11:39:19,786 - FloLangChainLogger - INFO - onChainEnd: return_values={'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'\n", - "2024-09-18 11:39:19,787 - FloLangChainLogger - INFO - onAgentFinish: {'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n", - "2024-09-18 11:39:19,788 - FloLangChainLogger - INFO - onChainEnd: {'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}\n" + "2024-09-20 00:38:14,560 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:14,563 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: The\n", + "2024-09-20 00:38:14,599 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: current\n", + "2024-09-20 00:38:14,600 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", + "2024-09-20 00:38:14,628 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: in\n", + "2024-09-20 00:38:14,630 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", + "2024-09-20 00:38:14,666 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: is\n", + "2024-09-20 00:38:14,669 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: as\n", + "2024-09-20 00:38:14,744 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: follows\n", + "2024-09-20 00:38:14,747 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "\n", + "\n", + "2024-09-20 00:38:14,779 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:14,782 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:14,785 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Temperature\n", + "2024-09-20 00:38:14,787 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:14,791 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:38:14,795 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:14,890 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 22\n", + "2024-09-20 00:38:14,891 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:38:14,914 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:38:14,915 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: °C\n", + "2024-09-20 00:38:14,926 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", + "2024-09-20 00:38:14,929 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 72\n", + "2024-09-20 00:38:14,932 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:38:14,935 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 1\n", + "2024-09-20 00:38:14,948 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: °F\n", + "2024-09-20 00:38:14,950 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "\n", + "2024-09-20 00:38:14,976 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:14,978 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,019 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Condition\n", + "2024-09-20 00:38:15,021 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,065 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:38:15,068 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Sunny\n", + "2024-09-20 00:38:15,116 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "\n", + "2024-09-20 00:38:15,117 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:15,134 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,136 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Wind\n", + "2024-09-20 00:38:15,158 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,160 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:38:15,191 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:15,194 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:38:15,238 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:38:15,242 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 4\n", + "2024-09-20 00:38:15,260 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: mph\n", + "2024-09-20 00:38:15,262 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", + "2024-09-20 00:38:15,321 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 5\n", + "2024-09-20 00:38:15,325 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", + "2024-09-20 00:38:15,346 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 4\n", + "2024-09-20 00:38:15,348 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: k\n", + "2024-09-20 00:38:15,368 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ph\n", + "2024-09-20 00:38:15,370 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "2024-09-20 00:38:15,417 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: from\n", + "2024-09-20 00:38:15,420 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: the\n", + "2024-09-20 00:38:15,443 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: SSE\n", + "2024-09-20 00:38:15,445 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "\n", + "2024-09-20 00:38:15,477 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:15,480 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,528 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Humidity\n", + "2024-09-20 00:38:15,530 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,547 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:38:15,549 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:15,585 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 35\n", + "2024-09-20 00:38:15,587 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: %\n", + "\n", + "2024-09-20 00:38:15,614 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:15,615 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,656 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Pressure\n", + "2024-09-20 00:38:15,660 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,682 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:38:15,684 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:15,713 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 101\n", + "2024-09-20 00:38:15,715 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:38:15,742 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: mb\n", + "2024-09-20 00:38:15,744 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "\n", + "2024-09-20 00:38:15,787 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:15,792 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,826 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Visibility\n", + "2024-09-20 00:38:15,828 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", + "2024-09-20 00:38:15,865 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "2024-09-20 00:38:15,868 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:15,902 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 16\n", + "2024-09-20 00:38:15,904 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: km\n", + "2024-09-20 00:38:15,927 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", + "2024-09-20 00:38:15,928 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 9\n", + "2024-09-20 00:38:15,969 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: miles\n", + "2024-09-20 00:38:15,971 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "\n", + "\n", + "2024-09-20 00:38:15,991 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: For\n", + "2024-09-20 00:38:15,993 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: more\n", + "2024-09-20 00:38:16,021 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: detailed\n", + "2024-09-20 00:38:16,025 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", + "2024-09-20 00:38:16,075 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: information\n", + "2024-09-20 00:38:16,078 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ,\n", + "2024-09-20 00:38:16,108 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: you\n", + "2024-09-20 00:38:16,110 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: can\n", + "2024-09-20 00:38:16,154 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: check\n", + "2024-09-20 00:38:16,158 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: the\n", + "2024-09-20 00:38:16,212 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: following\n", + "2024-09-20 00:38:16,214 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: sources\n", + "2024-09-20 00:38:16,243 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", + "\n", + "2024-09-20 00:38:16,245 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:16,275 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:38:16,277 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", + "2024-09-20 00:38:16,279 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: API\n", + "2024-09-20 00:38:16,315 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:38:16,316 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:38:16,343 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:38:16,345 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", + "2024-09-20 00:38:16,368 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .weather\n", + "2024-09-20 00:38:16,369 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: api\n", + "2024-09-20 00:38:16,425 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", + "2024-09-20 00:38:16,427 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /)\n", + "\n", + "2024-09-20 00:38:16,435 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:16,438 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:38:16,493 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Time\n", + "2024-09-20 00:38:16,496 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: and\n", + "2024-09-20 00:38:16,529 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Date\n", + "2024-09-20 00:38:16,531 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:38:16,620 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:38:16,624 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:38:16,631 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", + "2024-09-20 00:38:16,633 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .time\n", + "2024-09-20 00:38:16,678 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: and\n", + "2024-09-20 00:38:16,680 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: date\n", + "2024-09-20 00:38:16,699 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", + "2024-09-20 00:38:16,702 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /weather\n", + "2024-09-20 00:38:16,723 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:16,725 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: usa\n", + "2024-09-20 00:38:16,778 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:16,780 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: los\n", + "2024-09-20 00:38:16,834 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -ang\n", + "2024-09-20 00:38:16,836 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: eles\n", + "2024-09-20 00:38:16,872 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /h\n", + "2024-09-20 00:38:16,874 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: istor\n", + "2024-09-20 00:38:16,877 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ic\n", + "2024-09-20 00:38:16,878 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ?\n", + "2024-09-20 00:38:16,920 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: month\n", + "2024-09-20 00:38:16,923 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: =\n", + "2024-09-20 00:38:16,937 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 10\n", + "2024-09-20 00:38:16,939 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: &\n", + "2024-09-20 00:38:16,972 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: year\n", + "2024-09-20 00:38:16,975 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: =\n", + "2024-09-20 00:38:17,004 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 202\n", + "2024-09-20 00:38:17,007 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:38:17,053 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "\n", + "2024-09-20 00:38:17,057 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:17,087 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:38:17,092 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: M\n", + "2024-09-20 00:38:17,109 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ete\n", + "2024-09-20 00:38:17,111 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: op\n", + "2024-09-20 00:38:17,184 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: rog\n", + "2024-09-20 00:38:17,187 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:38:17,224 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:38:17,227 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:38:17,263 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", + "2024-09-20 00:38:17,265 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .m\n", + "2024-09-20 00:38:17,348 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ete\n", + "2024-09-20 00:38:17,350 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: op\n", + "2024-09-20 00:38:17,367 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: rog\n", + "2024-09-20 00:38:17,371 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", + "2024-09-20 00:38:17,397 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /weather\n", + "2024-09-20 00:38:17,400 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:17,435 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", + "2024-09-20 00:38:17,440 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -cal\n", + "2024-09-20 00:38:17,465 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ifornia\n", + "2024-09-20 00:38:17,467 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /month\n", + "2024-09-20 00:38:17,507 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /oct\n", + "2024-09-20 00:38:17,510 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ober\n", + "2024-09-20 00:38:17,542 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /)\n", + "\n", + "2024-09-20 00:38:17,544 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:17,568 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", + "2024-09-20 00:38:17,569 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: World\n", + "2024-09-20 00:38:17,608 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", + "2024-09-20 00:38:17,611 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", + "2024-09-20 00:38:17,644 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", + "2024-09-20 00:38:17,646 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", + "2024-09-20 00:38:17,678 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: world\n", + "2024-09-20 00:38:17,680 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -weather\n", + "2024-09-20 00:38:17,713 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .info\n", + "2024-09-20 00:38:17,715 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:17,746 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: forecast\n", + "2024-09-20 00:38:17,748 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:17,773 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: usa\n", + "2024-09-20 00:38:17,777 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /cal\n", + "2024-09-20 00:38:17,831 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ifornia\n", + "2024-09-20 00:38:17,833 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /oct\n", + "2024-09-20 00:38:17,848 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ober\n", + "2024-09-20 00:38:17,850 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", + "2024-09-20 00:38:17,880 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 202\n", + "2024-09-20 00:38:17,883 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", + "2024-09-20 00:38:17,912 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", + "2024-09-20 00:38:17,914 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", + "\n", + "\n", + "2024-09-20 00:38:17,950 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: If\n", + "2024-09-20 00:38:17,952 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: you\n", + "2024-09-20 00:38:17,986 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: need\n", + "2024-09-20 00:38:17,990 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: specific\n", + "2024-09-20 00:38:18,015 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", + "2024-09-20 00:38:18,016 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: details\n", + "2024-09-20 00:38:18,080 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: for\n", + "2024-09-20 00:38:18,083 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: a\n", + "2024-09-20 00:38:18,087 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: particular\n", + "2024-09-20 00:38:18,090 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: city\n", + "2024-09-20 00:38:18,121 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: in\n", + "2024-09-20 00:38:18,124 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", + "2024-09-20 00:38:18,156 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ,\n", + "2024-09-20 00:38:18,160 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: let\n", + "2024-09-20 00:38:18,193 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: me\n", + "2024-09-20 00:38:18,195 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: know\n", + "2024-09-20 00:38:18,197 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: !\n", + "2024-09-20 00:38:18,198 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", + "2024-09-20 00:38:18,200 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGenerationChunk(text='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-f2f049b4-55c5-4805-964e-91d2f1731b11'))]]\n", + "2024-09-20 00:38:18,202 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-f2f049b4-55c5-4805-964e-91d2f1731b11'\n", + "2024-09-20 00:38:18,203 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'\n", + "2024-09-20 00:38:18,204 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'\n", + "2024-09-20 00:38:18,206 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onAgentFinish: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'}\n", + "2024-09-20 00:38:18,207 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'}\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[32;1m\u001b[1;3mThe weather in California varies by region, but here are some general details for October 2023:\n", - "\n", - "1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\n", + "\u001b[32;1m\u001b[1;3mThe current weather in California is as follows:\n", "\n", - "2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\n", + "- **Temperature**: 22.3°C (72.1°F)\n", + "- **Condition**: Sunny\n", + "- **Wind**: 3.4 mph (5.4 kph) from the SSE\n", + "- **Humidity**: 35%\n", + "- **Pressure**: 1013 mb\n", + "- **Visibility**: 16 km (9 miles)\n", "\n", - "3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\n", + "For more detailed weather information, you can check the following sources:\n", + "- [Weather API](https://www.weatherapi.com/)\n", + "- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n", + "- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n", + "- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\n", "\n", - "For more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).\u001b[0m\n", + "If you need specific weather details for a particular city in California, let me know!\u001b[0m\n", "\n", "\u001b[1m> Finished chain.\u001b[0m\n" ] @@ -304,10 +813,10 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The weather in California varies by region, but here are some general details for October 2023:\\n\\n1. **Current Weather**: As of now, in California City, the temperature is around 17.2°C (63°F) with clear skies. The wind is blowing from the west-southwest at about 6.9 mph, and humidity is at 42%.\\n\\n2. **Historical Weather**: In Los Angeles, the high temperature reached 92°F on October 5, with humidity peaking at 100% on October 7. The weather has been generally warm throughout the month.\\n\\n3. **Forecast**: The average temperatures in California during October typically range from highs in the mid-70s to low 80s°F, with cooler nights.\\n\\nFor more detailed and specific forecasts, you can check local weather services or websites like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'}" + " 'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific weather details for a particular city in California, let me know!'}" ] }, - "execution_count": 6, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -343,7 +852,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -361,16 +870,50 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:39:26,151 - BUILDER - INFO - Building Flo instance from YAML\n", - "2024-09-18 11:39:26,163 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", - "2024-09-18 11:39:26,169 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: What is pythagorus theorum\n" + "2024-09-20 00:45:06,709 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-20 00:45:06,728 - COMMON - INFO - Flo instance created for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2024-09-20 00:45:06,730 - COMMON - INFO - Invoking query for session dd5c4a4c-4390-46bc-945d-eb9474e63702: What is pythagorus theorum\n", + "2024-09-20 00:45:06,783 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='What is pythagorus theorum')]}\n", + "2024-09-20 00:45:06,786 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='What is pythagorus theorum')]}\n", + "2024-09-20 00:45:06,788 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='You are a high school maths teacher. Answer any questions the students ask \\n'), HumanMessage(content='What is pythagorus theorum')]\n", + "2024-09-20 00:45:06,792 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: You are a high school maths teacher. Answer any questions the students ask \\n\\nHuman: What is pythagorus theorum']\n", + "2024-09-20 00:45:11,061 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGeneration(text=\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\", generation_info={'finish_reason': 'stop', 'logprobs': None}, message=AIMessage(content=\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\", response_metadata={'token_usage': {'completion_tokens': 162, 'prompt_tokens': 34, 'total_tokens': 196, 'completion_tokens_details': {'reasoning_tokens': 0}}, 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346', 'finish_reason': 'stop', 'logprobs': None}, id='run-5851e0be-448a-4e3c-a517-187dcdfbea46-0', usage_metadata={'input_tokens': 34, 'output_tokens': 162, 'total_tokens': 196}))]]\n", + "2024-09-20 00:45:11,063 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content=\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\" response_metadata={'token_usage': {'completion_tokens': 162, 'prompt_tokens': 34, 'total_tokens': 196, 'completion_tokens_details': {'reasoning_tokens': 0}}, 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346', 'finish_reason': 'stop', 'logprobs': None} id='run-5851e0be-448a-4e3c-a517-187dcdfbea46-0' usage_metadata={'input_tokens': 34, 'output_tokens': 162, 'total_tokens': 196}\n", + "2024-09-20 00:45:11,064 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \n", + "\n", + "The theorem can be expressed with the formula:\n", + "\n", + "\\[ c^2 = a^2 + b^2 \\]\n", + "\n", + "where:\n", + "- \\( c \\) is the length of the hypotenuse,\n", + "- \\( a \\) and \\( b \\) are the lengths of the other two sides.\n", + "\n", + "This theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\n", + "2024-09-20 00:45:11,065 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \n", + "\n", + "The theorem can be expressed with the formula:\n", + "\n", + "\\[ c^2 = a^2 + b^2 \\]\n", + "\n", + "where:\n", + "- \\( c \\) is the length of the hypotenuse,\n", + "- \\( a \\) and \\( b \\) are the lengths of the other two sides.\n", + "\n", + "This theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\n" ] }, { @@ -379,7 +922,7 @@ "\"Pythagoras' Theorem is a fundamental principle in geometry that relates to right-angled triangles. It states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the lengths of the other two sides. \\n\\nThe theorem can be expressed with the formula:\\n\\n\\\\[ c^2 = a^2 + b^2 \\\\]\\n\\nwhere:\\n- \\\\( c \\\\) is the length of the hypotenuse,\\n- \\\\( a \\\\) and \\\\( b \\\\) are the lengths of the other two sides.\\n\\nThis theorem is useful for calculating the length of one side of a right triangle if the lengths of the other two sides are known. Would you like to see an example of how to use it?\"" ] }, - "execution_count": 8, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -400,17 +943,19 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-18 11:39:31,032 - SESSION - INFO - Tool 'printStateTool' registered for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", - "2024-09-18 11:39:31,034 - BUILDER - INFO - Building Flo instance from YAML\n", - "2024-09-18 11:39:31,037 - COMMON - INFO - Flo instance created for session 11acf98c-5fe1-4394-8ec9-51c554a300ca\n", - "2024-09-18 11:39:31,038 - COMMON - INFO - Invoking query for session 11acf98c-5fe1-4394-8ec9-51c554a300ca: Print what I am saying\n" + "2024-09-20 00:45:45,169 - SESSION - INFO - Tool 'printStateTool' registered for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n", + "2024-09-20 00:45:45,170 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-20 00:45:45,173 - COMMON - INFO - Flo instance created for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n", + "2024-09-20 00:45:45,175 - COMMON - INFO - Invoking query for session dd5c4a4c-4390-46bc-945d-eb9474e63702: Print what I am saying\n", + "2024-09-20 00:45:45,177 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolStart: {'messages': [HumanMessage(content='Print what I am saying')]}\n", + "2024-09-20 00:45:45,178 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolEnd: Tool call success\n" ] }, { @@ -426,7 +971,7 @@ "'Tool call success'" ] }, - "execution_count": 9, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } diff --git a/flo_ai/__init__.py b/flo_ai/__init__.py index 8691bfd7..4db920d3 100644 --- a/flo_ai/__init__.py +++ b/flo_ai/__init__.py @@ -5,4 +5,4 @@ from flo_ai.state.flo_session import FloSession from flo_ai.retrievers.flo_retriever import FloRagBuilder from flo_ai.common.flo_logger import get_logger -from flo_ai.common.flo_langchain_logger import FloLangchainLogger +from flo_ai.common.flo_langchain_logger import FloLangchainLogger \ No newline at end of file diff --git a/flo_ai/common/README.md b/flo_ai/common/README.md index 4c65d651..cea7a7dd 100644 --- a/flo_ai/common/README.md +++ b/flo_ai/common/README.md @@ -1,67 +1,86 @@ -# Understanding Log Levels +# Understanding Log Levels in FLO FLO uses standard Python logging levels to indicate the severity of logged messages. Here are the common levels used (from least to most severe): -DEBUG: Detailed information for debugging purposes. -INFO: Informational messages about the normal operation of the system. -WARNING: Potential issues or unexpected conditions. -ERROR: Errors that may have caused the system to malfunction. -CRITICAL: Critical errors that have caused the system to crash. +- **DEBUG**: Detailed information for debugging purposes. +- **INFO**: Informational messages about the normal operation of the system. +- **WARNING**: Potential issues or unexpected conditions. +- **ERROR**: Errors that may have caused the system to malfunction. +- **CRITICAL**: Critical errors that have caused the system to crash. + By adjusting the log level, you can control how much information is logged and the verbosity of the output. -Controlling Log Levels +## Controlling Log Levels + FLO provides multiple ways to control log levels: -1. Environment Variables: +### 1. Environment Variables for Log Level Control Export environment variables to set the log level for specific components before running the application: -FLO_LOG_LEVEL_COMMON: Controls the level for the "CommonLogs" logger. -FLO_LOG_LEVEL_BUILDER: Controls the level for the "BuilderLogs" logger. -FLO_LOG_LEVEL_SESSION: Controls the level for the "SessionLogs" logger. +- `FLO_LOG_LEVEL_COMMON`: Controls the level for the "CommonLogs" logger. + - CommonLogs: General-purpose logging used across the entire FLO system. It captures broad, system-wide events and information. + +- `FLO_LOG_LEVEL_BUILDER`: Controls the level for the "BuilderLogs" logger. + - BuilderLogs: Specific to the process of building and configuring FLO instances. It logs information about YAML parsing, component creation, and FLO structure setup. + +- `FLO_LOG_LEVEL_SESSION`: Controls the level for the "SessionLogs" logger. + - SessionLogs: Dedicated to logging session-specific information. It captures events and data related to individual FLO sessions, including session creation, tool registration, and session-level operations. + +These loggers allow for granular control over logging output in different parts of the FLO system. By adjusting their levels independently, you can focus on debugging or monitoring specific aspects of FLO's operation. Example: +```bash export FLO_LOG_LEVEL_COMMON=DEBUG export FLO_LOG_LEVEL_BUILDER=INFO export FLO_LOG_LEVEL_SESSION=WARNING +``` - -2. FloSession Creation: +### 2. FloSession Creation When creating a FloSession object, you can specify the desired log level: +```python session = FloSession(llm, log_level="DEBUG") +``` - This session will log messages at DEBUG level and above. +This session will log messages at DEBUG level and above. -3. Flo Instance Creation: +### 3. Flo Instance Creation Similar to FloSession, you can set the log level when creating a Flo instance: +```python flo = Flo.build(session, yaml_config, log_level="DEBUG") +``` This Flo instance will inherit the specified log level. -4. Global Log Level Change (Runtime): +### 4. Global Log Level Change (Runtime) You can dynamically change the global log level at runtime using the set_global_log_level function from flo_ai.common.logging_config: +```python from flo_ai.common.logging_config import set_global_log_level set_global_log_level("DEBUG") # Set the global log level to DEBUG +``` This will affect all logging throughout the application. -5. Specific Logger Level Change (Runtime): +### 5. Specific Logger Level Change (Runtime) If you need to adjust the level for a specific logger, use the set_log_level method of the FloLogger class: +```python from flo_ai.common.logging_config import FloLogger FloLogger.set_log_level("COMMON", "DEBUG") # Set COMMON logger to DEBUG level +``` +## Best Practices -Environment variables: Use these for setting default levels without modifying code, useful in different deployment environments. -Object creation: This approach allows setting specific levels for individual sessions or Flo instances. -Runtime changes: Use these methods for dynamic adjustments during program execution. \ No newline at end of file +- **Environment variables**: Use these for setting default levels without modifying code, useful in different deployment environments. +- **Object creation**: This approach allows setting specific levels for individual sessions or Flo instances. +- **Runtime changes**: Use these methods for dynamic adjustments during program execution. \ No newline at end of file diff --git a/flo_ai/common/flo_callback_handler.py b/flo_ai/common/flo_callback_handler.py deleted file mode 100644 index 23f6159d..00000000 --- a/flo_ai/common/flo_callback_handler.py +++ /dev/null @@ -1,47 +0,0 @@ -from typing import Any, Dict, List, Union -from langchain.callbacks.base import BaseCallbackHandler -from langchain.schema import AgentAction, AgentFinish, LLMResult -from flo_ai.common.flo_logger import get_logger - -class FloCallbackHandler(BaseCallbackHandler): - def __init__(self, logger_name: str = "FloCallback", log_level: str = "INFO"): - self.logger = get_logger(logger_name, log_level) - - def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any) -> None: - self.logger.info(f"onLLMStart: {prompts}") - - def on_llm_new_token(self, token: str, **kwargs: Any) -> None: - self.logger.debug(f"onNewToken: {token}") - - def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None: - self.logger.info(f"onLLMEnd: {response.generations}") - - def on_llm_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"onLLMError: {error}") - - def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"onChainStart: {inputs}") - - def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"onChainEnd: {outputs}") - - def on_chain_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"onChainError: {error}") - - def on_tool_start(self, serialized: Dict[str, Any], input_str: str, **kwargs: Any) -> None: - self.logger.info(f"onToolStart: {input_str}") - - def on_tool_end(self, output: str, **kwargs: Any) -> None: - self.logger.info(f"onToolEnd: {output}") - - def on_tool_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"onToolError: {error}") - - def on_text(self, text: str, **kwargs: Any) -> None: - self.logger.info(f"onText: {text}") - - def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any: - self.logger.info(f"onAgentAction: {action.tool} - {action.tool_input}") - - def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None: - self.logger.info(f"onAgentFinish: {finish.return_values}") \ No newline at end of file diff --git a/flo_ai/common/flo_langchain_logger.py b/flo_ai/common/flo_langchain_logger.py index 3cfe1525..e75ab4dc 100644 --- a/flo_ai/common/flo_langchain_logger.py +++ b/flo_ai/common/flo_langchain_logger.py @@ -6,42 +6,46 @@ class FloLangchainLogger(BaseCallbackHandler): def __init__(self, logger_name: str = "FloLangChainLogger", log_level: str = "INFO"): self.logger = get_logger(logger_name, log_level) + self.session_id = None + + def set_session_id(self, session_id: str): + self.session_id = session_id def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any) -> None: - self.logger.info(f"onLLMStart: {prompts}") + self.logger.info(f"Session ID: {self.session_id}, onLLMStart: {prompts}") def on_llm_new_token(self, token: str, **kwargs: Any) -> None: - self.logger.debug(f"onNewToken: {token}") + self.logger.debug(f"Session ID: {self.session_id}, onNewToken: {token}") def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None: - self.logger.info(f"onLLMEnd: {response.generations}") + self.logger.info(f"Session ID: {self.session_id}, onLLMEnd: {response.generations}") def on_llm_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"onLLMError: {error}") + self.logger.error(f"Session ID: {self.session_id}, onLLMError: {error}") def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"onChainStart: {inputs}") + self.logger.info(f"Session ID: {self.session_id}, onChainStart: {inputs}") def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"onChainEnd: {outputs}") + self.logger.info(f"Session ID: {self.session_id}, onChainEnd: {outputs}") def on_chain_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"onChainError: {error}") + self.logger.error(f"Session ID: {self.session_id}, onChainError: {error}") def on_tool_start(self, serialized: Dict[str, Any], input_str: str, **kwargs: Any) -> None: - self.logger.info(f"onToolStart: {input_str}") + self.logger.info(f"Session ID: {self.session_id}, onToolStart: {input_str}") def on_tool_end(self, output: str, **kwargs: Any) -> None: - self.logger.info(f"onToolEnd: {output}") + self.logger.info(f"Session ID: {self.session_id}, onToolEnd: {output}") def on_tool_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"onToolError: {error}") + self.logger.error(f"Session ID: {self.session_id}, onToolError: {error}") def on_text(self, text: str, **kwargs: Any) -> None: - self.logger.info(f"onText: {text}") + self.logger.info(f"Session ID: {self.session_id}, onText: {text}") def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any: - self.logger.info(f"onAgentAction: {action.tool} - {action.tool_input}") + self.logger.info(f"Session ID: {self.session_id}, onAgentAction: {action.tool} - {action.tool_input}") def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None: - self.logger.info(f"onAgentFinish: {finish.return_values}") \ No newline at end of file + self.logger.info(f"Session ID: {self.session_id}, onAgentFinish: {finish.return_values}") \ No newline at end of file diff --git a/flo_ai/core.py b/flo_ai/core.py index 2a62ee6d..1f8210e2 100644 --- a/flo_ai/core.py +++ b/flo_ai/core.py @@ -1,13 +1,9 @@ from flo_ai.yaml.flo_team_builder import to_supervised_team from flo_ai.builders.yaml_builder import build_supervised_team, FloRoutedTeamConfig -from typing import ( - Any, - Iterator, - Union -) +from typing import Any, Iterator, Union from flo_ai.state.flo_session import FloSession from flo_ai.models.flo_executable import ExecutableFlo -from flo_ai.common.flo_logger import common_logger, builder_logger, FloLogger +from flo_ai.common.flo_logger import common_logger, builder_logger, set_global_log_level class Flo: @@ -19,8 +15,7 @@ def __init__(self, self.session = session self.runnable: ExecutableFlo = build_supervised_team(session, config) - FloLogger.set_log_level("COMMON", log_level) - FloLogger.set_log_level("BUILDER", log_level) + set_global_log_level(log_level) self.logger = common_logger self.langchain_logger = session.langchain_logger self.logger.info(f"Flo instance created for session {session.session_id}") @@ -30,12 +25,14 @@ def stream(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: return self.runnable.stream(query, config) def invoke(self, query, config = None) -> Iterator[Union[dict[str, Any], Any]]: + config = { + 'callbacks' : [self.session.langchain_logger] + } self.logger.info(f"Invoking query for session {self.session.session_id}: {query}") return self.runnable.invoke(query, config) @staticmethod def build(session: FloSession, yaml: str, log_level: str = "INFO"): - FloLogger.set_log_level("BUILDER", log_level) builder_logger.info("Building Flo instance from YAML") return Flo(session, to_supervised_team(yaml), log_level) diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index c3f22570..e27e4517 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -20,10 +20,12 @@ def __init__(self, self.pattern_series = dict() self.loop_size: int = loop_size self.max_loop: int = max_loop + FloLogger.set_log_level("SESSION", log_level) self.logger = session_logger self.logger.info(f"New FloSession created with ID: {self.session_id}") self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(f"FloLangChainLogger-{self.session_id}", log_level) + self.langchain_logger.set_session_id(self.session_id) def register_tool(self, name: str, tool: BaseTool): self.tools[name] = tool From dd9cc1de9be74aedc6bde3a7fa32f439cfbb1fe9 Mon Sep 17 00:00:00 2001 From: vizsatiz Date: Sat, 21 Sep 2024 12:12:46 +0530 Subject: [PATCH 5/8] Minor fixes before merging --- flo_ai/common/README.md | 4 +- flo_ai/common/flo.log | 285 -------------------------- flo_ai/common/flo_langchain_logger.py | 10 +- flo_ai/state/flo_session.py | 12 +- 4 files changed, 18 insertions(+), 293 deletions(-) delete mode 100644 flo_ai/common/flo.log diff --git a/flo_ai/common/README.md b/flo_ai/common/README.md index cea7a7dd..efc0386b 100644 --- a/flo_ai/common/README.md +++ b/flo_ai/common/README.md @@ -1,6 +1,6 @@ # Understanding Log Levels in FLO -FLO uses standard Python logging levels to indicate the severity of logged messages. Here are the common levels used (from least to most severe): +FloAI uses standard Python logging levels to indicate the severity of logged messages. Here are the common levels used (from least to most severe): - **DEBUG**: Detailed information for debugging purposes. - **INFO**: Informational messages about the normal operation of the system. @@ -12,7 +12,7 @@ By adjusting the log level, you can control how much information is logged and t ## Controlling Log Levels -FLO provides multiple ways to control log levels: +FloAI provides multiple ways to control log levels: ### 1. Environment Variables for Log Level Control diff --git a/flo_ai/common/flo.log b/flo_ai/common/flo.log deleted file mode 100644 index 880a171e..00000000 --- a/flo_ai/common/flo.log +++ /dev/null @@ -1,285 +0,0 @@ -2024-09-11 22:19:49,809 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:19:49,809 - my_app - INFO - This will also be logged using the same instance -2024-09-11 22:19:49,809 - my_app - INFO - This will also be logged using the same instance -2024-09-11 22:20:13,415 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:20:13,415 - my_app - INFO - This will also be logged using the same instance -2024-09-11 22:20:13,415 - my_app - INFO - This will also be logged using the same instance -2024-09-11 22:20:50,008 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:20:50,009 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:20:50,009 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:27:50,432 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:27:50,433 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:27:50,433 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:27:50,434 - my_app - INFO - This will also be logged using the same instance3 -2024-09-11 22:27:50,434 - my_app - INFO - This will also be logged using the same instance3 -2024-09-11 22:27:50,434 - my_app - INFO - This will also be logged using the same instance3 -2024-09-11 22:30:59,945 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance3 -2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance3 -2024-09-11 22:30:59,946 - my_app - INFO - This will also be logged using the same instance3 -2024-09-11 22:32:28,903 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:32:28,904 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:32:28,904 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:38:02,271 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:38:02,272 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:38:28,804 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:38:28,804 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 22:40:05,779 - my_app - INFO - This will be logged to both console and file -2024-09-11 22:40:05,780 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 23:51:33,225 - my_app - INFO - This will be logged to both console and file -2024-09-11 23:51:33,226 - my_app - INFO - This will also be logged using the same instance2 -2024-09-11 23:52:25,136 - my_app - INFO - This will be logged to both console and file -2024-09-11 23:52:25,137 - my_app - INFO - This will also be logged using the same instance2 -2024-09-12 15:25:33,922 - my_app - INFO - This will be logged to both console and file -2024-09-12 15:25:33,923 - my_app - INFO - This will also be logged using the same instance2 -2024-09-12 20:18:33,746 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 20:18:34,127 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-12 20:19:18,056 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 20:19:18,056 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 20:19:18,063 - Flo - INFO - Invoking query: What is pythagorus theorum -2024-09-12 21:32:24,679 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:32:24,679 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:32:24,733 - Flo - INFO - Invoking query: What is pythagorus theorum -2024-09-12 21:32:33,462 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:32:33,462 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:32:33,482 - Flo - INFO - Invoking query: What is pythagorus theorum -2024-09-12 21:32:47,123 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:32:47,123 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:32:47,148 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-12 21:36:23,836 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:36:23,836 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:36:45,571 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:36:45,571 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:36:45,588 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-12 21:46:09,583 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:46:09,583 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 21:46:09,786 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-12 23:10:23,468 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 23:10:23,468 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 23:10:23,532 - Flo - INFO - Invoking query: What is pythagorus theorum -2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 23:10:45,889 - Flo.build - INFO - Building Flo instance from YAML -2024-09-12 23:10:45,905 - Flo - INFO - Invoking query: What is pythagorus theorum -2024-09-13 00:09:53,435 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:09:53,435 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:09:53,598 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-13 00:14:08,977 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:14:08,977 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:22:09,140 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:22:09,140 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:22:09,211 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-13 00:55:30,170 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:55:30,170 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 00:55:30,234 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-13 00:55:30,254 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} -2024-09-13 00:55:30,274 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:30,286 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:30,298 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:30,303 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:30,311 - FloCallback - INFO - Chain ended. Outputs: [] -2024-09-13 00:55:30,314 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} -2024-09-13 00:55:30,315 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 00:55:30,318 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 00:55:30,320 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] -2024-09-13 00:55:30,325 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] -2024-09-13 00:55:31,201 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]))]] -2024-09-13 00:55:31,204 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'} id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}] -2024-09-13 00:55:31,207 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] -2024-09-13 00:55:31,209 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] -2024-09-13 00:55:31,210 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} -2024-09-13 00:55:31,213 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} -2024-09-13 00:55:35,227 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169117, 'localtime': '2024-09-12 12:25'}, 'current': {'last_updated_epoch': 1726168500, 'last_updated': '2024-09-12 12:15', 'temp_c': 28.2, 'temp_f': 82.8, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1009.0, 'pressure_in': 29.78, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 16, 'cloud': 0, 'feelslike_c': 26.2, 'feelslike_f': 79.1, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] -2024-09-13 00:55:35,242 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:35,250 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:35,256 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:35,259 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 00:55:35,264 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] -2024-09-13 00:55:35,266 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')]} -2024-09-13 00:55:35,268 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169117, 'localtime': '2024-09-12 12:25'}, 'current': {'last_updated_epoch': 1726168500, 'last_updated': '2024-09-12 12:15', 'temp_c': 28.2, 'temp_f': 82.8, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1009.0, 'pressure_in': 29.78, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 16, 'cloud': 0, 'feelslike_c': 26.2, 'feelslike_f': 79.1, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')]} -2024-09-13 00:55:35,277 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169117, 'localtime': '2024-09-12 12:25'}, 'current': {'last_updated_epoch': 1726168500, 'last_updated': '2024-09-12 12:15', 'temp_c': 28.2, 'temp_f': 82.8, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1009.0, 'pressure_in': 29.78, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 16, 'cloud': 0, 'feelslike_c': 26.2, 'feelslike_f': 79.1, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')]} -2024-09-13 00:55:35,281 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-ce78d6b3-2d82-4255-adf3-f3acd3c8e475', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_gyQkZ2gbev1DjsTRHegNUACI', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_gyQkZ2gbev1DjsTRHegNUACI')] -2024-09-13 00:55:35,284 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169117, \'localtime\': \'2024-09-12 12:25\'}, \'current\': {\'last_updated_epoch\': 1726168500, \'last_updated\': \'2024-09-12 12:15\', \'temp_c\': 28.2, \'temp_f\': 82.8, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1009.0, \'pressure_in\': 29.78, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 16, \'cloud\': 0, \'feelslike_c\': 26.2, \'feelslike_f\': 79.1, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] -2024-09-13 00:55:38,049 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-e13dba11-66de-4965-a067-23deadd79dcb'))]] -2024-09-13 00:55:38,051 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-e13dba11-66de-4965-a067-23deadd79dcb' -2024-09-13 00:55:38,053 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 00:55:38,055 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 00:55:38,056 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 00:55:38,057 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 28.2°C (82.8°F). The humidity is low at 16%, and there is no precipitation. Winds are light, coming from the south at about 2.2 mph.\n\nFor a more detailed overview, here are some highlights from October 2023:\n\n- In Los Angeles, the highest temperature recorded was 92°F on October 5, and the humidity reached 100% on October 7.\n- The weather has generally been warm, with temperatures ranging from the mid-60s to low 90s throughout the month.\n\nFor more specific forecasts or historical data, you can check the following links:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 01:01:20,373 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 01:01:20,373 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 01:01:20,459 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-13 01:01:20,471 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} -2024-09-13 01:01:20,495 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:20,505 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:20,514 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:20,518 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:20,521 - FloCallback - INFO - Chain ended. Outputs: [] -2024-09-13 01:01:20,524 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} -2024-09-13 01:01:20,526 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:01:20,531 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:01:20,535 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] -2024-09-13 01:01:20,537 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] -2024-09-13 01:01:21,500 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]))]] -2024-09-13 01:01:21,507 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-b368a47c-f737-49cf-bc8b-640be516cba9' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}] -2024-09-13 01:01:21,513 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] -2024-09-13 01:01:21,517 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] -2024-09-13 01:01:21,522 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} -2024-09-13 01:01:21,525 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} -2024-09-13 01:01:25,399 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169468, 'localtime': '2024-09-12 12:31'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] -2024-09-13 01:01:25,416 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:25,428 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:25,435 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:25,437 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:01:25,440 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] -2024-09-13 01:01:25,443 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')]} -2024-09-13 01:01:25,451 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169468, 'localtime': '2024-09-12 12:31'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')]} -2024-09-13 01:01:25,455 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726169468, 'localtime': '2024-09-12 12:31'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')]} -2024-09-13 01:01:25,457 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-b368a47c-f737-49cf-bc8b-640be516cba9', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_KJVxekjNpNDAMJO7abeY45Wm', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_KJVxekjNpNDAMJO7abeY45Wm')] -2024-09-13 01:01:25,459 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726169468, \'localtime\': \'2024-09-12 12:31\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] -2024-09-13 01:01:27,618 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, message=AIMessageChunk(content='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'}, id='run-bc97ba78-f0fa-47c4-9b44-80549a0e8548'))]] -2024-09-13 01:01:27,620 - FloCallback - INFO - Chain started. Inputs: content='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_54e2f484be'} id='run-bc97ba78-f0fa-47c4-9b44-80549a0e8548' -2024-09-13 01:01:27,622 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' -2024-09-13 01:01:27,625 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} log='The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).' -2024-09-13 01:01:27,627 - FloCallback - INFO - Agent finished. Output: {'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} -2024-09-13 01:01:27,629 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The weather in California during October 2023 has been quite varied. Here are some highlights:\n\n1. **Current Weather**: As of now, California City is experiencing sunny weather with a temperature of approximately 28.3°C (82.9°F). The humidity is low at 13%, and there is no precipitation reported.\n\n2. **Los Angeles Weather**: In Los Angeles, the weather has seen highs reaching up to 92°F (approximately 33°C) on October 5, with humidity levels peaking at 100% on October 7. The overall weather has been warm, typical for this time of year.\n\n3. **General October Trends**: The average temperatures in California during October typically range from the mid-60s to low 80s°F, with some fluctuations depending on specific days.\n\nFor more detailed forecasts and historical data, you can check resources like [WeatherAPI](https://www.weatherapi.com/) or [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023).'} -2024-09-13 01:10:04,821 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 01:10:04,821 - Flo.build - INFO - Building Flo instance from YAML -2024-09-13 01:10:04,877 - Flo - INFO - Invoking query: Whats the whether in california -2024-09-13 01:10:04,921 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} -2024-09-13 01:10:04,955 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:04,964 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:04,973 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:04,977 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:04,980 - FloCallback - INFO - Chain ended. Outputs: [] -2024-09-13 01:10:04,982 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} -2024-09-13 01:10:04,983 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:10:04,985 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:10:04,987 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] -2024-09-13 01:10:04,992 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] -2024-09-13 01:10:06,191 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]))]] -2024-09-13 01:10:06,201 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}] -2024-09-13 01:10:06,204 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] -2024-09-13 01:10:06,207 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] -2024-09-13 01:10:06,224 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} -2024-09-13 01:10:06,235 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} -2024-09-13 01:10:10,690 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California', 'region': 'Pennsylvania', 'country': 'USA United States of America', 'lat': 40.06, 'lon': -79.89, 'tz_id': 'America/New_York', 'localtime_epoch': 1726169993, 'localtime': '2024-09-12 15:39'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 15:30', 'temp_c': 28.9, 'temp_f': 84.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 8.3, 'wind_kph': 13.3, 'wind_degree': 117, 'wind_dir': 'ESE', 'pressure_mb': 1019.0, 'pressure_in': 30.1, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 28, 'cloud': 5, 'feelslike_c': 27.7, 'feelslike_f': 81.9, 'windchill_c': 28.9, 'windchill_f': 84.1, 'heatindex_c': 27.7, 'heatindex_f': 81.9, 'dewpoint_c': 8.8, 'dewpoint_f': 47.9, 'vis_km': 10.0, 'vis_miles': 6.0, 'uv': 7.0, 'gust_mph': 9.5, 'gust_kph': 15.3}}"}, {'url': 'https://www.weather2travel.com/california/long-beach//october/', 'content': 'California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}] -2024-09-13 01:10:10,710 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:10,723 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:10,732 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:10,736 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:10:10,741 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] -2024-09-13 01:10:10,744 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')]} -2024-09-13 01:10:10,756 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California', 'region': 'Pennsylvania', 'country': 'USA United States of America', 'lat': 40.06, 'lon': -79.89, 'tz_id': 'America/New_York', 'localtime_epoch': 1726169993, 'localtime': '2024-09-12 15:39'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 15:30', 'temp_c': 28.9, 'temp_f': 84.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 8.3, 'wind_kph': 13.3, 'wind_degree': 117, 'wind_dir': 'ESE', 'pressure_mb': 1019.0, 'pressure_in': 30.1, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 28, 'cloud': 5, 'feelslike_c': 27.7, 'feelslike_f': 81.9, 'windchill_c': 28.9, 'windchill_f': 84.1, 'heatindex_c': 27.7, 'heatindex_f': 81.9, 'dewpoint_c': 8.8, 'dewpoint_f': 47.9, 'vis_km': 10.0, 'vis_miles': 6.0, 'uv': 7.0, 'gust_mph': 9.5, 'gust_kph': 15.3}}"}, {'url': 'https://www.weather2travel.com/california/long-beach//october/', 'content': 'California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')]} -2024-09-13 01:10:10,758 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California', 'region': 'Pennsylvania', 'country': 'USA United States of America', 'lat': 40.06, 'lon': -79.89, 'tz_id': 'America/New_York', 'localtime_epoch': 1726169993, 'localtime': '2024-09-12 15:39'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 15:30', 'temp_c': 28.9, 'temp_f': 84.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 8.3, 'wind_kph': 13.3, 'wind_degree': 117, 'wind_dir': 'ESE', 'pressure_mb': 1019.0, 'pressure_in': 30.1, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 28, 'cloud': 5, 'feelslike_c': 27.7, 'feelslike_f': 81.9, 'windchill_c': 28.9, 'windchill_f': 84.1, 'heatindex_c': 27.7, 'heatindex_f': 81.9, 'dewpoint_c': 8.8, 'dewpoint_f': 47.9, 'vis_km': 10.0, 'vis_miles': 6.0, 'uv': 7.0, 'gust_mph': 9.5, 'gust_kph': 15.3}}"}, {'url': 'https://www.weather2travel.com/california/long-beach//october/', 'content': 'California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')]} -2024-09-13 01:10:10,761 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-14ec408d-ce76-418d-aa30-a4cd5b5aa8ad', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_s8OakObepKbaY4JLnzJVlzrO', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_s8OakObepKbaY4JLnzJVlzrO')] -2024-09-13 01:10:10,767 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California\', \'region\': \'Pennsylvania\', \'country\': \'USA United States of America\', \'lat\': 40.06, \'lon\': -79.89, \'tz_id\': \'America/New_York\', \'localtime_epoch\': 1726169993, \'localtime\': \'2024-09-12 15:39\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 15:30\', \'temp_c\': 28.9, \'temp_f\': 84.1, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 8.3, \'wind_kph\': 13.3, \'wind_degree\': 117, \'wind_dir\': \'ESE\', \'pressure_mb\': 1019.0, \'pressure_in\': 30.1, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 28, \'cloud\': 5, \'feelslike_c\': 27.7, \'feelslike_f\': 81.9, \'windchill_c\': 28.9, \'windchill_f\': 84.1, \'heatindex_c\': 27.7, \'heatindex_f\': 81.9, \'dewpoint_c\': 8.8, \'dewpoint_f\': 47.9, \'vis_km\': 10.0, \'vis_miles\': 6.0, \'uv\': 7.0, \'gust_mph\': 9.5, \'gust_kph\': 15.3}}"}, {"url": "https://www.weather2travel.com/california/long-beach//october/", "content": "California October weather - temperature, rainfall & sunshine. Check how hot & sunny in October 2023 in California, USA"}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}]'] -2024-09-13 01:10:12,987 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-3acbdb77-59f4-4f2f-83f8-7e165d0ea320'))]] -2024-09-13 01:10:12,990 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-3acbdb77-59f4-4f2f-83f8-7e165d0ea320' -2024-09-13 01:10:12,993 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 01:10:12,997 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 01:10:13,002 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 01:10:13,003 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 28.9°C (84.1°F). The wind is coming from the east-southeast at about 8.3 mph, and the humidity is around 28%. There is no precipitation expected, and visibility is good at 10 km.\n\nFor more detailed forecasts and historical data for October 2023, you can check the following resources:\n- [Weather API](https://www.weatherapi.com/)\n- [Weather2Travel](https://www.weather2travel.com/california/long-beach//october/)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 01:11:06,820 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} -2024-09-13 01:11:06,978 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:06,994 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:07,003 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:07,006 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:07,008 - FloCallback - INFO - Chain ended. Outputs: [] -2024-09-13 01:11:07,011 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} -2024-09-13 01:11:07,013 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:11:07,017 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:11:07,020 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] -2024-09-13 01:11:07,022 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] -2024-09-13 01:11:08,108 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]))]] -2024-09-13 01:11:08,111 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-1778a807-80e8-4832-972b-61bc5a4d478e' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}] -2024-09-13 01:11:08,113 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] -2024-09-13 01:11:08,114 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] -2024-09-13 01:11:08,115 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} -2024-09-13 01:11:08,117 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} -2024-09-13 01:11:12,036 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170054, 'localtime': '2024-09-12 12:40'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] -2024-09-13 01:11:12,048 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:12,071 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:12,077 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:12,081 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:11:12,091 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] -2024-09-13 01:11:12,101 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')]} -2024-09-13 01:11:12,108 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170054, 'localtime': '2024-09-12 12:40'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')]} -2024-09-13 01:11:12,113 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170054, 'localtime': '2024-09-12 12:40'}, 'current': {'last_updated_epoch': 1726169400, 'last_updated': '2024-09-12 12:30', 'temp_c': 28.3, 'temp_f': 82.9, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 179, 'wind_dir': 'S', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 13, 'cloud': 0, 'feelslike_c': 26.3, 'feelslike_f': 79.3, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')]} -2024-09-13 01:11:12,129 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-1778a807-80e8-4832-972b-61bc5a4d478e', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_UcbIzAd5vLXXqUQXA5JsWhQb', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_UcbIzAd5vLXXqUQXA5JsWhQb')] -2024-09-13 01:11:12,136 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170054, \'localtime\': \'2024-09-12 12:40\'}, \'current\': {\'last_updated_epoch\': 1726169400, \'last_updated\': \'2024-09-12 12:30\', \'temp_c\': 28.3, \'temp_f\': 82.9, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 179, \'wind_dir\': \'S\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 13, \'cloud\': 0, \'feelslike_c\': 26.3, \'feelslike_f\': 79.3, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] -2024-09-13 01:11:14,041 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-36280e4e-e84e-4ec3-ad1a-1bf7ee2e2a02'))]] -2024-09-13 01:11:14,046 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-36280e4e-e84e-4ec3-ad1a-1bf7ee2e2a02' -2024-09-13 01:11:14,049 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 01:11:14,050 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 01:11:14,052 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 01:11:14,057 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 28.3°C (82.9°F). The wind is light, coming from the south at about 2.2 mph, and the humidity is low at 13%. There is no precipitation expected.\n\nFor more detailed information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather - California Forecast](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 01:15:31,867 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} -2024-09-13 01:15:31,900 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:31,913 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:31,921 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:31,926 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:31,930 - FloCallback - INFO - Chain ended. Outputs: [] -2024-09-13 01:15:31,932 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} -2024-09-13 01:15:31,935 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:15:31,937 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 01:15:31,939 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] -2024-09-13 01:15:31,942 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] -2024-09-13 01:15:33,913 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]))]] -2024-09-13 01:15:33,917 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-25eea023-57c1-4693-a62b-d99c2208555d' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}] -2024-09-13 01:15:33,919 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] -2024-09-13 01:15:33,921 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] -2024-09-13 01:15:33,922 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} -2024-09-13 01:15:33,924 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} -2024-09-13 01:15:38,441 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] -2024-09-13 01:15:38,454 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:38,468 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:38,475 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:38,480 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 01:15:38,485 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] -2024-09-13 01:15:38,487 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]} -2024-09-13 01:15:38,489 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]} -2024-09-13 01:15:38,494 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726170321, 'localtime': '2024-09-12 12:45'}, 'current': {'last_updated_epoch': 1726170300, 'last_updated': '2024-09-12 12:45', 'temp_c': 29.1, 'temp_f': 84.4, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 2.2, 'wind_kph': 3.6, 'wind_degree': 10, 'wind_dir': 'N', 'pressure_mb': 1008.0, 'pressure_in': 29.77, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 11, 'cloud': 0, 'feelslike_c': 27.0, 'feelslike_f': 80.5, 'windchill_c': 26.0, 'windchill_f': 78.7, 'heatindex_c': 24.7, 'heatindex_f': 76.4, 'dewpoint_c': 1.0, 'dewpoint_f': 33.8, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 7.0, 'gust_mph': 6.7, 'gust_kph': 10.8}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units"}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')]} -2024-09-13 01:15:38,502 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-25eea023-57c1-4693-a62b-d99c2208555d', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_uQzFA7BzlZZef6l75Zn6E2og', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_uQzFA7BzlZZef6l75Zn6E2og')] -2024-09-13 01:15:38,506 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726170321, \'localtime\': \'2024-09-12 12:45\'}, \'current\': {\'last_updated_epoch\': 1726170300, \'last_updated\': \'2024-09-12 12:45\', \'temp_c\': 29.1, \'temp_f\': 84.4, \'is_day\': 1, \'condition\': {\'text\': \'Sunny\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/day/113.png\', \'code\': 1000}, \'wind_mph\': 2.2, \'wind_kph\': 3.6, \'wind_degree\': 10, \'wind_dir\': \'N\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.77, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 11, \'cloud\': 0, \'feelslike_c\': 27.0, \'feelslike_f\': 80.5, \'windchill_c\': 26.0, \'windchill_f\': 78.7, \'heatindex_c\': 24.7, \'heatindex_f\': 76.4, \'dewpoint_c\': 1.0, \'dewpoint_f\': 33.8, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 7.0, \'gust_mph\': 6.7, \'gust_kph\': 10.8}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://world-weather.info/forecast/usa/california/october-2023/", "content": "Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\'s temperature today Temperature units"}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] -2024-09-13 01:15:40,497 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-fd912116-3bcd-4807-afed-0c3335d27d11'))]] -2024-09-13 01:15:40,500 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-fd912116-3bcd-4807-afed-0c3335d27d11' -2024-09-13 01:15:40,502 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 01:15:40,504 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} log='The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)' -2024-09-13 01:15:40,505 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 01:15:40,507 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is sunny with a temperature of approximately 29.1°C (84.4°F). The humidity is low at 11%, and there is no precipitation. Winds are light, coming from the north at about 2.2 mph.\n\nFor a broader overview of October 2023, temperatures in California have varied, with highs reaching up to 92°F on October 5. The weather has generally been warm, typical for this time of year.\n\nFor more detailed forecasts and historical data, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog](https://www.meteoprog.com/weather/California-california/month/october/)\n- [World Weather](https://world-weather.info/forecast/usa/california/october-2023/)'} -2024-09-13 10:10:33,208 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')]} -2024-09-13 10:10:33,240 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:33,257 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:33,264 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:33,389 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:33,392 - FloCallback - INFO - Chain ended. Outputs: [] -2024-09-13 10:10:33,393 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': []} -2024-09-13 10:10:33,395 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 10:10:33,397 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []} -2024-09-13 10:10:33,398 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california')] -2024-09-13 10:10:33,400 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california'] -2024-09-13 10:10:34,425 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]))]] -2024-09-13 10:10:34,428 - FloCallback - INFO - Chain started. Inputs: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}] -2024-09-13 10:10:34,430 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] -2024-09-13 10:10:34,431 - FloCallback - INFO - Chain ended. Outputs: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] -2024-09-13 10:10:34,434 - FloCallback - INFO - Agent action: tavily_search_results_json - {'query': 'California weather October 2023'} -2024-09-13 10:10:34,442 - FloCallback - INFO - Tool started. Input: {'query': 'California weather October 2023'} -2024-09-13 10:10:38,762 - FloCallback - INFO - Tool ended. Output: [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726202421, 'localtime': '2024-09-12 21:40'}, 'current': {'last_updated_epoch': 1726201800, 'last_updated': '2024-09-12 21:30', 'temp_c': 21.0, 'temp_f': 69.8, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 18.6, 'wind_kph': 29.9, 'wind_degree': 300, 'wind_dir': 'WNW', 'pressure_mb': 1008.0, 'pressure_in': 29.76, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 40, 'cloud': 0, 'feelslike_c': 21.0, 'feelslike_f': 69.8, 'windchill_c': 20.5, 'windchill_f': 68.9, 'heatindex_c': 20.5, 'heatindex_f': 68.9, 'dewpoint_c': 3.4, 'dewpoint_f': 38.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 23.0, 'gust_kph': 37.1}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.weather.gov/lox/headline5_donotchangename', 'content': 'Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ...'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}] -2024-09-13 10:10:38,779 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:38,788 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:38,803 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:38,806 - FloCallback - INFO - Chain started. Inputs: {'input': ''} -2024-09-13 10:10:38,809 - FloCallback - INFO - Chain ended. Outputs: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] -2024-09-13 10:10:38,810 - FloCallback - INFO - Chain ended. Outputs: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')]} -2024-09-13 10:10:38,812 - FloCallback - INFO - Chain ended. Outputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726202421, 'localtime': '2024-09-12 21:40'}, 'current': {'last_updated_epoch': 1726201800, 'last_updated': '2024-09-12 21:30', 'temp_c': 21.0, 'temp_f': 69.8, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 18.6, 'wind_kph': 29.9, 'wind_degree': 300, 'wind_dir': 'WNW', 'pressure_mb': 1008.0, 'pressure_in': 29.76, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 40, 'cloud': 0, 'feelslike_c': 21.0, 'feelslike_f': 69.8, 'windchill_c': 20.5, 'windchill_f': 68.9, 'heatindex_c': 20.5, 'heatindex_f': 68.9, 'dewpoint_c': 3.4, 'dewpoint_f': 38.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 23.0, 'gust_kph': 37.1}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.weather.gov/lox/headline5_donotchangename', 'content': 'Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ...'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')]} -2024-09-13 10:10:38,815 - FloCallback - INFO - Chain started. Inputs: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log="\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n\n\n", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib'), [{'url': 'https://www.weatherapi.com/', 'content': "{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726202421, 'localtime': '2024-09-12 21:40'}, 'current': {'last_updated_epoch': 1726201800, 'last_updated': '2024-09-12 21:30', 'temp_c': 21.0, 'temp_f': 69.8, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 18.6, 'wind_kph': 29.9, 'wind_degree': 300, 'wind_dir': 'WNW', 'pressure_mb': 1008.0, 'pressure_in': 29.76, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 40, 'cloud': 0, 'feelslike_c': 21.0, 'feelslike_f': 69.8, 'windchill_c': 20.5, 'windchill_f': 68.9, 'heatindex_c': 20.5, 'heatindex_f': 68.9, 'dewpoint_c': 3.4, 'dewpoint_f': 38.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 23.0, 'gust_kph': 37.1}}"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 "Hg (Oct 7, 9 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature "near me" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://www.weather.gov/lox/headline5_donotchangename', 'content': 'Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ...'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')]} -2024-09-13 10:10:38,820 - FloCallback - INFO - Chain ended. Outputs: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'function': {'arguments': '{"query":"California weather October 2023"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-cc1cbdd3-17b4-4aa1-9df7-4fafbfe089da', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{"query":"California weather October 2023"}', 'id': 'call_bIFZ5CsQQMjR9VoVF0VvfKib', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_bIFZ5CsQQMjR9VoVF0VvfKib')] -2024-09-13 10:10:38,823 - FloCallback - INFO - LLM started. Prompts: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\n\nHuman: Whats the whether in california\nAI: \nTool: [{"url": "https://www.weatherapi.com/", "content": "{\'location\': {\'name\': \'California City\', \'region\': \'California\', \'country\': \'United States of America\', \'lat\': 35.13, \'lon\': -117.99, \'tz_id\': \'America/Los_Angeles\', \'localtime_epoch\': 1726202421, \'localtime\': \'2024-09-12 21:40\'}, \'current\': {\'last_updated_epoch\': 1726201800, \'last_updated\': \'2024-09-12 21:30\', \'temp_c\': 21.0, \'temp_f\': 69.8, \'is_day\': 0, \'condition\': {\'text\': \'Clear\', \'icon\': \'//cdn.weatherapi.com/weather/64x64/night/113.png\', \'code\': 1000}, \'wind_mph\': 18.6, \'wind_kph\': 29.9, \'wind_degree\': 300, \'wind_dir\': \'WNW\', \'pressure_mb\': 1008.0, \'pressure_in\': 29.76, \'precip_mm\': 0.0, \'precip_in\': 0.0, \'humidity\': 40, \'cloud\': 0, \'feelslike_c\': 21.0, \'feelslike_f\': 69.8, \'windchill_c\': 20.5, \'windchill_f\': 68.9, \'heatindex_c\': 20.5, \'heatindex_f\': 68.9, \'dewpoint_c\': 3.4, \'dewpoint_f\': 38.2, \'vis_km\': 16.0, \'vis_miles\': 9.0, \'uv\': 1.0, \'gust_mph\': 23.0, \'gust_kph\': 37.1}}"}, {"url": "https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023", "content": "Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 \\"Hg (Oct 7, 9 ..."}, {"url": "https://www.meteoprog.com/weather/California-california/month/october/", "content": "California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\"near me\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG"}, {"url": "https://www.weather.gov/lox/headline5_donotchangename", "content": "Weather.gov > Los Angeles, CA > October 2023 Climate Data for Southwest CA Current Hazards. Latest Hazard Listing; Current Outlooks; Daily Briefing; Detailed Hazards ... National Weather Service Los Angeles, CA 520 North Elevar Street Oxnard, CA 93030 805-988-6610 Comments? Questions? Please Contact Us. Disclaimer ..."}, {"url": "https://world-weather.info/forecast/usa/los_angeles/october-2023/", "content": "Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info."}]'] -2024-09-13 10:10:40,634 - FloCallback - INFO - LLM ended. Output: [[ChatGenerationChunk(text='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, message=AIMessageChunk(content='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'}, id='run-0177e650-921b-44a7-af49-b3da78abd038'))]] -2024-09-13 10:10:40,637 - FloCallback - INFO - Chain started. Inputs: content='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_483d39d857'} id='run-0177e650-921b-44a7-af49-b3da78abd038' -2024-09-13 10:10:40,639 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' -2024-09-13 10:10:40,641 - FloCallback - INFO - Chain ended. Outputs: return_values={'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' -2024-09-13 10:10:40,642 - FloCallback - INFO - Agent finished. Output: {'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} -2024-09-13 10:10:40,644 - FloCallback - INFO - Chain ended. Outputs: {'output': 'The current weather in California is as follows:\n\n- **Temperature**: 21.0°C (69.8°F)\n- **Condition**: Clear\n- **Wind**: 18.6 mph (29.9 kph) from the WNW\n- **Humidity**: 40%\n- **Pressure**: 1008.0 mb\n- **Visibility**: 16 km\n\nFor more detailed weather information, you can check the following sources:\n- [Weather API](https://www.weatherapi.com/)\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} diff --git a/flo_ai/common/flo_langchain_logger.py b/flo_ai/common/flo_langchain_logger.py index e75ab4dc..f9f89c2e 100644 --- a/flo_ai/common/flo_langchain_logger.py +++ b/flo_ai/common/flo_langchain_logger.py @@ -2,11 +2,17 @@ from langchain.callbacks.base import BaseCallbackHandler from langchain.schema import AgentAction, AgentFinish, LLMResult from flo_ai.common.flo_logger import get_logger +from flo_ai.state.flo_session import FloSession +from typing import Optional class FloLangchainLogger(BaseCallbackHandler): - def __init__(self, logger_name: str = "FloLangChainLogger", log_level: str = "INFO"): + + def __init__(self, + session_id: str, + logger_name: Optional[str] = "FloLangChainLogger", + log_level: Optional[str] = "INFO"): self.logger = get_logger(logger_name, log_level) - self.session_id = None + self.session_id = session_id def set_session_id(self, session_id: str): self.session_id = session_id diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index e27e4517..79edef1d 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -6,11 +6,12 @@ from typing import Optional class FloSession: + def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, max_loop: int = 3, - log_level: str = "INFO", + log_level: Optional[str] = "INFO", custom_langchainlog_handler: Optional[FloLangchainLogger] = None) -> None: self.session_id = str(uuid.uuid4()) self.llm = llm @@ -20,13 +21,16 @@ def __init__(self, self.pattern_series = dict() self.loop_size: int = loop_size self.max_loop: int = max_loop - - FloLogger.set_log_level("SESSION", log_level) + + self.init_logger() self.logger = session_logger self.logger.info(f"New FloSession created with ID: {self.session_id}") - self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(f"FloLangChainLogger-{self.session_id}", log_level) + self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(self.session_id, log_level=log_level) self.langchain_logger.set_session_id(self.session_id) + def init_logger(self, log_level: str): + FloLogger.set_log_level("SESSION", log_level) + def register_tool(self, name: str, tool: BaseTool): self.tools[name] = tool self.logger.info(f"Tool '{name}' registered for session {self.session_id}") From c74877ca3118e9b16ecf5f7666fc10d9709229d9 Mon Sep 17 00:00:00 2001 From: vizsatiz Date: Sat, 21 Sep 2024 13:00:47 +0530 Subject: [PATCH 6/8] Minor fixes around logging --- examples/agent_of_flo_ai.ipynb | 325 ++++++-------------------- examples/simple_blogging_team.py | 4 +- flo_ai/common/README.md | 10 +- flo_ai/common/flo_langchain_logger.py | 36 ++- flo_ai/common/flo_logger.py | 40 ++-- flo_ai/state/flo_session.py | 11 +- 6 files changed, 125 insertions(+), 301 deletions(-) diff --git a/examples/agent_of_flo_ai.ipynb b/examples/agent_of_flo_ai.ipynb index 558d5f32..8f8c448f 100644 --- a/examples/agent_of_flo_ai.ipynb +++ b/examples/agent_of_flo_ai.ipynb @@ -22,6 +22,15 @@ "execution_count": 1, "metadata": {}, "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Log level -> INFO\n", + "Log level -> INFO\n", + "Log level -> INFO\n" + ] + }, { "data": { "text/plain": [ @@ -54,24 +63,31 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-20 00:37:39,725 - SESSION - INFO - New FloSession created with ID: dd5c4a4c-4390-46bc-945d-eb9474e63702\n", - "2024-09-20 00:37:39,726 - SESSION - INFO - Tool 'InternetSearchTool' registered for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n" + "2024-09-21 12:56:44,042 - SESSION - INFO - New FloSession created with ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24\n", + "2024-09-21 12:56:44,043 - SESSION - INFO - Tool 'InternetSearchTool' registered for session 6b4b8b4e-bcc0-4753-8e66-9707e4858e24\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Log level -> INFO\n" ] }, { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 2, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -88,7 +104,7 @@ "session = FloSession(\n", " llm, \n", " # custom_langchainlog_handler=custom_langchainlog_handler,\n", - " log_level=\"DEBUG\"\n", + " log_level=\"ERROR\"\n", ")\n", "\n", "session.register_tool(\n", @@ -110,7 +126,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -130,27 +146,27 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-20 00:37:51,794 - BUILDER - INFO - Building Flo instance from YAML\n", - "2024-09-20 00:37:52,205 - COMMON - INFO - Flo instance created for session dd5c4a4c-4390-46bc-945d-eb9474e63702\n", - "2024-09-20 00:37:52,206 - COMMON - INFO - Invoking query for session dd5c4a4c-4390-46bc-945d-eb9474e63702: Whats the whether in california\n", - "2024-09-20 00:37:52,213 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", - "2024-09-20 00:37:52,249 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:52,271 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:52,279 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:52,281 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:52,285 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: []\n", - "2024-09-20 00:37:52,286 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'agent_scratchpad': []}\n", - "2024-09-20 00:37:52,288 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-20 00:37:52,296 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-20 00:37:52,297 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", - "2024-09-20 00:37:52,301 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" + "2024-09-21 12:56:48,543 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-21 12:56:48,753 - COMMON - INFO - Flo instance created for session 6b4b8b4e-bcc0-4753-8e66-9707e4858e24\n", + "2024-09-21 12:56:48,754 - COMMON - INFO - Invoking query for session 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: Whats the whether in california\n", + "2024-09-21 12:56:48,761 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", + "2024-09-21 12:56:48,787 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:48,799 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:48,804 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:48,806 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:48,809 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: []\n", + "2024-09-21 12:56:48,810 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'agent_scratchpad': []}\n", + "2024-09-21 12:56:48,811 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-21 12:56:48,813 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", + "2024-09-21 12:56:48,814 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", + "2024-09-21 12:56:48,816 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" ] }, { @@ -166,24 +182,12 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-20 00:37:53,175 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,177 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,179 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,181 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,205 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,208 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,212 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,215 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,254 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,257 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,259 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,261 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:53,263 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", - "2024-09-20 00:37:53,265 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]\n", - "2024-09-20 00:37:53,266 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", - "2024-09-20 00:37:53,267 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", - "2024-09-20 00:37:53,268 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", - "2024-09-20 00:37:53,270 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolStart: {'query': 'California weather October 2023'}\n" + "2024-09-21 12:56:49,720 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", + "2024-09-21 12:56:49,724 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]\n", + "2024-09-21 12:56:49,726 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", + "2024-09-21 12:56:49,727 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", + "2024-09-21 12:56:49,728 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", + "2024-09-21 12:56:49,729 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onToolStart: {'query': 'California weather October 2023'}\n" ] }, { @@ -201,222 +205,36 @@ "name": "stderr", "output_type": "stream", "text": [ - "2024-09-20 00:37:57,165 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", - "2024-09-20 00:37:57,184 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:57,200 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:57,210 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:57,214 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'input': ''}\n", - "2024-09-20 00:37:57,217 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", - "2024-09-20 00:37:57,220 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]}\n", - "2024-09-20 00:37:57,223 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]}\n", - "2024-09-20 00:37:57,225 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]}\n", - "2024-09-20 00:37:57,228 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-cc3ee196-3fa6-49c2-a0f9-7cd8fa0ca8fd', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_kWbCrDTFO30IJZAcg1q0jz5L', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_kWbCrDTFO30IJZAcg1q0jz5L')]\n", - "2024-09-20 00:37:57,230 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California City\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.13, \\'lon\\': -117.99, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726772854, \\'localtime\\': \\'2024-09-19 12:07\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726772400, \\'last_updated\\': \\'2024-09-19 12:00\\', \\'temp_c\\': 22.3, \\'temp_f\\': 72.1, \\'is_day\\': 1, \\'condition\\': {\\'text\\': \\'Sunny\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/day/113.png\\', \\'code\\': 1000}, \\'wind_mph\\': 3.4, \\'wind_kph\\': 5.4, \\'wind_degree\\': 153, \\'wind_dir\\': \\'SSE\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.91, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 35, \\'cloud\\': 0, \\'feelslike_c\\': 23.9, \\'feelslike_f\\': 75.1, \\'windchill_c\\': 24.3, \\'windchill_f\\': 75.7, \\'heatindex_c\\': 24.5, \\'heatindex_f\\': 76.0, \\'dewpoint_c\\': 7.6, \\'dewpoint_f\\': 45.6, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 6.0, \\'gust_mph\\': 3.9, \\'gust_kph\\': 6.2}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/los_angeles/october-2023/\", \"content\": \"Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" + "2024-09-21 12:56:53,714 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", + "2024-09-21 12:56:53,725 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:53,732 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:53,736 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:53,739 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", + "2024-09-21 12:56:53,740 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", + "2024-09-21 12:56:53,742 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]}\n", + "2024-09-21 12:56:53,743 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]}\n", + "2024-09-21 12:56:53,746 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]}\n", + "2024-09-21 12:56:53,748 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", + "2024-09-21 12:56:53,751 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726772854, 'localtime': '2024-09-19 12:07'}, 'current': {'last_updated_epoch': 1726772400, 'last_updated': '2024-09-19 12:00', 'temp_c': 22.3, 'temp_f': 72.1, 'is_day': 1, 'condition': {'text': 'Sunny', 'icon': '//cdn.weatherapi.com/weather/64x64/day/113.png', 'code': 1000}, 'wind_mph': 3.4, 'wind_kph': 5.4, 'wind_degree': 153, 'wind_dir': 'SSE', 'pressure_mb': 1013.0, 'pressure_in': 29.91, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 35, 'cloud': 0, 'feelslike_c': 23.9, 'feelslike_f': 75.1, 'windchill_c': 24.3, 'windchill_f': 75.7, 'heatindex_c': 24.5, 'heatindex_f': 76.0, 'dewpoint_c': 7.6, 'dewpoint_f': 45.6, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 6.0, 'gust_mph': 3.9, 'gust_kph': 6.2}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Find out the average weather conditions in Los Angeles, California for October 2023 based on statistical data. See the daily and monthly temperatures, precipitation, sunny and cloudy days, and compare with other months.'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" + "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-20 00:37:58,002 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:58,005 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: The\n", - "2024-09-20 00:37:58,030 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: current\n", - "2024-09-20 00:37:58,032 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", - "2024-09-20 00:37:58,065 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: in\n", - "2024-09-20 00:37:58,067 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", - "2024-09-20 00:37:58,095 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: is\n", - "2024-09-20 00:37:58,096 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: as\n", - "2024-09-20 00:37:58,183 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: follows\n", - "2024-09-20 00:37:58,186 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "\n", - "\n", - "2024-09-20 00:37:58,220 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:58,222 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,225 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Temperature\n", - "2024-09-20 00:37:58,228 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,229 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "2024-09-20 00:37:58,231 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:58,233 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 22\n", - "2024-09-20 00:37:58,267 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", - "2024-09-20 00:37:58,269 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", - "2024-09-20 00:37:58,304 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: °C\n", - "2024-09-20 00:37:58,306 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", - "2024-09-20 00:37:58,326 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 72\n", - "2024-09-20 00:37:58,329 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", - "2024-09-20 00:37:58,357 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 1\n", - "2024-09-20 00:37:58,359 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: °F\n", - "2024-09-20 00:37:58,386 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", - "\n", - "2024-09-20 00:37:58,388 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:58,419 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,421 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Condition\n", - "2024-09-20 00:37:58,475 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,478 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "2024-09-20 00:37:58,495 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Sunny\n", - "2024-09-20 00:37:58,497 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "\n", - "2024-09-20 00:37:58,516 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:58,518 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,548 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Wind\n", - "2024-09-20 00:37:58,550 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,580 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "2024-09-20 00:37:58,582 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:58,624 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", - "2024-09-20 00:37:58,626 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", - "2024-09-20 00:37:58,642 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 4\n", - "2024-09-20 00:37:58,644 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: mph\n", - "2024-09-20 00:37:58,675 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", - "2024-09-20 00:37:58,677 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 5\n", - "2024-09-20 00:37:58,700 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .\n", - "2024-09-20 00:37:58,702 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 4\n", - "2024-09-20 00:37:58,728 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: k\n", - "2024-09-20 00:37:58,729 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ph\n", - "2024-09-20 00:37:58,771 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", - "2024-09-20 00:37:58,774 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: from\n", - "2024-09-20 00:37:58,813 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: the\n", - "2024-09-20 00:37:58,815 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: SSE\n", - "2024-09-20 00:37:58,826 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "\n", - "2024-09-20 00:37:58,829 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:58,860 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,862 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Humidity\n", - "2024-09-20 00:37:58,897 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,900 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "2024-09-20 00:37:58,926 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:58,927 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 35\n", - "2024-09-20 00:37:58,950 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: %\n", - "\n", - "2024-09-20 00:37:58,952 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:58,975 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:58,977 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Pressure\n", - "2024-09-20 00:37:59,020 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:59,022 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "2024-09-20 00:37:59,041 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:59,043 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 101\n", - "2024-09-20 00:37:59,073 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", - "2024-09-20 00:37:59,075 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: mb\n", - "2024-09-20 00:37:59,099 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "\n", - "2024-09-20 00:37:59,102 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:59,136 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:59,137 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Visibility\n", - "2024-09-20 00:37:59,166 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: **\n", - "2024-09-20 00:37:59,168 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "2024-09-20 00:37:59,218 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:37:59,221 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 16\n", - "2024-09-20 00:37:59,262 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: km\n", - "2024-09-20 00:37:59,264 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: (\n", - "2024-09-20 00:37:59,309 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 9\n", - "2024-09-20 00:37:59,311 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: miles\n", - "2024-09-20 00:37:59,376 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", - "\n", - "\n", - "2024-09-20 00:37:59,378 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: For\n", - "2024-09-20 00:37:59,429 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: more\n", - "2024-09-20 00:37:59,432 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: detailed\n", - "2024-09-20 00:37:59,435 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: weather\n", - "2024-09-20 00:37:59,512 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: information\n", - "2024-09-20 00:37:59,516 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ,\n", - "2024-09-20 00:37:59,558 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: you\n", - "2024-09-20 00:37:59,560 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: can\n", - "2024-09-20 00:37:59,585 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: check\n", - "2024-09-20 00:37:59,587 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: the\n", - "2024-09-20 00:37:59,593 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: following\n", - "2024-09-20 00:37:59,595 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: sources\n", - "2024-09-20 00:37:59,622 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: :\n", - "\n", - "2024-09-20 00:37:59,625 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:59,673 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", - "2024-09-20 00:37:59,675 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", - "2024-09-20 00:37:59,677 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: API\n", - "2024-09-20 00:37:59,703 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", - "2024-09-20 00:37:59,706 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", - "2024-09-20 00:37:59,736 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", - "2024-09-20 00:37:59,738 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", - "2024-09-20 00:37:59,799 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .weather\n", - "2024-09-20 00:37:59,802 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: api\n", - "2024-09-20 00:37:59,807 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", - "2024-09-20 00:37:59,809 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /)\n", - "\n", - "2024-09-20 00:37:59,840 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:59,842 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", - "2024-09-20 00:37:59,865 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Time\n", - "2024-09-20 00:37:59,867 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: and\n", - "2024-09-20 00:37:59,904 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Date\n", - "2024-09-20 00:37:59,908 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:37:59,929 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Los\n", - "2024-09-20 00:37:59,930 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Angeles\n", - "2024-09-20 00:37:59,960 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", - "2024-09-20 00:37:59,962 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", - "2024-09-20 00:37:59,996 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", - "2024-09-20 00:37:59,998 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", - "2024-09-20 00:38:00,036 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", - "2024-09-20 00:38:00,039 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .time\n", - "2024-09-20 00:38:00,064 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: and\n", - "2024-09-20 00:38:00,066 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: date\n", - "2024-09-20 00:38:00,107 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", - "2024-09-20 00:38:00,109 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /weather\n", - "2024-09-20 00:38:00,152 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", - "2024-09-20 00:38:00,156 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: usa\n", - "2024-09-20 00:38:00,184 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", - "2024-09-20 00:38:00,186 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: los\n", - "2024-09-20 00:38:00,248 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -ang\n", - "2024-09-20 00:38:00,249 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: eles\n", - "2024-09-20 00:38:00,307 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /h\n", - "2024-09-20 00:38:00,309 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: istor\n", - "2024-09-20 00:38:00,310 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ic\n", - "2024-09-20 00:38:00,312 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ?\n", - "2024-09-20 00:38:00,326 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: month\n", - "2024-09-20 00:38:00,327 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: =\n", - "2024-09-20 00:38:00,365 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 10\n", - "2024-09-20 00:38:00,367 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: &\n", - "2024-09-20 00:38:00,394 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: year\n", - "2024-09-20 00:38:00,396 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: =\n", - "2024-09-20 00:38:00,423 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 202\n", - "2024-09-20 00:38:00,424 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: 3\n", - "2024-09-20 00:38:00,459 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: )\n", - "\n", - "2024-09-20 00:38:00,461 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:38:00,490 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: [\n", - "2024-09-20 00:38:00,492 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: M\n", - "2024-09-20 00:38:00,522 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ete\n", - "2024-09-20 00:38:00,525 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: op\n", - "2024-09-20 00:38:00,558 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: rog\n", - "2024-09-20 00:38:00,560 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -\n", - "2024-09-20 00:38:00,589 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", - "2024-09-20 00:38:00,591 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: Weather\n", - "2024-09-20 00:38:00,652 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ](\n", - "2024-09-20 00:38:00,655 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: https\n", - "2024-09-20 00:38:00,690 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ://\n", - "2024-09-20 00:38:00,692 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: www\n", - "2024-09-20 00:38:00,728 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .m\n", - "2024-09-20 00:38:00,731 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ete\n", - "2024-09-20 00:38:00,759 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: op\n", - "2024-09-20 00:38:00,761 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: rog\n", - "2024-09-20 00:38:00,790 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: .com\n", - "2024-09-20 00:38:00,792 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /weather\n", - "2024-09-20 00:38:00,812 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /\n", - "2024-09-20 00:38:00,814 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: California\n", - "2024-09-20 00:38:00,851 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: -cal\n", - "2024-09-20 00:38:00,853 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ifornia\n", - "2024-09-20 00:38:00,878 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /month\n", - "2024-09-20 00:38:00,880 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /oct\n", - "2024-09-20 00:38:00,902 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: ober\n", - "2024-09-20 00:38:00,904 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: /)\n", - "2024-09-20 00:38:00,907 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - DEBUG - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onNewToken: \n", - "2024-09-20 00:38:00,910 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onLLMEnd: [[ChatGenerationChunk(text='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-90ba2e4f-fa02-40a6-b458-74e48d84b92f'))]]\n", - "2024-09-20 00:38:00,912 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainStart: content='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-90ba2e4f-fa02-40a6-b458-74e48d84b92f'\n", - "2024-09-20 00:38:00,913 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'\n", - "2024-09-20 00:38:00,914 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'\n", - "2024-09-20 00:38:00,914 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onAgentFinish: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'}\n", - "2024-09-20 00:38:00,915 - FloLangChainLogger-dd5c4a4c-4390-46bc-945d-eb9474e63702 - INFO - Session ID: dd5c4a4c-4390-46bc-945d-eb9474e63702, onChainEnd: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'}\n" + "2024-09-21 12:57:02,889 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMEnd: [[ChatGenerationChunk(text='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346'}, message=AIMessageChunk(content='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346'}, id='run-a22871b4-7c58-4e51-a3ba-3d714ad48082'))]]\n", + "2024-09-21 12:57:02,901 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: content='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346'} id='run-a22871b4-7c58-4e51-a3ba-3d714ad48082'\n", + "2024-09-21 12:57:02,903 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'\n", + "2024-09-21 12:57:02,904 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'\n", + "2024-09-21 12:57:02,905 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onAgentFinish: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'}\n", + "2024-09-21 12:57:02,906 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'}\n" ] }, { @@ -425,17 +243,20 @@ "text": [ "\u001b[32;1m\u001b[1;3mThe current weather in California is as follows:\n", "\n", - "- **Temperature**: 22.3°C (72.1°F)\n", - "- **Condition**: Sunny\n", - "- **Wind**: 3.4 mph (5.4 kph) from the SSE\n", - "- **Humidity**: 35%\n", + "- **Temperature**: 16.7°C (62.1°F)\n", + "- **Condition**: Overcast\n", + "- **Wind**: 3.1 mph (5.0 kph) from the WSW\n", + "- **Humidity**: 78%\n", "- **Pressure**: 1013 mb\n", "- **Visibility**: 16 km (9 miles)\n", "\n", - "For more detailed weather information, you can check the following sources:\n", + "For more detailed forecasts and historical data, you can check the following resources:\n", "- [Weather API](https://www.weatherapi.com/)\n", "- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n", - "- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\u001b[0m\n", + "- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n", + "- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\n", + "\n", + "If you need specific information about a particular city in California, let me know!\u001b[0m\n", "\n", "\u001b[1m> Finished chain.\u001b[0m\n" ] @@ -444,10 +265,10 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 22.3°C (72.1°F)\\n- **Condition**: Sunny\\n- **Wind**: 3.4 mph (5.4 kph) from the SSE\\n- **Humidity**: 35%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following sources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)'}" + " 'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'}" ] }, - "execution_count": 4, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } diff --git a/examples/simple_blogging_team.py b/examples/simple_blogging_team.py index 16fbf1ee..bd66c927 100644 --- a/examples/simple_blogging_team.py +++ b/examples/simple_blogging_team.py @@ -33,13 +33,13 @@ """ llm = ChatOpenAI(temperature=0, model_name='gpt-4o-mini') -session = FloSession(llm).register_tool( +session = FloSession(llm, log_level="ERROR").register_tool( name="TavilySearchResults", tool=TavilySearchResults() ).register_tool( name="DummyTool", tool=TavilySearchResults(description="Tool is a dummy tool, dont use this") ) -flo: Flo = Flo.build(session, yaml=yaml_data) +flo: Flo = Flo.build(session, yaml=yaml_data, log_level="ERROR") data = flo.invoke(input_prompt) print((data['messages'][-1]).content) \ No newline at end of file diff --git a/flo_ai/common/README.md b/flo_ai/common/README.md index efc0386b..07d0396a 100644 --- a/flo_ai/common/README.md +++ b/flo_ai/common/README.md @@ -1,4 +1,4 @@ -# Understanding Log Levels in FLO +# Understanding Log Levels in FloAI FloAI uses standard Python logging levels to indicate the severity of logged messages. Here are the common levels used (from least to most severe): @@ -19,15 +19,15 @@ FloAI provides multiple ways to control log levels: Export environment variables to set the log level for specific components before running the application: - `FLO_LOG_LEVEL_COMMON`: Controls the level for the "CommonLogs" logger. - - CommonLogs: General-purpose logging used across the entire FLO system. It captures broad, system-wide events and information. + - CommonLogs: General-purpose logging used across the entire FloAI system. It captures broad, system-wide events and information. - `FLO_LOG_LEVEL_BUILDER`: Controls the level for the "BuilderLogs" logger. - - BuilderLogs: Specific to the process of building and configuring FLO instances. It logs information about YAML parsing, component creation, and FLO structure setup. + - BuilderLogs: Specific to the process of building and configuring FloAI instances. It logs information about YAML parsing, component creation, and FloAI structure setup. - `FLO_LOG_LEVEL_SESSION`: Controls the level for the "SessionLogs" logger. - - SessionLogs: Dedicated to logging session-specific information. It captures events and data related to individual FLO sessions, including session creation, tool registration, and session-level operations. + - SessionLogs: Dedicated to logging session-specific information. It captures events and data related to individual FloAI sessions, including session creation, tool registration, and session-level operations. -These loggers allow for granular control over logging output in different parts of the FLO system. By adjusting their levels independently, you can focus on debugging or monitoring specific aspects of FLO's operation. +These loggers allow for granular control over logging output in different parts of the FloAI system. By adjusting their levels independently, you can focus on debugging or monitoring specific aspects of FloAI's operation. Example: diff --git a/flo_ai/common/flo_langchain_logger.py b/flo_ai/common/flo_langchain_logger.py index f9f89c2e..022aee7a 100644 --- a/flo_ai/common/flo_langchain_logger.py +++ b/flo_ai/common/flo_langchain_logger.py @@ -1,8 +1,7 @@ from typing import Any, Dict, List, Union from langchain.callbacks.base import BaseCallbackHandler from langchain.schema import AgentAction, AgentFinish, LLMResult -from flo_ai.common.flo_logger import get_logger -from flo_ai.state.flo_session import FloSession +from flo_ai.common.flo_logger import get_logger, FloLogConfig from typing import Optional class FloLangchainLogger(BaseCallbackHandler): @@ -10,48 +9,45 @@ class FloLangchainLogger(BaseCallbackHandler): def __init__(self, session_id: str, logger_name: Optional[str] = "FloLangChainLogger", - log_level: Optional[str] = "INFO"): - self.logger = get_logger(logger_name, log_level) - self.session_id = session_id - - def set_session_id(self, session_id: str): + log_level: Optional[str] = "WARN"): + self.logger = get_logger(FloLogConfig(logger_name, log_level)) self.session_id = session_id def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onLLMStart: {prompts}") + self.logger.info(f"Session ID: {self.session_id}: onLLMStart: {prompts}") def on_llm_new_token(self, token: str, **kwargs: Any) -> None: - self.logger.debug(f"Session ID: {self.session_id}, onNewToken: {token}") + self.logger.debug(f"Session ID: {self.session_id}: onNewToken: {token}") def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onLLMEnd: {response.generations}") + self.logger.info(f"Session ID: {self.session_id}: onLLMEnd: {response.generations}") def on_llm_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"Session ID: {self.session_id}, onLLMError: {error}") + self.logger.error(f"Session ID: {self.session_id}: onLLMError: {error}") def on_chain_start(self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onChainStart: {inputs}") + self.logger.info(f"Session ID: {self.session_id}: onChainStart: {inputs}") def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onChainEnd: {outputs}") + self.logger.info(f"Session ID: {self.session_id}: onChainEnd: {outputs}") def on_chain_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"Session ID: {self.session_id}, onChainError: {error}") + self.logger.error(f"Session ID: {self.session_id}: onChainError: {error}") def on_tool_start(self, serialized: Dict[str, Any], input_str: str, **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onToolStart: {input_str}") + self.logger.info(f"Session ID: {self.session_id}: onToolStart: {input_str}") def on_tool_end(self, output: str, **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onToolEnd: {output}") + self.logger.info(f"Session ID: {self.session_id}: onToolEnd: {output}") def on_tool_error(self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any) -> None: - self.logger.error(f"Session ID: {self.session_id}, onToolError: {error}") + self.logger.error(f"Session ID: {self.session_id}: onToolError: {error}") def on_text(self, text: str, **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onText: {text}") + self.logger.info(f"Session ID: {self.session_id}: onText: {text}") def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any: - self.logger.info(f"Session ID: {self.session_id}, onAgentAction: {action.tool} - {action.tool_input}") + self.logger.info(f"Session ID: {self.session_id}: onAgentAction: {action.tool} - {action.tool_input}") def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None: - self.logger.info(f"Session ID: {self.session_id}, onAgentFinish: {finish.return_values}") \ No newline at end of file + self.logger.info(f"Session ID: {self.session_id}: onAgentFinish: {finish.return_values}") \ No newline at end of file diff --git a/flo_ai/common/flo_logger.py b/flo_ai/common/flo_logger.py index 31f09c7f..20eb1d65 100644 --- a/flo_ai/common/flo_logger.py +++ b/flo_ai/common/flo_logger.py @@ -1,12 +1,19 @@ import os import logging from logging.handlers import RotatingFileHandler -from typing import Dict, Optional +from dataclasses import dataclass + +@dataclass +class FloLogConfig: + name: str + level: str = "INFO" + file_path: str = None + max_bytes: int = 1048576 class FloLoggerUtil(logging.Logger): - def __init__(self, name: str, level: str = "INFO", use_file: bool = False, file_path: str = None, max_bytes: int = 1048576): - super().__init__(name, level) - self.setLevel(level) + def __init__(self, config: FloLogConfig): + super().__init__(config.name, config.level) + self.setLevel(config.level) formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') @@ -14,8 +21,8 @@ def __init__(self, name: str, level: str = "INFO", use_file: bool = False, file_ console_handler.setFormatter(formatter) self.addHandler(console_handler) - if use_file: - file_handler = RotatingFileHandler(file_path or f"{name}.log", maxBytes=max_bytes) + if config.file_path: + file_handler = RotatingFileHandler(config.file_path, maxBytes=config.max_bytes) file_handler.setFormatter(formatter) self.addHandler(file_handler) @@ -23,23 +30,24 @@ class FloLogger: _loggers = {} @classmethod - def get_logger(cls, name: str, level: str = None, use_file: bool = False, file_path: str = None, max_bytes: int = 1048576) -> FloLoggerUtil: - if name not in cls._loggers: - level = level or os.environ.get(f"FLO_LOG_LEVEL_{name.upper()}", "INFO") - cls._loggers[name] = FloLoggerUtil(name, level, use_file, file_path, max_bytes) - return cls._loggers[name] + def get_logger(cls, config: FloLogConfig) -> FloLoggerUtil: + if config.name not in cls._loggers: + level = config.level or os.environ.get(f"FLO_LOG_LEVEL_{config.name.upper()}", "INFO") + config.level = level + cls._loggers[config.name] = FloLoggerUtil(config) + return cls._loggers[config.name] @classmethod def set_log_level(cls, name: str, level: str): if name in cls._loggers: cls._loggers[name].setLevel(level) -def get_logger(name: str, level: str = None, use_file: bool = False, file_path: str = None, max_bytes: int = 1048576) -> FloLoggerUtil: - return FloLogger.get_logger(name, level, use_file, file_path, max_bytes) +def get_logger(config: FloLogConfig) -> FloLoggerUtil: + return FloLogger.get_logger(config) -common_logger = get_logger("COMMON") -builder_logger = get_logger("BUILDER") -session_logger = get_logger("SESSION") +common_logger = get_logger(FloLogConfig("COMMON")) +builder_logger = get_logger(FloLogConfig("BUILDER")) +session_logger = get_logger(FloLogConfig("SESSION")) def set_global_log_level(level: str): for name in ["COMMON", "BUILDER", "SESSION"]: diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index 79edef1d..d4452e23 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -1,12 +1,12 @@ import uuid from langchain_core.language_models import BaseLanguageModel from langchain_core.tools import BaseTool -from flo_ai.common.flo_logger import session_logger, FloLogger, get_logger +from flo_ai.common.flo_logger import session_logger, FloLogger, FloLogConfig from flo_ai.common.flo_langchain_logger import FloLangchainLogger from typing import Optional class FloSession: - + def __init__(self, llm: BaseLanguageModel, loop_size: int = 2, @@ -22,12 +22,11 @@ def __init__(self, self.loop_size: int = loop_size self.max_loop: int = max_loop - self.init_logger() + self.init_logger(log_level) self.logger = session_logger self.logger.info(f"New FloSession created with ID: {self.session_id}") - self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(self.session_id, log_level=log_level) - self.langchain_logger.set_session_id(self.session_id) - + self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(self.session_id, log_level=log_level, logger_name=f"FloLangChainLogger-{self.session_id}") + def init_logger(self, log_level: str): FloLogger.set_log_level("SESSION", log_level) From 4cddb37640db40cf1e835915927ffff061beed90 Mon Sep 17 00:00:00 2001 From: vizsatiz Date: Sat, 21 Sep 2024 13:02:31 +0530 Subject: [PATCH 7/8] Fix for notebooks --- examples/agent_of_flo_ai.ipynb | 116 +++++++-------------------------- 1 file changed, 22 insertions(+), 94 deletions(-) diff --git a/examples/agent_of_flo_ai.ipynb b/examples/agent_of_flo_ai.ipynb index 8f8c448f..ede50487 100644 --- a/examples/agent_of_flo_ai.ipynb +++ b/examples/agent_of_flo_ai.ipynb @@ -63,31 +63,31 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-21 12:56:44,042 - SESSION - INFO - New FloSession created with ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24\n", - "2024-09-21 12:56:44,043 - SESSION - INFO - Tool 'InternetSearchTool' registered for session 6b4b8b4e-bcc0-4753-8e66-9707e4858e24\n" + "2024-09-21 12:58:25,784 - SESSION - INFO - New FloSession created with ID: 9b56b8e0-bc8f-4c4c-b8a7-4a9695a7c97a\n", + "2024-09-21 12:58:25,785 - SESSION - INFO - Tool 'InternetSearchTool' registered for session 9b56b8e0-bc8f-4c4c-b8a7-4a9695a7c97a\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "Log level -> INFO\n" + "Log level -> ERROR\n" ] }, { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 3, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -126,7 +126,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -146,27 +146,16 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2024-09-21 12:56:48,543 - BUILDER - INFO - Building Flo instance from YAML\n", - "2024-09-21 12:56:48,753 - COMMON - INFO - Flo instance created for session 6b4b8b4e-bcc0-4753-8e66-9707e4858e24\n", - "2024-09-21 12:56:48,754 - COMMON - INFO - Invoking query for session 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: Whats the whether in california\n", - "2024-09-21 12:56:48,761 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')]}\n", - "2024-09-21 12:56:48,787 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:48,799 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:48,804 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:48,806 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:48,809 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: []\n", - "2024-09-21 12:56:48,810 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'agent_scratchpad': []}\n", - "2024-09-21 12:56:48,811 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-21 12:56:48,813 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [], 'agent_scratchpad': []}\n", - "2024-09-21 12:56:48,814 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california')]\n", - "2024-09-21 12:56:48,816 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california']\n" + "2024-09-21 12:58:31,259 - BUILDER - INFO - Building Flo instance from YAML\n", + "2024-09-21 12:58:31,265 - COMMON - INFO - Flo instance created for session 9b56b8e0-bc8f-4c4c-b8a7-4a9695a7c97a\n", + "2024-09-21 12:58:31,266 - COMMON - INFO - Invoking query for session 9b56b8e0-bc8f-4c4c-b8a7-4a9695a7c97a: Whats the whether in california\n" ] }, { @@ -175,86 +164,25 @@ "text": [ "\n", "\n", - "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2024-09-21 12:56:49,720 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMEnd: [[ChatGenerationChunk(generation_info={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, message=AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]))]]\n", - "2024-09-21 12:56:49,724 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: content='' additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]} response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'} id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4' tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}] tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]\n", - "2024-09-21 12:56:49,726 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", - "2024-09-21 12:56:49,727 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: [ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", - "2024-09-21 12:56:49,728 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onAgentAction: tavily_search_results_json - {'query': 'California weather October 2023'}\n", - "2024-09-21 12:56:49,729 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onToolStart: {'query': 'California weather October 2023'}\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ + "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n", "\u001b[32;1m\u001b[1;3m\n", "Invoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\n", "\n", "\n", - "\u001b[0m" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2024-09-21 12:56:53,714 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onToolEnd: [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\n", - "2024-09-21 12:56:53,725 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:53,732 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:53,736 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:53,739 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'input': ''}\n", - "2024-09-21 12:56:53,740 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", - "2024-09-21 12:56:53,742 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]}\n", - "2024-09-21 12:56:53,743 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]}\n", - "2024-09-21 12:56:53,746 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: {'messages': [HumanMessage(content='Whats the whether in california')], 'intermediate_steps': [(ToolAgentAction(tool='tavily_search_results_json', tool_input={'query': 'California weather October 2023'}, log=\"\\nInvoking: `tavily_search_results_json` with `{'query': 'California weather October 2023'}`\\n\\n\\n\", message_log=[AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}])], tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg'), [{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}])], 'agent_scratchpad': [AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]}\n", - "2024-09-21 12:56:53,748 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: messages=[SystemMessage(content='Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n'), HumanMessage(content='Whats the whether in california'), AIMessageChunk(content='', additional_kwargs={'tool_calls': [{'index': 0, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'function': {'arguments': '{\"query\":\"California weather October 2023\"}', 'name': 'tavily_search_results_json'}, 'type': 'function'}]}, response_metadata={'finish_reason': 'tool_calls', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_1bb46167f9'}, id='run-9a0ce1da-d613-463e-a35d-03d5e3583bc4', tool_calls=[{'name': 'tavily_search_results_json', 'args': {'query': 'California weather October 2023'}, 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'type': 'tool_call'}], tool_call_chunks=[{'name': 'tavily_search_results_json', 'args': '{\"query\":\"California weather October 2023\"}', 'id': 'call_ZsJt4evXkw5Mfy9C7srAD6Dg', 'index': 0, 'type': 'tool_call_chunk'}]), ToolMessage(content='[{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]', additional_kwargs={'name': 'tavily_search_results_json'}, tool_call_id='call_ZsJt4evXkw5Mfy9C7srAD6Dg')]\n", - "2024-09-21 12:56:53,751 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMStart: ['System: Given the city name you are capable of answering the latest whether this time of the year by searching the internet\\n\\nHuman: Whats the whether in california\\nAI: \\nTool: [{\"url\": \"https://www.weatherapi.com/\", \"content\": \"{\\'location\\': {\\'name\\': \\'California Valley\\', \\'region\\': \\'California\\', \\'country\\': \\'United States of America\\', \\'lat\\': 35.32, \\'lon\\': -120.01, \\'tz_id\\': \\'America/Los_Angeles\\', \\'localtime_epoch\\': 1726903588, \\'localtime\\': \\'2024-09-21 00:26\\'}, \\'current\\': {\\'last_updated_epoch\\': 1726902900, \\'last_updated\\': \\'2024-09-21 00:15\\', \\'temp_c\\': 16.7, \\'temp_f\\': 62.1, \\'is_day\\': 0, \\'condition\\': {\\'text\\': \\'Overcast\\', \\'icon\\': \\'//cdn.weatherapi.com/weather/64x64/night/122.png\\', \\'code\\': 1009}, \\'wind_mph\\': 3.1, \\'wind_kph\\': 5.0, \\'wind_degree\\': 247, \\'wind_dir\\': \\'WSW\\', \\'pressure_mb\\': 1013.0, \\'pressure_in\\': 29.92, \\'precip_mm\\': 0.0, \\'precip_in\\': 0.0, \\'humidity\\': 78, \\'cloud\\': 100, \\'feelslike_c\\': 16.7, \\'feelslike_f\\': 62.1, \\'windchill_c\\': 17.3, \\'windchill_f\\': 63.1, \\'heatindex_c\\': 17.3, \\'heatindex_f\\': 63.2, \\'dewpoint_c\\': 12.2, \\'dewpoint_f\\': 53.9, \\'vis_km\\': 16.0, \\'vis_miles\\': 9.0, \\'uv\\': 1.0, \\'gust_mph\\': 6.6, \\'gust_kph\\': 10.6}}\"}, {\"url\": \"https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023\", \"content\": \"Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...\"}, {\"url\": \"https://www.meteoprog.com/weather/California-california/month/october/\", \"content\": \"California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \\\\\"near me\\\\\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG\"}, {\"url\": \"https://world-weather.info/forecast/usa/california/october-2023/\", \"content\": \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world\\'s temperature today Temperature units\"}, {\"url\": \"https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States\", \"content\": \"October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim\"}]']\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California Valley', 'region': 'California', 'country': 'United States of America', 'lat': 35.32, 'lon': -120.01, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903588, 'localtime': '2024-09-21 00:26'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.7, 'temp_f': 62.1, 'is_day': 0, 'condition': {'text': 'Overcast', 'icon': '//cdn.weatherapi.com/weather/64x64/night/122.png', 'code': 1009}, 'wind_mph': 3.1, 'wind_kph': 5.0, 'wind_degree': 247, 'wind_dir': 'WSW', 'pressure_mb': 1013.0, 'pressure_in': 29.92, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 78, 'cloud': 100, 'feelslike_c': 16.7, 'feelslike_f': 62.1, 'windchill_c': 17.3, 'windchill_f': 63.1, 'heatindex_c': 17.3, 'heatindex_f': 63.2, 'dewpoint_c': 12.2, 'dewpoint_f': 53.9, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 6.6, 'gust_kph': 10.6}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://world-weather.info/forecast/usa/california/october-2023/', 'content': \"Weather in California in October 2023 (Maryland) - Detailed Weather Forecast for a Month Weather Weather in California Weather in California in October 2023 California Weather Forecast for October 2023 is based on statistical data. 1 +77°+61° 2 +79°+63° 3 +79°+61° 4 +77°+59° 5 +75°+59° 6 +77°+66° 7 +64°+64° 8 +64°+52° 9 +66°+50° 10 +70°+55° 11 +72°+54° 12 +70°+54° 13 +68°+54° 14 +64°+54° 15 +63°+59° 16 +61°+50° 17 +63°+54° 18 +63°+50° 19 +70°+50° Average weather in October 2023 Weather in Washington, D.C.+79° Annapolis+77° Fairfax+77° Fredericksburg+77° Manassas+79° McLean+79° Mechanicsville+77° Vienna+77° Alexandria+79° Waldorf+77° Salisbury+75° Rockville+77° Woodmere+77° Windsor+75° world's temperature today Temperature units\"}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}]\u001b[0m" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2024-09-21 12:57:02,889 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onLLMEnd: [[ChatGenerationChunk(text='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!', generation_info={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346'}, message=AIMessageChunk(content='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!', response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346'}, id='run-a22871b4-7c58-4e51-a3ba-3d714ad48082'))]]\n", - "2024-09-21 12:57:02,901 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainStart: content='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!' response_metadata={'finish_reason': 'stop', 'model_name': 'gpt-4o-mini-2024-07-18', 'system_fingerprint': 'fp_e9627b5346'} id='run-a22871b4-7c58-4e51-a3ba-3d714ad48082'\n", - "2024-09-21 12:57:02,903 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'\n", - "2024-09-21 12:57:02,904 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: return_values={'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'} log='The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'\n", - "2024-09-21 12:57:02,905 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onAgentFinish: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'}\n", - "2024-09-21 12:57:02,906 - FloLangChainLogger-6b4b8b4e-bcc0-4753-8e66-9707e4858e24 - INFO - Session ID: 6b4b8b4e-bcc0-4753-8e66-9707e4858e24: onChainEnd: {'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'}\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[32;1m\u001b[1;3mThe current weather in California is as follows:\n", + "\u001b[0m\u001b[36;1m\u001b[1;3m[{'url': 'https://www.weatherapi.com/', 'content': \"{'location': {'name': 'California City', 'region': 'California', 'country': 'United States of America', 'lat': 35.13, 'lon': -117.99, 'tz_id': 'America/Los_Angeles', 'localtime_epoch': 1726903691, 'localtime': '2024-09-21 00:28'}, 'current': {'last_updated_epoch': 1726902900, 'last_updated': '2024-09-21 00:15', 'temp_c': 16.8, 'temp_f': 62.2, 'is_day': 0, 'condition': {'text': 'Clear', 'icon': '//cdn.weatherapi.com/weather/64x64/night/113.png', 'code': 1000}, 'wind_mph': 4.5, 'wind_kph': 7.2, 'wind_degree': 264, 'wind_dir': 'W', 'pressure_mb': 1011.0, 'pressure_in': 29.86, 'precip_mm': 0.0, 'precip_in': 0.0, 'humidity': 64, 'cloud': 0, 'feelslike_c': 16.8, 'feelslike_f': 62.2, 'windchill_c': 15.6, 'windchill_f': 60.0, 'heatindex_c': 15.8, 'heatindex_f': 60.5, 'dewpoint_c': 10.1, 'dewpoint_f': 50.2, 'vis_km': 16.0, 'vis_miles': 9.0, 'uv': 1.0, 'gust_mph': 7.8, 'gust_kph': 12.5}}\"}, {'url': 'https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023', 'content': 'Weather reports from October 2023 in Los Angeles, California, USA with highs and lows. Sep 17-18. Sign in. News. News Home; Astronomy News; Time Zone News; Calendar & Holiday News; Newsletter; Live events. ... High & Low Weather Summary for October 2023 Temperature Humidity Pressure; High: 92 °F (Oct 5, 11:53 am) 100% (Oct 7, 9:02 am) 30.11 ...'}, {'url': 'https://www.meteoprog.com/weather/California-california/month/october/', 'content': 'California (United States) weather in October 2023 ☀️ Accurate weather forecast for California in October ⛅ Detailed forecast By month Current temperature \"near me\" Weather news ⊳ Widget of weather ⊳ Water temperature | METEOPROG'}, {'url': 'https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States', 'content': 'October 2023 Weather History in Anaheim California, United States This report shows the past weather for Anaheim, providing a weather history for October 2023. It features all historical weather data series we have available, including the Anaheim temperature history for October 2023. Anaheim Temperature History October 2023 Hourly Temperature in October 2023 in Anaheim Cloud Cover in October 2023 in Anaheim Daily Precipitation in October 2023 in Anaheim Observed Weather in October 2023 in Anaheim Hours of Daylight and Twilight in October 2023 in Anaheim Solar Elevation and Azimuth in October 2023 in Anaheim Oct 2023 Humidity Comfort Levels in October 2023 in Anaheim Wind Speed in October 2023 in Anaheim Hourly Wind Speed in October 2023 in Anaheim'}, {'url': 'https://world-weather.info/forecast/usa/los_angeles/october-2023/', 'content': 'Extended weather forecast in Los Angeles. Hourly Week 10 days 14 days 30 days Year. Detailed ⚡ Los Angeles Weather Forecast for October 2023 - day/night 🌡️ temperatures, precipitations - World-Weather.info.'}]\u001b[0m\u001b[32;1m\u001b[1;3mThe current weather in California is as follows:\n", "\n", - "- **Temperature**: 16.7°C (62.1°F)\n", - "- **Condition**: Overcast\n", - "- **Wind**: 3.1 mph (5.0 kph) from the WSW\n", - "- **Humidity**: 78%\n", - "- **Pressure**: 1013 mb\n", + "- **Location**: California City\n", + "- **Temperature**: 16.8°C (62.2°F)\n", + "- **Condition**: Clear\n", + "- **Wind**: 4.5 mph (7.2 kph) from the west\n", + "- **Humidity**: 64%\n", "- **Visibility**: 16 km (9 miles)\n", "\n", - "For more detailed forecasts and historical data, you can check the following resources:\n", + "For more detailed weather information, you can check the following resources:\n", "- [Weather API](https://www.weatherapi.com/)\n", "- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\n", "- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\n", - "- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\n", + "- [Weather Spark - Anaheim Weather History](https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States)\n", "\n", "If you need specific information about a particular city in California, let me know!\u001b[0m\n", "\n", @@ -265,10 +193,10 @@ "data": { "text/plain": [ "{'messages': [HumanMessage(content='Whats the whether in california')],\n", - " 'output': 'The current weather in California is as follows:\\n\\n- **Temperature**: 16.7°C (62.1°F)\\n- **Condition**: Overcast\\n- **Wind**: 3.1 mph (5.0 kph) from the WSW\\n- **Humidity**: 78%\\n- **Pressure**: 1013 mb\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed forecasts and historical data, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [World Weather - California October 2023](https://world-weather.info/forecast/usa/california/october-2023/)\\n\\nIf you need specific information about a particular city in California, let me know!'}" + " 'output': 'The current weather in California is as follows:\\n\\n- **Location**: California City\\n- **Temperature**: 16.8°C (62.2°F)\\n- **Condition**: Clear\\n- **Wind**: 4.5 mph (7.2 kph) from the west\\n- **Humidity**: 64%\\n- **Visibility**: 16 km (9 miles)\\n\\nFor more detailed weather information, you can check the following resources:\\n- [Weather API](https://www.weatherapi.com/)\\n- [Time and Date - Los Angeles Weather](https://www.timeanddate.com/weather/usa/los-angeles/historic?month=10&year=2023)\\n- [Meteoprog - California Weather](https://www.meteoprog.com/weather/California-california/month/october/)\\n- [Weather Spark - Anaheim Weather History](https://weatherspark.com/h/m/1828/2023/10/Historical-Weather-in-October-2023-in-Anaheim-California-United-States)\\n\\nIf you need specific information about a particular city in California, let me know!'}" ] }, - "execution_count": 5, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } From 892f3d56839607be7de5423c38ff61e53dc4ab5e Mon Sep 17 00:00:00 2001 From: vizsatiz Date: Sat, 21 Sep 2024 13:22:09 +0530 Subject: [PATCH 8/8] Final fixes to log levels --- examples/simple_blogging_team.py | 4 ++-- flo_ai/state/flo_session.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/simple_blogging_team.py b/examples/simple_blogging_team.py index bd66c927..7bbc9b69 100644 --- a/examples/simple_blogging_team.py +++ b/examples/simple_blogging_team.py @@ -33,13 +33,13 @@ """ llm = ChatOpenAI(temperature=0, model_name='gpt-4o-mini') -session = FloSession(llm, log_level="ERROR").register_tool( +session = FloSession(llm, log_level="INFO").register_tool( name="TavilySearchResults", tool=TavilySearchResults() ).register_tool( name="DummyTool", tool=TavilySearchResults(description="Tool is a dummy tool, dont use this") ) -flo: Flo = Flo.build(session, yaml=yaml_data, log_level="ERROR") +flo: Flo = Flo.build(session, yaml=yaml_data, log_level="INFO") data = flo.invoke(input_prompt) print((data['messages'][-1]).content) \ No newline at end of file diff --git a/flo_ai/state/flo_session.py b/flo_ai/state/flo_session.py index d4452e23..9954cc6a 100644 --- a/flo_ai/state/flo_session.py +++ b/flo_ai/state/flo_session.py @@ -26,7 +26,8 @@ def __init__(self, self.logger = session_logger self.logger.info(f"New FloSession created with ID: {self.session_id}") self.langchain_logger = custom_langchainlog_handler or FloLangchainLogger(self.session_id, log_level=log_level, logger_name=f"FloLangChainLogger-{self.session_id}") - + self.langchain_logger.set_session_id(self.session_id) + def init_logger(self, log_level: str): FloLogger.set_log_level("SESSION", log_level)