dc6079821b
Docs Tests / Check for file changes (push) Has been cancelled
Docs Tests / Test Documentation (push) Has been cancelled
Docs Tests / Documentation Linting Checks (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-policies) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (ubuntu-24.04, 3.10) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (ubuntu-24.04, 3.8) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (ubuntu-24.04, 3.9) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (windows-2022, 3.10) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (windows-2022, 3.8) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (windows-2022, 3.9) (push) Has been cancelled
Continuous Integration / Check for file changes (push) Has been cancelled
Continuous Integration / Wait for docs tests (push) Has been cancelled
Continuous Integration / Code Quality (push) Has been cancelled
Continuous Integration / Check for changelog (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Upload coverage reports to codeclimate (push) Has been cancelled
Continuous Integration / Run Non-Sequential Integration Tests (push) Has been cancelled
Continuous Integration / Run Broker Integration Tests (push) Has been cancelled
Continuous Integration / Run Sequential Integration Tests (push) Has been cancelled
Continuous Integration / Build Docker base images and setup environment (push) Has been cancelled
Continuous Integration / Build Docker (default) (push) Has been cancelled
Continuous Integration / Build Docker (full) (push) Has been cancelled
Continuous Integration / Build Docker (mitie-en) (push) Has been cancelled
Continuous Integration / Build Docker (spacy-de) (push) Has been cancelled
Continuous Integration / Build Docker (spacy-en) (push) Has been cancelled
Continuous Integration / Build Docker (spacy-it) (push) Has been cancelled
Continuous Integration / Deploy to PyPI (push) Has been cancelled
Continuous Integration / Notify Slack & Publish Release Notes (push) Has been cancelled
Publish Documentation / Evaluate release tag (push) Has been cancelled
Publish Documentation / Prebuild Docs (push) Has been cancelled
Publish Documentation / Preview Docs (push) Has been cancelled
Publish Documentation / Check for file changes (push) Has been cancelled
Publish Documentation / Publish Docs (push) Has been cancelled
Automatic PR Merger / mergepal (push) Has been cancelled
CI Github Actions / Run Tests (push) Has been cancelled
Semgrep / Semgrep Workflow Security Scan (push) Has been cancelled
117 lines
2.6 KiB
YAML
117 lines
2.6 KiB
YAML
version: "3.1"
|
|
rules:
|
|
|
|
- rule: Greet
|
|
# This rule only applies to the start of a session.
|
|
conversation_start: True
|
|
steps:
|
|
- intent: greet
|
|
- action: utter_greet
|
|
|
|
- rule: Activate form 'q_form'
|
|
steps:
|
|
- intent: activate_q_form
|
|
- action: loop_q_form
|
|
- active_loop: loop_q_form
|
|
|
|
- rule: Example of an unhappy path for the 'loop_q_form'
|
|
condition:
|
|
# Condition that form is active.
|
|
- active_loop: loop_q_form
|
|
- slot_was_set:
|
|
- requested_slot: some_slot
|
|
steps:
|
|
# This unhappy path handles the case of an intent `explain`.
|
|
- intent: explain
|
|
- action: utter_explain_some_slot
|
|
# Return to form after handling the `explain` intent
|
|
- action: loop_q_form
|
|
- active_loop: loop_q_form
|
|
|
|
- rule: Submit form
|
|
condition:
|
|
- active_loop: loop_q_form
|
|
steps:
|
|
- action: loop_q_form
|
|
- active_loop: null
|
|
- slot_was_set:
|
|
- requested_slot: null
|
|
# The action we want to run when the form is submitted.
|
|
- action: utter_stop
|
|
|
|
- rule: FAQ question
|
|
steps:
|
|
- intent: ask_possibilities
|
|
- action: utter_list_possibilities
|
|
|
|
- rule: FAQ simple
|
|
condition:
|
|
- slot_was_set:
|
|
- detailed_faq: false
|
|
steps:
|
|
- intent: faq
|
|
- action: utter_faq
|
|
|
|
- rule: FAQ detailed
|
|
condition:
|
|
- slot_was_set:
|
|
- detailed_faq: true
|
|
steps:
|
|
- intent: faq
|
|
- action: utter_faq
|
|
# Don't predict `action_listen` after running `utter_faq`
|
|
wait_for_user_input: False
|
|
|
|
- rule: FAQ helped - continue
|
|
condition:
|
|
- slot_was_set:
|
|
- detailed_faq: true
|
|
steps:
|
|
- action: utter_faq
|
|
- action: utter_ask_did_help
|
|
- intent: affirm
|
|
- action: utter_continue
|
|
|
|
- rule: FAQ did not help
|
|
condition:
|
|
- slot_was_set:
|
|
- detailed_faq: true
|
|
steps:
|
|
- action: utter_faq
|
|
- action: utter_ask_did_help
|
|
- intent: deny
|
|
- action: utter_detailed_faq
|
|
# Don't predict `action_listen` after running `utter_faq`
|
|
wait_for_user_input: False
|
|
|
|
- rule: Detailed FAQ did not help
|
|
condition:
|
|
- slot_was_set:
|
|
- detailed_faq: true
|
|
steps:
|
|
- action: utter_detailed_faq
|
|
- action: utter_ask_did_help
|
|
- intent: deny
|
|
- action: utter_ask_stop
|
|
|
|
- rule: User decides to stop
|
|
steps:
|
|
- action: utter_ask_stop
|
|
- intent: affirm
|
|
- action: utter_stop
|
|
|
|
- rule: User decides to continue
|
|
steps:
|
|
- action: utter_ask_stop
|
|
- intent: deny
|
|
- action: utter_continue
|
|
|
|
- rule: Implementation of the TwoStageFallbackPolicy
|
|
steps:
|
|
# This intent is automatically triggered by the `FallbackClassifier` in the NLU
|
|
# pipeline in case the intent confidence was below the specified threshold.
|
|
- intent: nlu_fallback
|
|
# The Fallback is implemented as now implemented as form.
|
|
- action: action_two_stage_fallback
|
|
- active_loop: action_two_stage_fallback
|