name, an on_open and on_close methods. The on_open is called when an agent is started with this device, and when stopped, on_close is called.
Template
This template, once activated, sends data every 1 second to the agent as if the user was talking.Data types
The Innate agent performs better with properly formatted inputs, so we provide the data_type parameter to send data on the right channels. Currently,data_type can either be chat_in or custom. In both cases, send_data expects a dictionary:
chat_in— text input as if the user was talking, e.g.{"text": "Hello robot"}. You can include extra keys such asconfidenceorsource.custom— any other structured data, e.g.{"air_quality": 42, "unit": "AQI"}.

