소스 검색

necessary nlu changes, dockerfile changes, config.yml changes, etc

master
Siddharth110800 2 년 전
부모
커밋
497ab313de
66개의 변경된 파일279개의 추가작업 그리고 387개의 파일을 삭제
  1. BIN
      .rasa/cache/cache.db
  2. +0
    -1
      .rasa/cache/tmp4disbum0/featurizer.json
  3. +0
    -44
      .rasa/cache/tmp4disbum0/memorized_turns.json
  4. +0
    -2
      .rasa/cache/tmp4ghcj1bj/checkpoint
  5. +0
    -1
      .rasa/cache/tmp4ghcj1bj/featurizer.json
  6. BIN
      .rasa/cache/tmp4ghcj1bj/ted_policy.data_example.pkl
  7. +0
    -1
      .rasa/cache/tmp4ghcj1bj/ted_policy.entity_tag_specs.json
  8. BIN
      .rasa/cache/tmp4ghcj1bj/ted_policy.fake_features.pkl
  9. BIN
      .rasa/cache/tmp4ghcj1bj/ted_policy.label_data.pkl
  10. BIN
      .rasa/cache/tmp4ghcj1bj/ted_policy.meta.pkl
  11. +0
    -1
      .rasa/cache/tmp4ghcj1bj/ted_policy.priority.pkl
  12. BIN
      .rasa/cache/tmp4ghcj1bj/ted_policy.tf_model.data-00000-of-00001
  13. BIN
      .rasa/cache/tmp4ghcj1bj/ted_policy.tf_model.index
  14. +0
    -1
      .rasa/cache/tmp500t5fci/patterns.pkl
  15. BIN
      .rasa/cache/tmp9er7h3xa/DIETClassifier.data_example.pkl
  16. +0
    -1
      .rasa/cache/tmp9er7h3xa/DIETClassifier.entity_tag_specs.json
  17. +0
    -1
      .rasa/cache/tmp9er7h3xa/DIETClassifier.index_label_id_mapping.json
  18. BIN
      .rasa/cache/tmp9er7h3xa/DIETClassifier.label_data.pkl
  19. BIN
      .rasa/cache/tmp9er7h3xa/DIETClassifier.sparse_feature_sizes.pkl
  20. BIN
      .rasa/cache/tmp9er7h3xa/DIETClassifier.tf_model.data-00000-of-00001
  21. BIN
      .rasa/cache/tmp9er7h3xa/DIETClassifier.tf_model.index
  22. +0
    -2
      .rasa/cache/tmp9er7h3xa/checkpoint
  23. BIN
      .rasa/cache/tmpaq1a4rub/DIETClassifier.data_example.pkl
  24. +0
    -1
      .rasa/cache/tmpaq1a4rub/DIETClassifier.entity_tag_specs.json
  25. +0
    -1
      .rasa/cache/tmpaq1a4rub/DIETClassifier.index_label_id_mapping.json
  26. BIN
      .rasa/cache/tmpaq1a4rub/DIETClassifier.label_data.pkl
  27. BIN
      .rasa/cache/tmpaq1a4rub/DIETClassifier.sparse_feature_sizes.pkl
  28. BIN
      .rasa/cache/tmpaq1a4rub/DIETClassifier.tf_model.data-00000-of-00001
  29. BIN
      .rasa/cache/tmpaq1a4rub/DIETClassifier.tf_model.index
  30. +0
    -2
      .rasa/cache/tmpaq1a4rub/checkpoint
  31. +0
    -1
      .rasa/cache/tmpeldbose7/oov_words.json
  32. +0
    -1
      .rasa/cache/tmpeldbose7/vocabularies.pkl
  33. +0
    -1
      .rasa/cache/tmpfpvij60q/oov_words.json
  34. +0
    -1
      .rasa/cache/tmpfpvij60q/vocabularies.pkl
  35. +0
    -1
      .rasa/cache/tmpj8hutm8a/featurizer.json
  36. +0
    -4
      .rasa/cache/tmpj8hutm8a/rule_only_data.json
  37. +0
    -22
      .rasa/cache/tmpj8hutm8a/rule_policy.json
  38. +0
    -1
      .rasa/cache/tmply8si7sc/oov_words.json
  39. +0
    -1
      .rasa/cache/tmply8si7sc/vocabularies.pkl
  40. +0
    -2
      .rasa/cache/tmpmquv2rny/checkpoint
  41. +0
    -1
      .rasa/cache/tmpmquv2rny/featurizer.json
  42. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.data_example.pkl
  43. +0
    -1
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.entity_tag_specs.json
  44. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.fake_features.pkl
  45. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.label_data.pkl
  46. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.label_quantiles.pkl
  47. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.meta.pkl
  48. +0
    -1
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.priority.pkl
  49. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.tf_model.data-00000-of-00001
  50. BIN
      .rasa/cache/tmpmquv2rny/unexpected_intent_policy.tf_model.index
  51. +0
    -1
      .rasa/cache/tmpnyr6uyy0/patterns.pkl
  52. +0
    -1
      .rasa/cache/tmpslslryz1/feature_to_idx_dict.pkl
  53. +0
    -1
      .rasa/cache/tmpupvvtn0e/feature_to_idx_dict.pkl
  54. +0
    -1
      .rasa/cache/tmpy7adc9ex/oov_words.json
  55. +0
    -1
      .rasa/cache/tmpy7adc9ex/vocabularies.pkl
  56. +6
    -5
      Dockerfile
  57. +21
    -21
      config.yml
  58. +40
    -12
      data/nlu.yml
  59. +10
    -0
      data/rules.yml
  60. +24
    -51
      data/stories.yml
  61. +61
    -72
      domain.yml
  62. +23
    -31
      index.html
  63. BIN
      models/20220616-152843-randomized-arcade.tar.gz
  64. BIN
      models/20220729-142405-clean-hop.tar.gz
  65. +1
    -2
      start_services.sh
  66. +93
    -91
      tests/test_stories.yml

BIN
.rasa/cache/cache.db 파일 보기


+ 0
- 1
.rasa/cache/tmp4disbum0/featurizer.json 파일 보기

