Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utter actions #5297

Merged
merged 40 commits into from
Feb 26, 2020
Merged

Utter actions #5297

merged 40 commits into from
Feb 26, 2020

Conversation

MichaelMarien
Copy link
Contributor

@MichaelMarien MichaelMarien commented Feb 22, 2020

Proposed changes:

  • Fixes Update documentation regarding utterance actions #5174
  • Updated documentation to no longer explicitly ask users to mention utterance actions under the action part of the domain but only under responses
  • Updated all examples also
  • Updated all tests to make sure we test domain files with the new settings (no explicit listing of utterance actions). Note that this changes some older tests, a few tests that focus on the working of the deprecated functionality are kept. We can duplicate all domain tests to work with and without explicate mentioning of the utterance actions, but not sure if this is worth the effort. Put this as a potential todo depending on input.

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)
  • re-added all domain tests with deprecated utterance action behaviour

@claassistantio
Copy link

claassistantio commented Feb 22, 2020

CLA assistant check
All committers have signed the CLA.

@sara-tagger
Copy link
Collaborator

Thanks for submitting a pull request 🚀 The assigned reviewer will take a look at it as soon as possible✨

Copy link
Member

@tmbo tmbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good step forward - thanks a lot for jumping on this 🚀

I think before we can merge this, it would be great to add at least one test checking that the behaviour is the same between:

  • creating a domain with utter_ actions listed in actions section
  • creating a domain without any actios in there

Just to make sure we still properly parse that part until we remove the deprecated utter_ actions completely

changelog/5174.doc.rst Outdated Show resolved Hide resolved
@MichaelMarien
Copy link
Contributor Author

Thanks for the comments!

I think before we can merge this, it would be great to add at least one test checking that the behaviour is the same between:

  • creating a domain with utter_ actions listed in actions section
  • creating a domain without any actios in there

Just to make sure we still properly parse that part until we remove the deprecated utter_ actions completely

Added a test.

@erohmensing erohmensing removed their request for review February 26, 2020 10:15
Copy link
Member

@tmbo tmbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thanks a lot for digging into this 🚀

@tmbo tmbo merged commit 2edc18a into RasaHQ:master Feb 26, 2020
ypk46 added a commit to tagshelfsrl/rasa-tmp that referenced this pull request Jan 18, 2021
* refactor loss and f1 helpers

* review comments on featurizers

* fix docstrings in components

* review comments on lexical_syntactic_featuirzer.

* review comments on convert

* Update 5292.enhancement.rst

* review comments on hugging face components

* rename inverted tag and label dicts

* remove _find_example_for_tag

* remove setting numpy random seed in train

* review comments

* create no entity tag constant

* add type to tf_layers

* update constants comment

* remove magic numbers probs

* fix type of Data in model data

* add axis=

* add explanatory comments

* add RabbitMQ message header to "rasa export"

* fix isinstance() calls

* check if responses are present.

* fix test

* review comments

* Apply suggestions from code review

* update docstring

* update method

* add comment and type

* rename relative lengths

* remove batch_tuple_sizes

* review comments

* review comments

* add docstring

* add comments to model data

* create tmp dir for convert

* update type

* add comments

* change comment

* recalculate number of examples after balancing

* reorganize methods in model_data

* remove num_neg check from ted

* update requirements

* fix nlu comparison test

* update requirements

* removed whitespace

* update version

* Update alt_requirements/requirements_pretrained_embeddings_convert.txt

Co-Authored-By: Tobias Wochinger <[email protected]>

* Fixed an issue with AWS persistor

- It's possible now to specify region name for AWS S3
- Tests are setting mock region name now

* Poetry for Rasa

* Missing lockfile

* Updated Dockerfile: rasa-sdk added

* Travisfile and Dockerfile updates

* Updated alt_requirements

* Docs fixes

* Updates for dependencies + github workflow

* Update for documentation.yml

* Updated dependencies

* CI updates

* Updated lockfile

* CI update

* Updated lockfile

* Updates!

* Dependencies fix

* Updates for release.py and pika dependency

* Fixes and updates

* Updated dockerfiles

* Dockerfiles updates and fixes

