You should use function calling tool. Your function can do anything that you want to, even call any external API.
Here you have a demo code in Java, but you could extrapolate to your favorite language.
You should use function calling tool. Your function can do anything that you want to, even call any external API.
Here you have a demo code in Java, but you could extrapolate to your favorite language.