You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.
Description:
We need to implement the AI tool function {{ google_maps_navigation }} which utilizes the google maps API. Given the longitude and latitude of the start and destination, the navigation full path should be returned with the start and finish of each section of the journey.
JSON Definition:
{
"type": "function",
"function": {
"name": "google_maps_navigation",
"description": "Utilizes the Google Maps API to return the full navigation path given the longitude and latitude of the start and destination points.",
"parameters": {
"type": "object",
"properties": {
"start_longitude": {
"type": "number",
"description": "The longitude of the starting point."
},
"start_latitude": {
"type": "number",
"description": "The latitude of the starting point."
},
"destination_longitude": {
"type": "number",
"description": "The longitude of the destination point."
},
"destination_latitude": {
"type": "number",
"description": "The latitude of the destination point."
}
},
"required": [
"start_longitude",
"start_latitude",
"destination_longitude",
"destination_latitude"
]
}
}
}
Implementation Notes:
The function should interact with Google Maps API as needed to achieve the expected result.
Ensure proper error handling, logging, and response formatting.
The text was updated successfully, but these errors were encountered:
Description:
We need to implement the AI tool function
{{ google_maps_navigation }}
which utilizes the google maps API. Given the longitude and latitude of the start and destination, the navigation full path should be returned with the start and finish of each section of the journey.JSON Definition:
Implementation Notes:
The text was updated successfully, but these errors were encountered: