Answer Event
The Answer event is generated using a PL/B AI runtime. This event is generated when a result is available from a successful Question method
Note the following:
This event is only registered for the AIOBJECT object using the EVENTREGISTER instruction.
This event is implemented to indicate a successful completion of a .OpenAI or Gemini AI operation.
The PL/B program can use the Response method.to obtain the returned JSON data.
The Answer event is referenced using an event value of thirty-seven (37).
See Also: EVENTREGISTER, Object Events, Object Instructions, Object Definitions
![]() |