* Utter actions (RasaHQ#5297)

removed utterance actions from examples and documentation

* Post-rebase fixes — updated dockerfiles and pyproject.toml

* Updated dockerfiles

* Updated dockerfiles

* Returning back tensorflow_text

* Typo fix

* maybe make test_evaluation stable

* make sure to commit pyproject toml as part of release script

* Poetry integration fix: making kafka non-optional

* fixed missing kafka dependency

* made poetry version script executable

* added poetry version to pyproject

* [Rasa Open Source 1.8.0 Release] - Updated version of SDK

* [Rasa Open Source 1.8.0 Release] - Updated release script

- script now uses pyproject.toml to get version of sdk

* prepared release of version 1.8.0

* updated dependencies

* improved caching

* updated the slack client

* properly split text messages for socket io channel

* mark test_end_to_end_evaluation_script as flaky

* do cache rasabaster template

* fixed docker builds by excluding configs from docker ignore

* marked pretrained model test as flaky

* added github token to slack publishing

* Fixed dockerifles for 1.8.0 release

* Make sure we install rasa in non-editable mode in Dockerfiles

* Better way of building in non-editable mode with poetry

* Returning pip<20 back

* don't rely on restaurantbot

* remove incorrect changelog entry

* don't train nlu of formbot

* update test story

* remove deprecation warnings

* add comment to story

* beginnings of splitting up docker info, needs cleanup

* clean up tracker store docs code formatting

* fixes bug

* fix failing test

* added a test for bug as well

* add check for failing test again

* add changelog

* build containers in gh

* fix logging statement

* update event broker docs

* update oov warning

* review comment

* Apply suggestions from code review

Co-Authored-By: ricwo <[email protected]>

* remove optional kafka install instructions

* prepared release of version 1.8.1

* fixed tagging

* fixed tagging

* update wording

* add details

* updated dep

* fix ujson as well

* update based on copy suggestions

* update code examples

* made ujson flexible

* docstrings to utils.hugging_face

* fix typo

* explain token id

* add an example for unexpected user input; consitently call domain domain.yml

* add an example for unexpected user input; consitently call domain domain.yml

* some more examples

* links to sections

* updates for 1.8; checklists for tutorials; split up tutorials

* merge back to one tutorial

* move checklists to end

* switch to newer 'async' syntax

* clarify no-root user usage with sdk image

* add changelog entry

* fix override config

* Update docs/user-guide/building-assistants.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* Update docs/user-guide/building-assistants.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* Update docs/user-guide/building-assistants.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* Update docs/index.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* rebase pr updates

* set weight sparsity to 0 in embed intent classifier

* update migration guide

* Update docs/user-guide/building-assistants.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* Update docs/user-guide/building-assistants.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* change wording in checklists

* review comments

* fixed a few typos

* simplify checklist

* checklist updates

* Apply suggestions from code review

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* implement some of my changes

* rasa open source

* review comments, improve links

* suggest one-line deployment

* edits to deploy in docker-compose page

* small improvements to docs

* no more docker compose

* fix errors

* pin tensorflow-estimator to 2.1.0

* add changelog entry

* explain dependency pin in pyproject.toml

* add class name of calling class to log message to avoid confusion in case this is executed from a subclass

* add class name of calling class to log message to avoid confusion in case this is executed from a subclass

* changelog for pr RasaHQ#5444

* prepared release of version 1.8.2

* update changelog with missing entries

* fix some review comments

* sort nlu/story files before training

* more review comments

* fix tracker store configuration docs

* fix types

* fix data tests

* clarify choosing a tag

* clarify actions folder for image building

* use release insetad of latest in deploy in docker

* use release and version instead of latest in build in docker

* version every docker command and restructure a bit

* fix build warnings

* Update docs/user-guide/docker/building-in-docker.rst

Co-Authored-By: Akela Drissner-Schmid <[email protected]>

* use -full tag

* clarify how to direct endpoints to service, add a custom tracker store, and fix oracle documentation versioning

* fix reference in changelog

* fix changelog ... again

* suggested changes by @tabergma on RasaHQ#5444

* set default value for weight_sparsity in response selector to 0

* prepared release of version 1.8.3

* more verbose changelog

* Updated poetry.lock and dependencies

Co-authored-by: Vova Vv <[email protected]>
Co-authored-by: Tanja Bergmann <[email protected]>
Co-authored-by: Melinda Loubser <[email protected]>
Co-authored-by: Tom Bocklisch <[email protected]>
Co-authored-by: ricwo <[email protected]>
Co-authored-by: Vladimir Vlasov <[email protected]>
Co-authored-by: Tobias Wochinger <[email protected]>
Co-authored-by: Alexander Khizov <[email protected]>
Co-authored-by: alwx <[email protected]>
Co-authored-by: MichaelMarien <[email protected]>
Co-authored-by: Will Kearns <[email protected]>
Co-authored-by: Alexander Khizov <[email protected]>
Co-authored-by: Ella <[email protected]>
Co-authored-by: Daksh <[email protected]>
Co-authored-by: melindaloubser1 <[email protected]>
Co-authored-by: Akela Drissner-Schmid <[email protected]>
Co-authored-by: akelad <[email protected]>
Co-authored-by: m-vdb <[email protected]>
Co-authored-by: thomas <[email protected]>
Co-authored-by: Maxime Vdb <[email protected]>
Co-authored-by: Thomas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update documentation regarding utterance actions
4 participants