Code Changes to Basic Orchestration Server

The basic Orchestration Code template provided by Soul Machines has limited functionality. It can:

  1. Listen for WebSocket connection requests.

  2. Open new WebSocket Connection to the Soul Machine Servers.

  3. Receive and write to console all JSON messages from Soul Machines.

To complete the integration with your chosen NLP platform, as a minimum, you need to make the following enhancements to this codebase:

  • Process each message received from Soul Machines.

  • Extract Text from Final recognizeResults/conversationRequest messages.

  • Send a request to NLP API.

  • Extract text from NLP response.

  • Send startSpeaking/conversationResponse command to Soul Machines.