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

Trigger Services based on detected intents #882

Open
9 tasks
turnerrainer opened this issue Sep 27, 2024 · 7 comments · Fixed by #884
Open
9 tasks

Trigger Services based on detected intents #882

turnerrainer opened this issue Sep 27, 2024 · 7 comments · Fixed by #884
Assignees
Labels
Milestone

Comments

@turnerrainer
Copy link
Contributor

turnerrainer commented Sep 27, 2024

Note

This task is related to
buerokratt/Training-Module#397 and
buerokratt/Training-Module#393

The scope of this task does not involve the complexity of #397 but is strictly to trigger applicable Services based on End Client's intents

AS A Product Owner
I WANT applicable Services to be provided to End Clients based on their intents
SO THAT the End Client would get the results they expect

Acceptance Criteria

  • The End Client uses natural language as their input
  • The End Client's intent triggers an applicable Service, if exists
  • The End Client gets their response from a Service

Scope

Note

This task will later be part of refactoring /chat/message-to-bot service

DSL

Note

Added 01.10.2024

  • Expect detected #intent to have a Ruuter DSL with the same /#intent name
@1AhmedYasser
Copy link
Collaborator

Note: For the second AC, when rasa detects an intent it sends a message starting with #[Intent Name]

check_if_bot_message_start_with_hash:
  switch:
    - condition: ${botMsgTxt.startsWith('#')}
      next: call_service

@turnerrainer
Copy link
Contributor Author

check_if_bot_message_start_with_hash

Suggest renaming
check_if_bot_message_start_with_hash to
check_if_intent_is_a_service to better reflect business goal

@1AhmedYasser
Copy link
Collaborator

@jaX10bt Will be helping in renaming the common services in rasa to match the yaml names as was referenced in here https://github.com/buerokratt/Buerokratt-Chatbot/pull/868/files#diff-1e817ade8dcbe134c05a0fb46a358bd5305fbae2bbfd25a1a57cdc5501d585e1

@jaX10bt
Copy link
Collaborator

jaX10bt commented Oct 1, 2024

RASA responses renaming commit can be found here:
buerokratt/Training-Module@cd4a10d

@turnerrainer turnerrainer linked a pull request Oct 1, 2024 that will close this issue
@1AhmedYasser 1AhmedYasser removed their assignment Oct 4, 2024
@jaX10bt
Copy link
Collaborator

jaX10bt commented Oct 8, 2024

Rasa part is not deployed.

@jaX10bt
Copy link
Collaborator

jaX10bt commented Oct 16, 2024

Currently it is not checked whether bot message starts with hash. Also there is an issue with Rasa deployment.

@turnerrainer
Copy link
Contributor Author

Will come back to it as it's part of a bigger epic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Blocked
Development

Successfully merging a pull request may close this issue.

3 participants