Prerequisites
The following example requires therequests and openai libraries and an API key which can be obtained from OpenWeatherMap. The API key activates a few hours after sign-up.
Example
The following agent will use OpenWeatherMap to get current weather information for Tokyo.cookbook/91_tools/openweather_tools.py