Message from a Target

The target can spontaneously send a message to a Front.


sayService -> Front
   {
       "type" : "say",
       "language" : "en-us",
       "text" : "Loading... please wait."
   }
Field Description
language Language of the message sent.
text Message to be transmitted to the user

Tip:
When you conceive a service, it is recommended to remain consistent on the list of the possible languages ; the availabres laguages in the Front have to correspond to those available in the Target(s), in the messages but also in the keywords and verboses.

API connection address :

TCP : golem.ai:3003
Web Socket : golem.ai:3004/ws
Web Socket Sécurisé (WSS) : golem.ai:3005/ws
HTTP : golem.ai:3004/http
HTTPS : golem.ai:3005/http