Hi everyone, I’m fairly new to Make but not to the automation world, however I really can’t understand how to make some stuff working and couldn’t find any resources or tutorials about this specific issue.
My goal is to create a Telegram bot to interact with OpenAI models, and so far the completion part is working, however I’m struggling to understand how to implement the GPT vision.
What I want is to send a photo from the Telegram bot, and have it analyzed from GPT vision module. So far I have the initial Telegram webhook \ listener, a router with the Completion branch, and the non-working branch for vision GPT. I have added the HTTP GetFile module to retrieve the Telegram image path and getting the output with status 200 and json data with the path, however everything I try after this point gives errors (status 400 on another HTTP getFile with the path /{{8.data.result.file_path}}
and obviously errors on GPT Vision for invalid image.
Apparently, I somehow need to parse the response from HTTP getFile to retrieve the binary file, encode to base64 and feed to GPT Vision module, but I haven’t figured out how to do so.
I understand I might be able to use less HTTP modules or not use them at all, but so far I’m stuck.
Any help is appreciated.
Thanks,
Val