@@ -1 +0,0 @@
{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": null, "max_history": null, "remove_duplicates": true}

+ 0
- 44
.rasa/cache/tmp4disbum0/memorized_turns.json 파일 보기

@@ -1,44 +0,0 @@
{
"lookup": {
"eJyLrq6NBQAEOAGx": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEqhODkjNTe1tjYWAAWTG+M=": "utter_scheme",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEqhODkjNTe1loAhpSUlqUXxULU4zYgFAOF7NbE=": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taS2NhYA6dwbhQ==": "utter_greet",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpbhMiAUAQvc0lw==": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpeSZQMAVufn5KfGleRmJBQWVtbWxAN75UWc=": "utter_cheer_up",
"eJydjlEKgCAQRK/iATqBV4lYxJYUchVdgxDv3oL9G/0MM/B4zNr6olrKeIGx7CNp1UYBMgG1esfpCyMJWwtmYTzJZK2OjMh94qjMmGGg/wyTFyHGHSo5k9L97Yx1KFnTzLU9XiFuqQ==": "utter_did_that_help",
"eJytjlEKgCAQRK/iATqBV4lYRIcUahVbg5DunlD/RvQzzMDjMWM9B1VTxk7GSoisVb0LsVmh1TOWsAm4sWVDbkzgNkWrOQNydhxFBJlu9Juh82KN0VFhb1I63p2xHi1L+sPlgiPxRshj6QqnC1EGjek=": "action_listen",
"eJytj9EJwzAMRFfxAJ3Aq4QgRKzUglg2ilwoxrvXkP67tP0Rd/B4nJbWb64VpQfgZpzFu3YFEEzk3bscfBrJYOtJOhiWUc27uxJZnziqGSlc6HeGyYqUc4AqEUt5fjZmizRuLf9wBQ5gEQ0iHT8KJ3/ivrOm3tcXH2yoGw==": "utter_happy",
"eJytj0EKAyEMRa/iAXoCr1JKCGOmBsYomVgoMnevYLfFoe0m5MPn5eXajotrRekBuBhn8a6NBQQTefcOG+9G0rt1J+0dlh7Nu7sS2TFhVDNSGNXvCBOLlHOAKhFLeZ6TWSL1Wcs/WIEDWESDSNuPwMmfuK6s6ZzVuPcRcXsBe37Blg==": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohOT+3ID8PyNR1rq2NBQCV9B2x": "utter_component-C",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohOT+3ID8PyNR1riVgUmlJSWpRPLIG/KbFAgAqSjsb": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpeSZQMAVufn5KSDzE4EGxQIAPEFQdQ==": "utter_happy",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpeSZQMAVufn5KSDzE4l0SkZiQUElfmNiAVKZa5w=": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohLTMvMS85MzGntjYWAFr6HRM=": "utter_financial",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohLTMvMS85MzGnloA5pSUlqUXxCOX4TIoFANpYOUE=": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohv7QkPj8tvjg5vyC1tjYWALYRHnM=": "utter_default",
"eJyFjMEJwCAMAFfJAJ3AVUoJohEEm4gm/Yi7V2j//u7guHPMA0Zt9KAPmoUdjA+Q/U0Ofim5K/FqrVNbTeal6kBMURL2IJXmZmWq1DBS8lZ0t7pe19c7QQ==": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSczPTMpJ1XXqbY2FgB2lx0a": "utter_eligible-B",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSczPTMpJ1XXqZaAQaUlJalF8Ujq8ZoVCwBehDlW": "action_listen",
"eJytj1EKwyAQRK/iAXoCr1LCInGIQrKKWQNFvHsX7L+h7c8yA4/H7LP1h2m54CK3SkxsTRuB2B2w5lP2eApY2XqiKBNZq1izFUD6xFFFUGig3xkmK46UPFUOLufXvTFrgN6a/+Hy0ZMEJxSw/yic/OnBqlje0A2nVg==": "utter_goodbye",
"eJytj9EJwzAMRFfxAJ3Aq4Qg3PiIDYlsHLkQTHavIP0NDm1/hA6Op6ehHQ/TcsGL3CQxsTXtXIjdCms+YYmbgLVbNxTtRNYo1swFkKPDqCIodFa/I3Qs1pQ8VQ4u5/2ezBSgs+Z/sHz0JMEJBSw/Ajt/evBNp1mPPndcIcY3+fTA0w==": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSc1uaQoMzmzpLK2NhYAlxweDw==": "utter_electricity",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSc1uaQoMzmzpLKWgEmlJSWpRfHIGvCbFgsAVQw8NQ==": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohMy8tvyg3EaSmtjYWAJevHhQ=": "utter_information",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohMy8tvyg3EaSmloBJpSUlqUXxyBrwmxYLAFjcPEQ=": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohOT+3ID8PyNR1qq2NBQCV8B2w": "utter_component-B",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohOT+3ID8PyNR1qiVgUmlJSWpRPLIG/KbFAgAp0zsY": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSczPTMpJ1XXubY2FgB2mx0b": "utter_eligible-C",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSczPTMpJ1XXuZaAQaUlJalF8Ujq8ZoVCwBe+DlZ": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEqhuDSpODOlUtextjYWAFrTHN8=": "utter_subsidy-A",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEqhuDSpODOlUtexloA5pSUlqUXxCOX4TIoFAMVfOKU=": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEqhuDSpODOlUteptjYWAFrXHOA=": "utter_subsidy-B",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEqhuDSpODOlUteploA5pSUlqUXxCOX4TIoFAMXQOKg=": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohJzWxOLW2NhYA6ZsbeA==": "utter_lease",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohJzWxOLWWgBmlJSWpRfEQpbhMiAUAPa80cA==": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSczPTMpJ1XXsbY2FgB2kx0Z": "utter_eligible-A",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohNSczPTMpJ1XXsZaAQaUlJalF8Ujq8ZoVCwBeEDlT": "action_listen",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohOT+3ID8PyNR1rK2NBQCV7B2v": "utter_component-A",
"eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohOT+3ID8PyNR1rCVgUmlJSWpRPLIG/KbFAgApXDsV": "action_listen"
}
}

+ 0
- 2
.rasa/cache/tmp4ghcj1bj/checkpoint 파일 보기

@@ -1,2 +0,0 @@
model_checkpoint_path: "ted_policy.tf_model"
all_model_checkpoint_paths: "ted_policy.tf_model"

+ 0
- 1
.rasa/cache/tmp4ghcj1bj/featurizer.json 파일 보기

@@ -1 +0,0 @@
{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": {"py/object": "rasa.core.featurizers.single_state_featurizer.SingleStateFeaturizer", "_default_feature_states": {"intent": {"affirm": 0, "back": 1, "bot_challenge": 2, "component-A": 3, "component-B": 4, "component-C": 5, "deny": 6, "electricity": 7, "eligible-A": 8, "eligible-B": 9, "eligible-C": 10, "financial": 11, "goodbye": 12, "greet": 13, "information": 14, "lease": 15, "mood_great": 16, "mood_unhappy": 17, "nlu_fallback": 18, "out_of_scope": 19, "restart": 20, "scheme": 21, "session_start": 22, "subsidy-A": 23, "subsidy-B": 24}, "action_name": {"action_listen": 0, "action_restart": 1, "action_session_start": 2, "action_default_fallback": 3, "action_deactivate_loop": 4, "action_revert_fallback_events": 5, "action_default_ask_affirmation": 6, "action_default_ask_rephrase": 7, "action_two_stage_fallback": 8, "action_unlikely_intent": 9, "action_back": 10, "...": 11, "action_extract_slots": 12, "utter_cheer_up": 13, "utter_component-A": 14, "utter_component-B": 15, "utter_component-C": 16, "utter_default": 17, "utter_did_that_help": 18, "utter_electricity": 19, "utter_eligible-A": 20, "utter_eligible-B": 21, "utter_eligible-C": 22, "utter_financial": 23, "utter_goodbye": 24, "utter_greet": 25, "utter_happy": 26, "utter_iamabot": 27, "utter_information": 28, "utter_lease": 29, "utter_scheme": 30, "utter_subsidy-A": 31, "utter_subsidy-B": 32}, "entities": {}, "slots": {}, "active_loop": {}}, "action_texts": [], "entity_tag_specs": null}, "max_history": 5, "remove_duplicates": true}

BIN
.rasa/cache/tmp4ghcj1bj/ted_policy.data_example.pkl 파일 보기


+ 0
- 1
.rasa/cache/tmp4ghcj1bj/ted_policy.entity_tag_specs.json 파일 보기

@@ -1 +0,0 @@
[]

BIN
.rasa/cache/tmp4ghcj1bj/ted_policy.fake_features.pkl 파일 보기


BIN
.rasa/cache/tmp4ghcj1bj/ted_policy.label_data.pkl 파일 보기


BIN
.rasa/cache/tmp4ghcj1bj/ted_policy.meta.pkl 파일 보기


+ 0
- 1
.rasa/cache/tmp4ghcj1bj/ted_policy.priority.pkl 파일 보기

@@ -1 +0,0 @@
1

BIN
.rasa/cache/tmp4ghcj1bj/ted_policy.tf_model.data-00000-of-00001 파일 보기


BIN
.rasa/cache/tmp4ghcj1bj/ted_policy.tf_model.index 파일 보기


+ 0
- 1
.rasa/cache/tmp500t5fci/patterns.pkl 파일 보기

@@ -1 +0,0 @@
[]

BIN
.rasa/cache/tmp9er7h3xa/DIETClassifier.data_example.pkl 파일 보기


+ 0
- 1
.rasa/cache/tmp9er7h3xa/DIETClassifier.entity_tag_specs.json 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmp9er7h3xa/DIETClassifier.index_label_id_mapping.json 파일 보기

@@ -1 +0,0 @@
{"0": "affirm", "1": "bot_challenge", "2": "component-A", "3": "component-B", "4": "component-C", "5": "deny", "6": "electricity", "7": "eligible-A", "8": "eligible-B", "9": "eligible-C", "10": "financial", "11": "goodbye", "12": "greet", "13": "information", "14": "lease", "15": "mood_great", "16": "mood_unhappy", "17": "out_of_scope", "18": "scheme", "19": "subsidy-A", "20": "subsidy-B"}

BIN
.rasa/cache/tmp9er7h3xa/DIETClassifier.label_data.pkl 파일 보기


BIN
.rasa/cache/tmp9er7h3xa/DIETClassifier.sparse_feature_sizes.pkl 파일 보기


BIN
.rasa/cache/tmp9er7h3xa/DIETClassifier.tf_model.data-00000-of-00001 파일 보기


BIN
.rasa/cache/tmp9er7h3xa/DIETClassifier.tf_model.index 파일 보기


+ 0
- 2
.rasa/cache/tmp9er7h3xa/checkpoint 파일 보기

@@ -1,2 +0,0 @@
model_checkpoint_path: "DIETClassifier.tf_model"
all_model_checkpoint_paths: "DIETClassifier.tf_model"

BIN
.rasa/cache/tmpaq1a4rub/DIETClassifier.data_example.pkl 파일 보기


+ 0
- 1
.rasa/cache/tmpaq1a4rub/DIETClassifier.entity_tag_specs.json 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmpaq1a4rub/DIETClassifier.index_label_id_mapping.json 파일 보기

@@ -1 +0,0 @@
{"0": "affirm", "1": "bot_challenge", "2": "component-A", "3": "component-B", "4": "component-C", "5": "deny", "6": "electricity", "7": "eligible-A", "8": "eligible-B", "9": "eligible-C", "10": "financial", "11": "goodbye", "12": "greet", "13": "information", "14": "lease", "15": "mood_great", "16": "mood_unhappy", "17": "out_of_scope", "18": "scheme", "19": "subsidy-A", "20": "subsidy-B"}

BIN
.rasa/cache/tmpaq1a4rub/DIETClassifier.label_data.pkl 파일 보기


BIN
.rasa/cache/tmpaq1a4rub/DIETClassifier.sparse_feature_sizes.pkl 파일 보기


BIN
.rasa/cache/tmpaq1a4rub/DIETClassifier.tf_model.data-00000-of-00001 파일 보기


BIN
.rasa/cache/tmpaq1a4rub/DIETClassifier.tf_model.index 파일 보기


+ 0
- 2
.rasa/cache/tmpaq1a4rub/checkpoint 파일 보기

@@ -1,2 +0,0 @@
model_checkpoint_path: "DIETClassifier.tf_model"
all_model_checkpoint_paths: "DIETClassifier.tf_model"

+ 0
- 1
.rasa/cache/tmpeldbose7/oov_words.json 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmpeldbose7/vocabularies.pkl 파일 보기

@@ -1 +0,0 @@
{"text": {"scheme": 99, "what": 130, "are": 7, "the": 117, "different": 25, "kind": 63, "of": 83, "systems": 113, "supported": 112, "under": 122, "pm": 88, "kusum": 65, "component": 19, "a": 1, "is": 62, "eligible": 30, "who": 132, "will": 133, "purchase": 92, "generated": 42, "electricity": 29, "can": 16, "farmers": 35, "lease": 68, "their": 118, "land": 66, "for": 40, "development": 24, "renewable": 94, "energy": 31, "power": 89, "plant": 86, "financial": 38, "support": 111, "available": 9, "b": 10, "there": 119, "any": 6, "subsidy": 109, "installation": 61, "solar": 103, "pump": 91, "c": 15, "solarisation": 104, "information": 60, "where": 131, "i": 58, "get": 43, "more": 74, "about": 2, "hey": 53, "hello": 52, "hi": 54, "good": 46, "morning": 75, "evening": 32, "moin": 73, "let": 69, "s": 95, "go": 44, "dude": 28, "goodmorning": 49, "goodevening": 48, "afternoon": 3, "cu": 22, "by": 13, "cee": 18, "you": 138, "later": 67, "night": 80, "bye": 14, "goodbye": 47, "have": 51, "nice": 79, "day": 23, "see": 100, "around": 8, "yes": 137, "y": 136, "indeed": 59, "course": 21, "that": 116, "sounds": 107, "correct": 20, "no": 81, "n": 77, "never": 78, "don": 27, "t": 114, "think": 120, "so": 102, "like": 70, "way": 128, "not": 82, "really": 93, "perfect": 85, "great": 50, "amazing": 5, "feeling": 37, "king": 64, "wonderful": 134, "am": 4, "very": 125, "going": 45, "to": 121, "save": 98, "world": 135, "super": 110, "stoked": 108, "extremely": 33, "my": 76, "was": 127, "horrible": 55, "sad": 97, "feel": 36, "well": 129, "disappointed": 26, "m": 71, "unhappy": 123, "extremly": 34, "saad": 96, "bot": 12, "human": 56, "talking": 115, "want": 126, "order": 84, "food": 39, "__number__": 0, "us": 124, "president": 90, "book": 11, "car": 17, "play": 87, "something": 106, "show": 101, "me": 72, "some": 105, "games": 41, "hungry": 57}, "intent": {"scheme": 17, "component": 5, "a": 0, "eligible": 8, "electricity": 7, "lease": 13, "financial": 9, "b": 2, "subsidy": 18, "c": 4, "information": 12, "greet": 11, "goodbye": 10, "affirm": 1, "deny": 6, "mood_great": 14, "mood_unhappy": 15, "bot_challenge": 3, "out_of_scope": 16}, "response": null, "action_name": {"action_listen": 7, "action_restart": 8, "action_session_start": 10, "action_default_fallback": 5, "action_deactivate_loop": 2, "action_revert_fallback_events": 9, "action_default_ask_affirmation": 3, "action_default_ask_rephrase": 4, "action_two_stage_fallback": 11, "action_unlikely_intent": 12, "action_back": 1, "action_extract_slots": 6, "utter_cheer_up": 15, "utter_component": 16, "a": 0, "b": 13, "c": 14, "utter_default": 17, "utter_did_that_help": 18, "utter_electricity": 19, "utter_eligible": 20, "utter_financial": 21, "utter_goodbye": 22, "utter_greet": 23, "utter_happy": 24, "utter_iamabot": 25, "utter_information": 26, "utter_lease": 27, "utter_scheme": 28, "utter_subsidy": 29}, "action_text": null, "intent_response_key": null}

+ 0
- 1
.rasa/cache/tmpfpvij60q/oov_words.json 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmpfpvij60q/vocabularies.pkl 파일 보기

@@ -1 +0,0 @@
{"text": {"scheme": 104, "what": 136, "are": 7, "the": 123, "different": 26, "kind": 68, "of": 88, "systems": 118, "supported": 117, "under": 128, "pm": 93, "kusum": 70, "is": 67, "tell": 121, "me": 77, "about": 2, "give": 45, "some": 110, "information": 64, "highlights": 57, "component": 20, "a": 1, "can": 16, "i": 61, "get": 44, "something": 111, "informaton": 65, "comp": 19, "eligible": 31, "who": 138, "will": 139, "purchase": 97, "generated": 43, "electricity": 30, "farmers": 36, "lease": 73, "their": 124, "land": 71, "for": 41, "development": 25, "renewable": 99, "energy": 32, "power": 94, "plant": 91, "financial": 39, "support": 116, "available": 9, "b": 10, "inform": 63, "there": 125, "any": 6, "subsidy": 114, "installation": 66, "solar": 108, "pump": 96, "c": 15, "solarisation": 109, "where": 137, "more": 79, "hey": 55, "hello": 54, "hi": 56, "good": 48, "morning": 80, "evening": 33, "moin": 78, "let": 74, "s": 100, "go": 46, "dude": 29, "goodmorning": 51, "goodevening": 50, "afternoon": 3, "cu": 23, "by": 13, "cee": 18, "you": 144, "later": 72, "night": 85, "bye": 14, "goodbye": 49, "have": 53, "nice": 84, "day": 24, "see": 105, "around": 8, "yes": 143, "y": 142, "indeed": 62, "course": 22, "that": 122, "sounds": 112, "correct": 21, "no": 86, "n": 82, "never": 83, "don": 28, "t": 119, "think": 126, "so": 107, "like": 75, "way": 134, "not": 87, "really": 98, "perfect": 90, "great": 52, "amazing": 5, "feeling": 38, "king": 69, "wonderful": 140, "am": 4, "very": 131, "going": 47, "to": 127, "save": 103, "world": 141, "super": 115, "stoked": 113, "extremely": 34, "my": 81, "was": 133, "horrible": 58, "sad": 102, "feel": 37, "well": 135, "disappointed": 27, "m": 76, "unhappy": 129, "extremly": 35, "saad": 101, "bot": 12, "human": 59, "talking": 120, "want": 132, "order": 89, "food": 40, "__number__": 0, "us": 130, "president": 95, "book": 11, "car": 17, "play": 92, "show": 106, "games": 42, "hungry": 60}, "intent": {"scheme": 17, "component": 5, "a": 0, "eligible": 8, "electricity": 7, "lease": 13, "financial": 9, "b": 2, "subsidy": 18, "c": 4, "information": 12, "greet": 11, "goodbye": 10, "affirm": 1, "deny": 6, "mood_great": 14, "mood_unhappy": 15, "bot_challenge": 3, "out_of_scope": 16}, "response": null, "action_name": {"action_listen": 7, "action_restart": 8, "action_session_start": 10, "action_default_fallback": 5, "action_deactivate_loop": 2, "action_revert_fallback_events": 9, "action_default_ask_affirmation": 3, "action_default_ask_rephrase": 4, "action_two_stage_fallback": 11, "action_unlikely_intent": 12, "action_back": 1, "action_extract_slots": 6, "utter_cheer_up": 15, "utter_component": 16, "a": 0, "b": 13, "c": 14, "utter_default": 17, "utter_did_that_help": 18, "utter_electricity": 19, "utter_eligible": 20, "utter_financial": 21, "utter_goodbye": 22, "utter_greet": 23, "utter_happy": 24, "utter_iamabot": 25, "utter_information": 26, "utter_lease": 27, "utter_scheme": 28, "utter_subsidy": 29}, "action_text": null, "intent_response_key": null}

+ 0
- 1
.rasa/cache/tmpj8hutm8a/featurizer.json 파일 보기

@@ -1 +0,0 @@
{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": null, "max_history": null, "remove_duplicates": true}

+ 0
- 4
.rasa/cache/tmpj8hutm8a/rule_only_data.json 파일 보기

@@ -1,4 +0,0 @@
{
"rule_only_slots": [],
"rule_only_loops": []
}

+ 0
- 22
.rasa/cache/tmpj8hutm8a/rule_policy.json 파일 보기

@@ -1,22 +0,0 @@
{
"lookup": {
"rules": {
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}]": "utter_goodbye",
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}, {\"prev_action\": {\"action_name\": \"utter_goodbye\"}, \"user\": {\"intent\": \"goodbye\"}}]": "action_listen",
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"bot_challenge\"}}]": "utter_iamabot",
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"bot_challenge\"}}, {\"prev_action\": {\"action_name\": \"utter_iamabot\"}, \"user\": {\"intent\": \"bot_challenge\"}}]": "action_listen"
},
"rule_only_slots": [],
"rule_only_loops": [],
"rules_for_loop_unhappy_path": {},
"rules_not_in_stories": [
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"bot_challenge\"}}]",
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}, {\"prev_action\": {\"action_name\": \"utter_goodbye\"}, \"user\": {\"intent\": \"goodbye\"}}]",
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}]",
"predicting default action with intent session_start",
"predicting default action with intent back",
"[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"bot_challenge\"}}, {\"prev_action\": {\"action_name\": \"utter_iamabot\"}, \"user\": {\"intent\": \"bot_challenge\"}}]",
"predicting default action with intent restart"
]
}
}

