Skip to content

Commit

Permalink
Response generator responses with multimedia elements (#6323)
Browse files Browse the repository at this point in the history
* Use rules for greet, goodbye & challenge

* Convert nlu & stories to yml

* Add '-' in front of examples

* Add 'y' , 'n' to affirm & deny intents

* Remove 'greet -> utter_greet' rule, and use in stories instead

* implement yaml response format as well as extended response format

extended response format adds the ability to add images, buttons, ... to responses generated from the response selector. the format is the same as we use for utter templates in the domain.

* code style improvement

* fixed linter error

* fixed some more test and renamed nlg_stories to responses

* fixed typing issue

* fixed more types

* fixed tests

* Update training_data.py

* fixed import errror

* fixed remaining tests

* fixed name error

* Update rules.yml

* added tests for responses

* added changelog entry

* updated documentation

* applied review suggestions

* integrated review comments

* fixed typing issue

Co-authored-by: Arjaan Buijk <[email protected]>
Co-authored-by: Arjaan Buijk <[email protected]>
Co-authored-by: Roberto <[email protected]>
  • Loading branch information
4 people authored Aug 17, 2020
1 parent 571acce commit da11cf9
Show file tree
Hide file tree
Showing 42 changed files with 890 additions and 599 deletions.
7 changes: 7 additions & 0 deletions changelog/6323.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Response selector templates](retrieval-actions.mdx) now support all features that
domain utterances do. They use the yaml format instead of markdown now.
This means you can now use buttons, images, ... in your FAQ or chitchat responses
(assuming they are using the response selector).

As a consequence, training data form in markdown has to have the file
suffix `.md` from now on to allow proper file type detection-
Loading

0 comments on commit da11cf9

Please sign in to comment.