
Ecstatic Disregard
Amateur Enantiodromist
Today I experimented with hooking up a REST API to OpenAI via the Chat Completion “tool” framework (originally I had intended to use a Model Context Protocol server, but discovered that OpenAI’s integration for that was in a state of disarray…)
Components:
An OpenWeather api key An OpenAI platform api key A lambda that encapsulates calls to the weather api A python script that uses a “tool” definition to call the lambda The Lambda 🔗This is pretty straightforward:
I have been experimenting with using the OpenAI Vision API to recognise meter readings in photographs and submit them to C3NTINEL’s meter readings API.
The Vision API lets you generate and process images - the latter is what I’m interested in here.
C3NTINEL is an energy analytics platform that manages meter readings of all sorts and provides analytics and predictions. Specifically here I am interested in what are called “manual readings”.
Recently AWS made a new feature available in Cloudwatch: AI Operations.
What does it do? In it’s own words:
Amazon Q Developer now includes a new generative-AI investigations experience that helps you troubleshoot operational issues by automating information gathering, analyzing observability data, and providing tailored recommendations.
With this tool one is able to create a trail or notebook of observations and have AWS automatically find new hopefully relevant observations and even suggest causes and actions.