+ 0
- 1
.rasa/cache/tmply8si7sc/oov_words.json 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmply8si7sc/vocabularies.pkl
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 0
- 2
.rasa/cache/tmpmquv2rny/checkpoint 파일 보기

@@ -1,2 +0,0 @@
model_checkpoint_path: "unexpected_intent_policy.tf_model"
all_model_checkpoint_paths: "unexpected_intent_policy.tf_model"

+ 0
- 1
.rasa/cache/tmpmquv2rny/featurizer.json 파일 보기

@@ -1 +0,0 @@
{"py/object": "rasa.core.featurizers.tracker_featurizers.IntentMaxHistoryTrackerFeaturizer", "state_featurizer": {"py/object": "rasa.core.featurizers.single_state_featurizer.IntentTokenizerSingleStateFeaturizer", "_default_feature_states": {"intent": {"affirm": 0, "back": 1, "bot_challenge": 2, "component-A": 3, "component-B": 4, "component-C": 5, "deny": 6, "electricity": 7, "eligible-A": 8, "eligible-B": 9, "eligible-C": 10, "financial": 11, "goodbye": 12, "greet": 13, "information": 14, "lease": 15, "mood_great": 16, "mood_unhappy": 17, "nlu_fallback": 18, "out_of_scope": 19, "restart": 20, "scheme": 21, "session_start": 22, "subsidy-A": 23, "subsidy-B": 24}, "action_name": {"action_listen": 0, "action_restart": 1, "action_session_start": 2, "action_default_fallback": 3, "action_deactivate_loop": 4, "action_revert_fallback_events": 5, "action_default_ask_affirmation": 6, "action_default_ask_rephrase": 7, "action_two_stage_fallback": 8, "action_unlikely_intent": 9, "action_back": 10, "...": 11, "action_extract_slots": 12, "utter_cheer_up": 13, "utter_component-A": 14, "utter_component-B": 15, "utter_component-C": 16, "utter_default": 17, "utter_did_that_help": 18, "utter_electricity": 19, "utter_eligible-A": 20, "utter_eligible-B": 21, "utter_eligible-C": 22, "utter_financial": 23, "utter_goodbye": 24, "utter_greet": 25, "utter_happy": 26, "utter_iamabot": 27, "utter_information": 28, "utter_lease": 29, "utter_scheme": 30, "utter_subsidy-A": 31, "utter_subsidy-B": 32}, "entities": {}, "slots": {}, "active_loop": {}}, "action_texts": [], "entity_tag_specs": null}, "max_history": 5, "remove_duplicates": true}

BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.data_example.pkl 파일 보기


+ 0
- 1
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.entity_tag_specs.json 파일 보기

@@ -1 +0,0 @@
[]

BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.fake_features.pkl 파일 보기


BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.label_data.pkl 파일 보기


BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.label_quantiles.pkl 파일 보기


BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.meta.pkl 파일 보기


+ 0
- 1
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.priority.pkl 파일 보기

@@ -1 +0,0 @@
2

BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.tf_model.data-00000-of-00001 파일 보기


BIN
.rasa/cache/tmpmquv2rny/unexpected_intent_policy.tf_model.index 파일 보기


+ 0
- 1
.rasa/cache/tmpnyr6uyy0/patterns.pkl 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmpslslryz1/feature_to_idx_dict.pkl 파일 보기

@@ -1 +0,0 @@
{"json://{\"py/tuple\": [0, \"low\"]}": {"False": 0, "True": 1}, "json://{\"py/tuple\": [0, \"title\"]}": {"False": 2, "True": 3}, "json://{\"py/tuple\": [0, \"upper\"]}": {"False": 4, "True": 5}, "json://{\"py/tuple\": [1, \"BOS\"]}": {"False": 6, "True": 7}, "json://{\"py/tuple\": [1, \"EOS\"]}": {"False": 8, "True": 9}, "json://{\"py/tuple\": [1, \"digit\"]}": {"False": 10, "True": 11}, "json://{\"py/tuple\": [1, \"low\"]}": {"False": 12, "True": 13}, "json://{\"py/tuple\": [1, \"title\"]}": {"False": 14, "True": 15}, "json://{\"py/tuple\": [1, \"upper\"]}": {"False": 16, "True": 17}, "json://{\"py/tuple\": [2, \"low\"]}": {"False": 18, "True": 19}, "json://{\"py/tuple\": [2, \"title\"]}": {"False": 20, "True": 21}, "json://{\"py/tuple\": [2, \"upper\"]}": {"False": 22, "True": 23}}

