Expected response schema for an NLG endpoint.
Used for validation of the response returned from the NLG endpoint.
Create the json body for the NLG json body for the request.
Generate bot utterances by using a remote endpoint for the generation.
The generator will call the endpoint for each message it wants to generate. The endpoint needs to respond with a properly formatted json. The generator will use this message to create a response for the bot.
Retrieve a named response from the domain using an endpoint.
Validate the NLG response. Raises exception on failure.
Fetch the response id for the utter action.
The response id is retrieved from the domain responses for the utter action given the tracker state and channel.