I have an AIP Logic, which I’m giving access to some Ontology Objects. Those Objects have timeseries properties.
Can ask the AIP Logic to query those timeseries ? Can I prompt the AIP Logic for “sum of the last 7 days of ” and the AIP Logic will be able to query the timeseries property of this object instance ?
This is theoretically possible but not recommended. Keep in mind that LLMs handle simple calculations very poorly, they are also non-deterministic. This means that the Logic function could make a mistake at two points in your request: querying objects from the last 7 days and summing the properties for all these objects.
Instead it is recommended that you use functions that can algorithmically process this. You can then pass this function in as a tool for the Logic function to use. (The function would filter for objects that are within the last 7 days of… and then sum the timeseries property).