+ 0
- 1
.rasa/cache/tmpupvvtn0e/feature_to_idx_dict.pkl 파일 보기

@@ -1 +0,0 @@
{"json://{\"py/tuple\": [0, \"low\"]}": {"False": 0, "True": 1}, "json://{\"py/tuple\": [0, \"title\"]}": {"False": 2, "True": 3}, "json://{\"py/tuple\": [0, \"upper\"]}": {"False": 4, "True": 5}, "json://{\"py/tuple\": [1, \"BOS\"]}": {"False": 6, "True": 7}, "json://{\"py/tuple\": [1, \"EOS\"]}": {"False": 8, "True": 9}, "json://{\"py/tuple\": [1, \"digit\"]}": {"False": 10, "True": 11}, "json://{\"py/tuple\": [1, \"low\"]}": {"False": 12, "True": 13}, "json://{\"py/tuple\": [1, \"title\"]}": {"False": 14, "True": 15}, "json://{\"py/tuple\": [1, \"upper\"]}": {"False": 16, "True": 17}, "json://{\"py/tuple\": [2, \"low\"]}": {"False": 18, "True": 19}, "json://{\"py/tuple\": [2, \"title\"]}": {"False": 20, "True": 21}, "json://{\"py/tuple\": [2, \"upper\"]}": {"False": 22, "True": 23}}

+ 0
- 1
.rasa/cache/tmpy7adc9ex/oov_words.json 파일 보기

@@ -1 +0,0 @@
[]

+ 0
- 1
.rasa/cache/tmpy7adc9ex/vocabularies.pkl
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 6
- 5
Dockerfile 파일 보기

