- Published on
This post walks through setting up an AI agent on Predictable Dialogs to fetch current weather data using OpenAI function calling. It demonstrates how to define a getWeather function with latitude and longitude parameters, configure the Open-Meteo API endpoint using the GET method, and link it within the Predictable Dialogs platform.