Browse Source

Merge pull request #28 from rmeijsSdu/fix_typo_in_com_contrib_week2_day4

Typo. Fix from "Unknow" to "Unknown"
pull/18/merge
Ed Donner 5 months ago committed by GitHub
parent
commit
7a62af59ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      week2/community-contributions/day4.ipynb

2
week2/community-contributions/day4.ipynb

@ -245,7 +245,7 @@
" arguments = json.loads(tool_call.function.arguments)\n", " arguments = json.loads(tool_call.function.arguments)\n",
" city = arguments.get('destination_city')\n", " city = arguments.get('destination_city')\n",
" price = get_ticket_price(city)\n", " price = get_ticket_price(city)\n",
" if price != \"Unknow\":\n", " if price != \"Unknown\":\n",
" ticket_booked = book_ticket(city)\n", " ticket_booked = book_ticket(city)\n",
" response = {\n", " response = {\n",
" \"role\": \"tool\",\n", " \"role\": \"tool\",\n",

Loading…
Cancel
Save