Event Messages | Hume API

Event messages are triggered when specific events occur during a chat session. These messages are used to configure behaviors for EVI, such as controlling how EVI starts a new conversation.

When enabling events you can optionally specify text which EVI will speak verbatim. If no text is provided, then EVI will infer what to say based on the Chat context.

API Reference

Supported events

Enabling an inactivity message allows developers to use this message event for “checking in” with the user if they are not responding to see if they are still active.

If the user does not respond in the number of seconds specified in the inactivity_timeout field, then EVI will say the message and will wait an additional 15 seconds before the Chat is ended. If the user responds before this grace period ends, the conversation will continue as normal.

If the inactivity message is not enabled, then reaching the inactivity timeout will immediately end the connection.