@@ -1,7 +1,8 @@
FROM ubuntu:18.04
FROM python:3.8-slim
ENTRYPOINT []
RUN apt-get update && apt-get install -y python3 python3-pip && python3 -m pip install --no-cache --upgrade pip && pip3 install --no-cache rasa==1.10.8
ADD . /app/
RUN python -m pip install --upgrade pip && python -m pip install --default-timeout=10000 --no-cache rasa==3.1.2
WORKDIR /app
ADD . .
RUN chmod +x /app/start_services.sh
CMD /app/start_services.sh
CMD /app/start_services.sh


+ 21
- 21
config.yml 파일 보기

@@ -7,27 +7,27 @@ recipe: default.v1
language: en

pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
# - name: WhitespaceTokenizer
# - name: RegexFeaturizer
# - name: LexicalSyntacticFeaturizer
# - name: CountVectorsFeaturizer
# - name: CountVectorsFeaturizer
# analyzer: char_wb
# min_ngram: 1
# max_ngram: 4
# - name: DIETClassifier
# epochs: 100
# constrain_similarities: true
# - name: EntitySynonymMapper
# - name: ResponseSelector
# epochs: 100
# constrain_similarities: true
# - name: FallbackClassifier
# threshold: 0.3
# ambiguity_threshold: 0.1
# No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# If you'd like to customize it, uncomment and adjust the pipeline.
# See https://rasa.com/docs/rasa/tuning-your-model for more information.
- name: WhitespaceTokenizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: RegexFeaturizer
- name: DIETClassifier
epochs: 100
constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.3
ambiguity_threshold: 0.1

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/


+ 40
- 12
data/nlu.yml 파일 보기

@@ -10,8 +10,12 @@ nlu:
- Give me some information about different kind of systems supported under PM-KUSUM Scheme
- Give me some highlights of PM-KUSUM Scheme
- PM Kusum Scheme
- tell me about the pm kusum scheme
- pm kusum scheme details
- PM-KUSUM scheme informatio
- What is pm kusum?

- intent: component-A
- intent: component_A
examples: |
- component-A
- What is Component-A of PM-KUSUM Scheme?
@@ -20,11 +24,14 @@ nlu:
- Give me some informaton about component A of PM-KUSUM Scheme
- comp A
- comp A of PM kusum scheme
- component A details

- intent: eligible-A
- intent: eligible_A
examples: |
- eligible-A
- Who is eligible under Component-A of PM-KUSUM Scheme?
- eligible A
- Who is eligible under Component A of PM-KUSUM Scheme?
- component A eligibility
- who can apply for component A?

- intent: electricity
examples: |
@@ -38,7 +45,7 @@ nlu:
examples: |
- What kind of financial support is available under Component-A of the Scheme?

- intent: component-B
- intent: component_B
examples: |
- What is Component-B of PM-KUSUM Scheme?
- Inform me about Component B
@@ -47,29 +54,40 @@ nlu:
- Component B
- comp b
- comp b of pm kusum scheme
- component B of the pm kusum scheme
- Component B details
- information about component B

- intent: eligible-B
- intent: eligible_B
examples: |
- Who is eligible under component B of PM-KUSUM?
- component B eligibility
- who can apply for component B?
- who is eligible for component B?
- comp B eligibility

- intent: subsidy-A
- intent: subsidy_A
examples: |
- Is there any subsidy for the installation of solar pump?

- intent: component-C
- intent: component_C
examples: |
- What is Component-C of PM-KUSUM Scheme?
- component C details
- component C information

- intent: eligible-C
- intent: eligible_C
examples: |
- Who is eligible under component C of PM-KUSUM?
- component C eligibility
- who can apply for component C?
- component C eligibility criteria
- comp C eligibility

- intent: subsidy-B
- intent: subsidy_B
examples: |
- Is there any subsidy for the installation of solarisation of pump?


- intent: information
examples: |
- information
@@ -173,3 +191,13 @@ nlu:
- I want to play something
- Show me some games
- I am hungry
- intent: thanking
examples: |
- Thank you
- thanks
- thank you so much
- thank you
- thank u

+ 10
- 0
data/rules.yml 파일 보기

@@ -2,6 +2,11 @@ version: "3.1"

rules:

- rule: Greet whenever the user greets
steps:
- intent: greet
- action: utter_greet

- rule: Say goodbye anytime the user says goodbye
steps:
- intent: goodbye
@@ -11,3 +16,8 @@ rules:
steps:
- intent: bot_challenge
- action: utter_iamabot

- rule: Say "You're welcome" whenever the user says thank you
steps:
- intent: thanking
- action: utter_your_welcome

+ 24
- 51
data/stories.yml 파일 보기

@@ -2,42 +2,15 @@ version: "3.1"

stories:

- story: happy path
steps:
- intent: greet
- action: utter_greet
- intent: mood_great
- action: utter_happy

- story: sad path 1
steps:
- intent: greet
- action: utter_greet
- intent: mood_unhappy
- action: utter_cheer_up
- action: utter_did_that_help
- intent: affirm
- action: utter_happy

- story: sad path 2
steps:
- intent: greet
- action: utter_greet
- intent: mood_unhappy
- action: utter_cheer_up
- action: utter_did_that_help
- intent: deny
- action: utter_goodbye

- story: scheme
steps:
- intent: scheme
- action: utter_scheme

- story: eligible-A
- story: eligible_A
steps:
- intent: eligible-A
- action: utter_eligible-A
- intent: eligible_A
- action: utter_eligible_A

- story: information
steps:
@@ -59,40 +32,40 @@ stories:
- intent: financial
- action: utter_financial

- story: component-B
- story: component_B
steps:
- intent: component-B
- action: utter_component-B
- intent: component_B
- action: utter_component_B

- story: eligible-B
- story: eligible_B
steps:
- intent: eligible-B
- action: utter_eligible-B
- intent: eligible_B
- action: utter_eligible_B

- story: subsidy-A
- story: subsidy_A
steps:
- intent: subsidy-A
- action: utter_subsidy-A
- intent: subsidy_A
- action: utter_subsidy_A

- story: component-C
- story: component_C
steps:
- intent: component-C
- action: utter_component-C
- intent: component_C
- action: utter_component_C

- story: eligible-C
- story: eligible_C
steps:
- intent: eligible-C
- action: utter_eligible-C
- intent: eligible_C
- action: utter_eligible_C

- story: subsidy-B
- story: subsidy_B
steps:
- intent: subsidy-B
- action: utter_subsidy-B
- intent: subsidy_B
- action: utter_subsidy_B

- story: component-A
- story: component_A
steps:
- intent: component-A
- action: utter_component-A
- intent: component_A
- action: utter_component_A

- story: Out of scope
steps:


+ 61
- 72
domain.yml 파일 보기

