diff --git a/docs/docs/tutorials/customer-support/customer-support.ipynb b/docs/docs/tutorials/customer-support/customer-support.ipynb index 9cf3ac479..73ca73925 100644 --- a/docs/docs/tutorials/customer-support/customer-support.ipynb +++ b/docs/docs/tutorials/customer-support/customer-support.ipynb @@ -1077,7 +1077,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "part_1_tools = [\n", " TavilySearchResults(max_results=1),\n", @@ -1893,7 +1893,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "part_2_tools = [\n", " TavilySearchResults(max_results=1),\n", @@ -2472,7 +2472,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "\n", "# \"Read\"-only tools (such as retrievers) don't need a user confirmation to use\n", @@ -3183,7 +3183,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "update_flight_safe_tools = [search_flights]\n", "update_flight_sensitive_tools = [update_ticket_to_new_flight, cancel_ticket]\n", @@ -3215,7 +3215,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "book_hotel_safe_tools = [search_hotels]\n", "book_hotel_sensitive_tools = [book_hotel, update_hotel, cancel_hotel]\n", @@ -3247,7 +3247,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "book_car_rental_safe_tools = [search_car_rentals]\n", "book_car_rental_sensitive_tools = [\n", @@ -3282,7 +3282,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "\n", "book_excursion_safe_tools = [search_trip_recommendations]\n", "book_excursion_sensitive_tools = [book_excursion, update_excursion, cancel_excursion]\n", @@ -3389,7 +3389,7 @@ " ),\n", " (\"placeholder\", \"{messages}\"),\n", " ]\n", - ").partial(time=datetime.now())\n", + ").partial(time=datetime.now)\n", "primary_assistant_tools = [\n", " TavilySearchResults(max_results=1),\n", " search_flights,\n",