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:

  1. This event is only registered for the AIOBJECT object using the EVENTREGISTER instruction.

  2. This event is implemented to indicate a successful completion of a .OpenAI or Gemini AI operation.

  3. The PL/B program can use the Response method.to obtain the returned JSON data.

  4. The Answer event is referenced using an event value of thirty-seven (37).

 

 

See Also: EVENTREGISTER, Object Events, Object Instructions, Object Definitions

 



PL/B Language Reference