@@ -2,18 +2,18 @@ version: "3.1"

intents:
- scheme
- eligible-A
- eligible_A
- electricity
- lease
- financial
- component-B
- eligible-B
- subsidy-A
- component-C
- eligible-C
- subsidy-B
- component_B
- eligible_B
- subsidy_A
- component_C
- eligible_C
- subsidy_B
- information
- component-A
- component_A
- greet
- goodbye
- affirm
@@ -21,21 +21,21 @@ intents:
- mood_great
- mood_unhappy
- bot_challenge
- thanking
- out_of_scope


responses:
utter_eligible-A:
- text: "Individual farmers/ group of farmers/ cooperatives/panchayats/ Farmer Producer Organisations (FPO)/Water User associations (WUA). Land on which the project is proposed to be installed should be within 5 km from the nearest electricity sub-station."
utter_eligible_A:
- text: "Individual farmers/group of farmers/cooperatives/panchayats/Farmer Producer Organisations (FPO)/Water User associations (WUA). Land on which the project is proposed to be installed should be within 5 km from the nearest electricity sub-station."
buttons:
- title: "Lease of land"
payload: '/lease'
- title: "Financial support available under Component-A"
payload: '/financial'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_electricity:
- text: "Power generated will be purchased by the local electricity distribution companies (Discoms)"
@@ -44,142 +44,131 @@ responses:
- text: "Yes, farmers can either install renewable power project on their land or lease the land on rent to a developer at mutually agreed terms between the parties."
buttons:
- title: "Who are eligible"
payload: '/eligible-A'
payload: '/eligible_A'
- title: "Financial support available under Component-A"
payload: '/financial'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_financial:
- text: "The renewable power generated will be purchased by DISCOMs at a pre-fixed levelised tariff. The duration of PPA will be 25 years from Commercial Operation Date (COD) of the project. Procurement based incentive (PBI) of 40 paisa per unit of electricity generated or Rs. 6.6 lakh per MW per annum, whichever is lower, will be provided to DISCOM for buying electricity generated for five years. "
buttons:
- title: "Who are eligible"
payload: '/eligible-A'
payload: '/eligible_A'
- title: "Lease of land"
payload: '/lease'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'
utter_component-B:
- text: "Under this Component, farmers can replace their existing diesel poweredagriculture pumps with standalone solar pumpsof capacity up to 7.5 HP in off-grid areas. Pumps of capacity higher than 7.5 HP may be allowed, however, the central subsidy will be limited to the subsidy applicable for pump of 7.5 HP."
utter_component_B:
- text: "Under this Component, farmers can replace their existing diesel powered agriculture pumps with standalone solar pumpsof capacity up to 7.5 HP in off-grid areas. Pumps of capacity higher than 7.5 HP may be allowed, however, the central subsidy will be limited to the subsidy applicable for pump of 7.5 HP."
buttons:
- title: "Who are eligible"
payload: '/eligible-B'
payload: '/eligible_B'
- title: "Subsidy for the installation of solar pump"
payload: '/subsidy-A'
payload: '/subsidy_A'
- title: "Know more about component A"
payload: '/component-A'
payload: '/component_A'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_eligible-B:
utter_eligible_B:
- text: "Individual farmers, Water User Associations and community/cluster based irrigation system will be covered under this component."
buttons:
- title: "Subsidy for the installation of solar pump"
payload: '/subsidy-A'
payload: '/subsidy_A'
- title: "Know more about component A"
payload: '/component-A'
payload: '/component_A'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_subsidy-A:
utter_subsidy_A:
- text: "For all states except for North-eastern States, Hill States/UTs and Island UTs, subsidy of 30%, each by Central and State Governments will be provided, and the remaining 40% will be invested by the farmer for installation of solar pump. Subsidy in percentage mentioned above is applicable on benchmark cost or tender cost, whichever is lower. For North-eastern States, Himachal Pradesh, Uttarakhand, Jammu and Kashmir/Ladakh and Island UTs, subsidy of 50% will be provided by Central Government and at least 30% will be provided by the State Government for installation of solar pump. Farmer will have to invest balance 20%"
buttons:
- title: "Who are eligible"
payload: '/eligible-B'
payload: '/eligible_B'
- title: "Know more about component A"
payload: '/component-A'
payload: '/component_A'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_component-C:
utter_component_C:
- text: "Under this Component, farmers can solarize their existing grid connected agriculture pumps of capacity up to 7.5 HP. Solar PV capacity up to two times of pump capacity in kW is allowed under the scheme.However, States may choose to allow lower solar PV capacity, which in no case will be less than pump capacity in HP. The farmer will be able to use the generated solar power to meet the irrigation needs and the excess solar power will be sold to DISCOMs."
buttons:
- title: "Who are eligible"
payload: '/eligible-C'
payload: '/eligible_C'
- title: "Subsidy for the installation of solarisation pump"
payload: '/subsidy-B'
payload: '/subsidy_B'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_eligible-C:
utter_eligible_C:
- text: "Individual farmers, water user associations and community/cluster based irrigation system will also be covered under this component. "
buttons:
- title: "Subsidy for the installation of solarisation pump"
payload: '/subsidy-B'
payload: '/subsidy_B'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_subsidy-B:
utter_subsidy_B:
- text: "For all states except for North-eastern States, Hill States/UTs and Island UTs, subsidy of 30%, each by Central and State Governments will be provided, and the remaining 40% will be invested by the farmer for solarization of existing pumps. Subsidy in percentage mentioned above is applicable on benchmark cost or tender cost, whichever is lower. For North-eastern States, Himachal Pradesh, Uttarakhand, Jammu and Kashmir/Ladakh and Island UTs, subsidy of 50% will be provided by Central Government and at least 30% will be provided by the State Government for solarization of existing pumps. Farmer will have to invest balance 20%. "
buttons:
- title: "Who are eligible"
payload: '/eligible-C'
payload: '/eligible_C'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_information:
- text: "For more information, please visit https://mnre.gov.in/solar/schemes/ or call at toll free number 1800-180-3333."
utter_scheme:
- text: "PM-KUSUM Scheme supports three different kind of installations, known as three components of the Scheme as given below:
Component-A: Setting up of decentralized ground/ stilt mounted grid connected solar or other renewable energy based power plants up to 2 MW capacity
Component-B: Installation of stand-alone solar agriculture pumps of capacity up to 7.5 HP
Component-C: Solarisation of existing grid connected agriculture pumps of capacity up to 7.5 HP"
- text: "PM-KUSUM Scheme supports three different kind of installations, known as three components of the Scheme as given below: Component-A: Setting up of decentralized ground/ stilt mounted grid connected solar or other renewable energy based power plants up to 2 MW capacity. Component-B: Installation of stand-alone solar agriculture pumps of capacity up to 7.5 HP. Component-C: Solarisation of existing grid connected agriculture pumps of capacity up to 7.5 HP"
buttons:
- title: "Know more about component A"
payload: '/component-A'
payload: '/component_A'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'
utter_component-A:
utter_component_A:
- text: "Under this component, solar or other renewable energy based power plants of capacity 500 kW to 2 MW can be installed on barren or uncultivable agriculture land mainly. Agriculture land is also permitted under this scheme provided that solar plants are installed in slit fashion (i.e. raised structure for installation of solar panels) and with adequate spacing between panel rows for ensuring that farming activity is not affected."
buttons:
- title: "Who are eligible"
payload: '/eligible-A'
payload: '/eligible_A'
- title: "Lease of land"
payload: '/lease'
- title: "Financial support available under Component-A"
- title: "Financial support available under Component A"
payload: '/financial'
- title: "Know more about component B"
payload: '/component-B'
payload: '/component_B'
- title: "Know more about component C"
payload: '/component-C'
payload: '/component_C'

utter_greet:
- text: "Hey! How are you?"

utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"

utter_did_that_help:
- text: "Did that help you?"

utter_happy:
- text: "Great, carry on!"
- text: "Hello there! What would you like to know about PM-KUSUM?"

utter_goodbye:
- text: "Bye"
- text: "Have a nice day. Bye!"

utter_iamabot:
- text: "I am a bot, powered by Rasa."

utter_default:
- text: I'm sorry, I didn't quite understand that. Could you rephrase?

- text: "I'm sorry, I didn't quite understand that. Could you rephrase?"
utter_your_welcome:
- text: "You're welcome!"

session_config:
session_expiration_time: 60

+ 23
- 31
index.html 파일 보기

@@ -1,32 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>!(function () {
let e = document.createElement("script"),
t = document.head || document.getElementsByTagName("head")[0];
(e.src =
"https://cdn.jsdelivr.net/npm/rasa-webchat@1.x.x/lib/index.js"),
// Replace 1.x.x with the version that you want
(e.async = !0),
(e.onload = () => {
window.WebChat.default(
{
customData: { language: "en" },
socketUrl: "http://localhost:5005",
// add other props here
},
null
);
}),
t.insertBefore(e, t.firstChild);
})();
localStorage.clear();
</script>
</body>
<html>
<body>
<script>!(function () {
let e = document.createElement("script"),
t = document.head || document.getElementsByTagName("head")[0];
(e.src =
"https://cdn.jsdelivr.net/npm/rasa-webchat@1.x.x/lib/index.js"),
// Replace 1.x.x with the version that you want
(e.async = !0),
(e.onload = () => {
window.WebChat.default(
{
customData: { language: "en" },
socketUrl: "https://rasa-chatbot-1234.herokuapp.com",
// add other props here
},
null
);
}),
t.insertBefore(e, t.firstChild);
})();
</script>
</body>
</html>

BIN
models/20220616-152843-randomized-arcade.tar.gz 파일 보기


BIN
models/20220617-103913-rapid-atlas.tar.gz → models/20220729-142405-clean-hop.tar.gz 파일 보기


+ 1
- 2
start_services.sh 파일 보기

@@ -1,4 +1,3 @@
cd app/
# Start rasa server with nlu model
rasa run --model models --enable-api --cors "*" --debug \
-p $PORT
rasa run --enable-api --cors "*" --debug -p $PORT

+ 93
- 91
tests/test_stories.yml 파일 보기

@@ -1,91 +1,93 @@
#### This file contains tests to evaluate that your bot behaves as expected.
#### If you want to learn more, please see the docs: https://rasa.com/docs/rasa/testing-your-assistant

stories:
- story: happy path 1
steps:
- user: |
hello there!
intent: greet
- action: utter_greet
- user: |
amazing
intent: mood_great
- action: utter_happy

- story: happy path 2
steps:
- user: |
hello there!
intent: greet
- action: utter_greet
- user: |
amazing
intent: mood_great
- action: utter_happy
- user: |
bye-bye!
intent: goodbye
- action: utter_goodbye

- story: sad path 1
steps:
- user: |
hello
intent: greet
- action: utter_greet
- user: |
not good
intent: mood_unhappy
- action: utter_cheer_up
- action: utter_did_that_help
- user: |
yes
intent: affirm
- action: utter_happy

- story: sad path 2
steps:
- user: |
hello
intent: greet
- action: utter_greet
- user: |
not good
intent: mood_unhappy
- action: utter_cheer_up
- action: utter_did_that_help
- user: |
not really
intent: deny
- action: utter_goodbye

- story: sad path 3
steps:
- user: |
hi
intent: greet
- action: utter_greet
- user: |
very terrible
intent: mood_unhappy
- action: utter_cheer_up
- action: utter_did_that_help
- user: |
no
intent: deny
- action: utter_goodbye

- story: say goodbye
steps:
- user: |
bye-bye!
intent: goodbye
- action: utter_goodbye

- story: bot challenge
steps:
- user: |
are you a bot?
intent: bot_challenge
- action: utter_iamabot
# =============================================================================
# #### This file contains tests to evaluate that your bot behaves as expected.
# #### If you want to learn more, please see the docs: https://rasa.com/docs/rasa/testing-your-assistant
#
# stories:
# - story: happy path 1
# steps:
# - user: |
# hello there!
# intent: greet
# - action: utter_greet
# - user: |
# amazing
# intent: mood_great
# - action: utter_happy
#
# - story: happy path 2
# steps:
# - user: |
# hello there!
# intent: greet
# - action: utter_greet
# - user: |
# amazing
# intent: mood_great
# - action: utter_happy
# - user: |
# bye-bye!
# intent: goodbye
# - action: utter_goodbye
#
# - story: sad path 1
# steps:
# - user: |
# hello
# intent: greet
# - action: utter_greet
# - user: |
# not good
# intent: mood_unhappy
# - action: utter_cheer_up
# - action: utter_did_that_help
# - user: |
# yes
# intent: affirm
# - action: utter_happy
#
# - story: sad path 2
# steps:
# - user: |
# hello
# intent: greet
# - action: utter_greet
# - user: |
# not good
# intent: mood_unhappy
# - action: utter_cheer_up
# - action: utter_did_that_help
# - user: |
# not really
# intent: deny
# - action: utter_goodbye
#
# - story: sad path 3
# steps:
# - user: |
# hi
# intent: greet
# - action: utter_greet
# - user: |
# very terrible
# intent: mood_unhappy
# - action: utter_cheer_up
# - action: utter_did_that_help
# - user: |
# no
# intent: deny
# - action: utter_goodbye
#
# - story: say goodbye
# steps:
# - user: |
# bye-bye!
# intent: goodbye
# - action: utter_goodbye
#
# - story: bot challenge
# steps:
# - user: |
# are you a bot?
# intent: bot_challenge
# - action: utter_iamabot
# =============================================================================

불러오는 중...
취소
저장