diff --git a/cookbooks/03-trip-planning-assistant.ipynb b/cookbooks/03-trip-planning-assistant.ipynb index a65722026..d24ad747c 100644 --- a/cookbooks/03-trip-planning-assistant.ipynb +++ b/cookbooks/03-trip-planning-assistant.ipynb @@ -280,21 +280,21 @@ "########################################################\n", "\n", "main:\n", - "# Step 1: Fetch weather data for each location\n", + "# Step 0: Fetch weather data for each location\n", "- over: $ steps[0].input.locations\n", " map:\n", " tool: weather\n", " arguments:\n", " location: $ _\n", "\n", - "# Step 2: Search Wikipedia for tourist attractions for each location\n", + "# Step 1: Search Wikipedia for tourist attractions for each location\n", "- over: $ steps[0].input.locations\n", " map:\n", " tool: internet_search\n", " arguments:\n", " query: $ 'tourist attractions in ' + _\n", "\n", - "# Step 3: Zip locations, weather, and attractions into a list of tuples [(location, weather, attractions)]\n", + "# Step 2: Zip locations, weather, and attractions into a list of tuples [(location, weather, attractions)]\n", "- evaluate:\n", " zipped: |-\n", " $ list(\n", @@ -305,7 +305,7 @@ " )\n", " )\n", "\n", - "# Step 4: Create an itinerary for each location\n", + "# Step 3: Create an itinerary for each location\n", "- over: $ _['zipped']\n", " parallelism: 3\n", " # Inside the map step, each `_` represents the current element in the list\n", @@ -328,7 +328,7 @@ " Attractions: \"{{_[2]}}\"'''\n", " unwrap: true\n", "\n", - "# Step 5: Create a final plan by joining the activities for each location\n", + "# Step 4: Create a final plan by joining the activities for each location\n", "- evaluate:\n", " final_plan: |-\n", " $ '\\\\n---------------\\\\n'.join(activity for activity in _)\n", diff --git a/cookbooks/08-rag-customer-support-chatbot.ipynb b/cookbooks/08-rag-customer-support-chatbot.ipynb index f7d8ba414..e3a806659 100644 --- a/cookbooks/08-rag-customer-support-chatbot.ipynb +++ b/cookbooks/08-rag-customer-support-chatbot.ipynb @@ -280,7 +280,7 @@ " operation: create\n", "\n", "########################################################\n", - "####################### SUB WORKFLOWS ##########################\n", + "####################### SUB WORKFLOWS ##################\n", "########################################################\n", "\n", "index_page:\n",