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

Finish scheduler #141

Merged
merged 9 commits into from
Oct 19, 2021
Merged

Finish scheduler #141

merged 9 commits into from
Oct 19, 2021

Conversation

svenvanderburg
Copy link
Contributor

@svenvanderburg svenvanderburg commented Oct 14, 2021

Fixes #21

  • Add conversation on foreseen smoking HRS to rasa
  • Add rasa scheduler to main docker-compose application

Branches of enable-custom-channel (#140), so merge that first.

@svenvanderburg svenvanderburg requested a review from raar1 October 14, 2021 11:53
@svenvanderburg svenvanderburg linked an issue Oct 14, 2021 that may be closed by this pull request
5 tasks
Comment on lines 17 to 20
steps:
- intent: EXTERNAL_trigger_ask_foreseen_hrs
- action: utter_ask_foreseen_hrs
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't get the full conversation to test successfully (i.e. with the user responding to utter_ask_foreseen_hrs). I tested manually and it works like expected.

Probably because this is an externally triggered conversation the testing suite doesn't like it. But at least we test something so I like it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Weird. Does Rasa actually treat intentions starting with EXTERNAL_ differently?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if it is related to this (old-ish) issue about intent triggering vs action triggering: RasaHQ/rasa#4464 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I made a booboo. I was about to raise an issue at Rasa, so I thought let's double check. And now it seems to work flawlessly... Thanks for having me retry this.

Base automatically changed from enable-custom-channel to main October 18, 2021 12:29
Copy link
Contributor

@raar1 raar1 left a comment

Choose a reason for hiding this comment

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

Good work, looks a lot cleaner now. I'm slightly perplexed by the test conversation not triggering intents correctly, so maybe we should make an issue to remember to return to that later? But it will be good to merge this as it will start affecting the e2e testing repo

Comment on lines 17 to 20
steps:
- intent: EXTERNAL_trigger_ask_foreseen_hrs
- action: utter_ask_foreseen_hrs
Copy link
Contributor

Choose a reason for hiding this comment

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

Weird. Does Rasa actually treat intentions starting with EXTERNAL_ differently?

Comment on lines 17 to 20
steps:
- intent: EXTERNAL_trigger_ask_foreseen_hrs
- action: utter_ask_foreseen_hrs
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if it is related to this (old-ish) issue about intent triggering vs action triggering: RasaHQ/rasa#4464 ?

@@ -19,4 +21,12 @@ services:
env_file:
- .env
expose: ["8080"]

redis:
Copy link
Contributor

Choose a reason for hiding this comment

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

I suppose this is what is replacing django as ~db?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, in Cunliang's setup there was also already a redis server, that acts as a broker/message queue (I think, I'm not a celery expert (yet)). The django db was for storing the different tasks.

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@svenvanderburg svenvanderburg merged commit c1e69ac into main Oct 19, 2021
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.

Agent is triggered to ask start conversation on foreseen HRS's
2 participants