Connection


HTTP
golem.ai:3004/http

HTTPS
golem.ai:3005/http

Web Socket
golem.ai:3004/ws

Web Socket Sécurisé (WSS)
golem.ai:3005/ws

TCP
golem.ai:3003

Request

Sending a request to the user

For a request to be processed by the service, we send the following command :

request
   {
      "token" : "eb07aj4bab49d8deadad8cbe43bd8276", // In HTTP mode, if using the SaaS proxy
      
      "type" : "request",
      "language" : "en",
      "text" : "Train pour bordeaux demain",
      
      // Paramètres optionnels
      "Labelling" : true,
      "ParametersDetail" : false,
      "DisableVerbose" : false
   }

Optionnal parameters

The optionnal parameters are used to define which informations you want to get in return.

Labelling
It is a display of the lexical analysis made by Golem.ai while analyzing.
In console mode, the labelling takes the form of a visualisation (highlighting the identified elements, and the corrected mistakes).

ParametersDetail
Adding to the reception of the parameters, you will receive informations about their source.

DisableVerbose
Verboses are elementary help sentences sent to you. They can help composing answer sentences. Their are notably generated from the "Verbose" fields from your contexts.


Do you have a question that has not been answered here ?
tech@golem.ai