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

Interaction

Structure

An interaction defines an action the user can request.
After a request, Golem.ai will indicate which interaction the user requested.

Significant context

A contexte contains in particular :

- An ID
The request_answer will refer to it.

- A parameter list
Described in the following section

- Descriptors
If there was uncertainty on the treatment of a request, they can be used to make a decision.

- Verbose field
Completely optional, it allows Golem.ai generating helpers.
For a given interaction, a verbal group has to be used to describe the interaction.
Ex :
"book a train ticket"

Multilingual

We can define the descriptors and verboses for several languages, in one same interaction.
There is no limit conserning the number of languages that can be added.

Example

context
  {
      "type": "interaction",
      "id_interaction": "simple",
      "verbose": {
          "en": "book a train ticket",
          "fr": "réserver un billet de train"
      },
      "descriptor": {
          "en": [
              "go",
              "travel",
              "train"
          ],
          "fr": [
              "aller",
              "voyager",
              "train",
              "billet"
          ]
      },
      "parameters": [
         // Paramètres
      ]
  }


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