Skip to content

Releases: Kai-Karren/nlg-server

Response Variations

08 Aug 16:06
3543010
Compare
Choose a tag to compare

Support for response variations has been added. Variations for a response can be given as a JSON Array. From the variations, one response will be randomly selected at runtime each time a request is made for a response that has multiple response variations.

Slot Template Support

02 Aug 16:45
e4cbd64
Compare
Choose a tag to compare

It is now possible to use slot templates in your static responses to add slot values from your dialogue engine at runtime to the responses of the NLG Server.

You can refer slots in responses either with {slotName} or with $slotName.

Support of multiple response files

01 Aug 20:11
Compare
Choose a tag to compare

The NLG server can now load the responses from multiple JSON files from a given directory. This also includes further nested sub-directories.
This feature was motivated by the need to further separate responses into different files and directories when you are dealing with complex projects with lots of responses.

The NLG server will determine by itself if the given response is a file or a directory and load it accordingly.