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

326 video dialogs activation #80

Merged
merged 18 commits into from
Apr 5, 2023
Merged

Conversation

wbaccinelli
Copy link
Contributor

Fixes: PerfectFit-project/virtual-coach-issues#326

With this PR, the video dialogs and the preparation dialogs are started using the complete flow (from celery, rescheduling dialog, video presentation dialog).

Copy link
Contributor

@nelealbers nelealbers left a comment

Choose a reason for hiding this comment

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

I am not yet very familiar with the whole timing structure part (I hope you can explain at some point), but otherwise it looks good! I think it would just sometimes help to find one's way through the many intents, actions, etc. if the names are a bit consistent. So in your case, for example, always include "video" so it is clear that sth is about a video.

@@ -1,5 +1,5 @@
celery
python-dotenv
git+https://github.com/PerfectFit-project/virtual-coach-db@v0.1.13
git+https://github.com/PerfectFit-project/virtual-coach-db@326-video-dialogs-activation
Copy link
Contributor

Choose a reason for hiding this comment

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

Remember to change at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's good to keep this in mind

scheduler/state_machine/state_machine.py Show resolved Hide resolved
Rasa_Bot/domain/domain_set_video_links.yml Outdated Show resolved Hide resolved
Rasa_Bot/domain/domain_set_video_links.yml Outdated Show resolved Hide resolved
Rasa_Bot/data/rules/rules_preparation_phase.yml Outdated Show resolved Hide resolved
examples: |
- EXTERNAL_first_aid_kit_video

- intent: EXTERNAL_trigger_future_self_long
Copy link
Contributor

Choose a reason for hiding this comment

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

I would find it helpful if all of these intents ended with "_video" like the one for the first aid kit to make things easier to recognize.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@bscheltinga bscheltinga 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!

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 5, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@wbaccinelli wbaccinelli merged commit 33d45d2 into main Apr 5, 2023
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.

Create a rule for each video dialog to be sent
3 participants