@@ -0,0 +1 @@ | |||||
{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": null, "max_history": null, "remove_duplicates": true} |
@@ -0,0 +1,44 @@ | |||||
{ | |||||
"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,0 +1,2 @@ | |||||
model_checkpoint_path: "ted_policy.tf_model" | |||||
all_model_checkpoint_paths: "ted_policy.tf_model" |
@@ -0,0 +1 @@ | |||||
{"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} |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
1 |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
{"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"} |
@@ -0,0 +1,2 @@ | |||||
model_checkpoint_path: "DIETClassifier.tf_model" | |||||
all_model_checkpoint_paths: "DIETClassifier.tf_model" |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
{"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"} |
@@ -0,0 +1,2 @@ | |||||
model_checkpoint_path: "DIETClassifier.tf_model" | |||||
all_model_checkpoint_paths: "DIETClassifier.tf_model" |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
{"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,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
{"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,0 +1 @@ | |||||
{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": null, "max_history": null, "remove_duplicates": true} |
@@ -0,0 +1,4 @@ | |||||
{ | |||||
"rule_only_slots": [], | |||||
"rule_only_loops": [] | |||||
} |
@@ -0,0 +1,22 @@ | |||||
{ | |||||
"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,0 +1 @@ | |||||
[] |
@@ -0,0 +1,2 @@ | |||||
model_checkpoint_path: "unexpected_intent_policy.tf_model" | |||||
all_model_checkpoint_paths: "unexpected_intent_policy.tf_model" |
@@ -0,0 +1 @@ | |||||
{"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} |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
2 |
@@ -0,0 +1 @@ | |||||
[] |
@@ -0,0 +1 @@ | |||||
{"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,0 +1 @@ | |||||
{"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,0 +1 @@ | |||||
[] |
@@ -0,0 +1,7 @@ | |||||
FROM ubuntu:18.04 | |||||
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==3.1.2 | |||||
ADD . /app/ | |||||
RUN chmod +x /app/start_services.sh | |||||
CMD /app/start_services.sh |
@@ -0,0 +1,27 @@ | |||||
# This files contains your custom actions which can be used to run | |||||
# custom Python code. | |||||
# | |||||
# See this guide on how to implement these action: | |||||
# https://rasa.com/docs/rasa/custom-actions | |||||
# This is a simple example for a custom action which utters "Hello World!" | |||||
# from typing import Any, Text, Dict, List | |||||
# | |||||
# from rasa_sdk import Action, Tracker | |||||
# from rasa_sdk.executor import CollectingDispatcher | |||||
# | |||||
# | |||||
# class ActionHelloWorld(Action): | |||||
# | |||||
# def name(self) -> Text: | |||||
# return "action_hello_world" | |||||
# | |||||
# def run(self, dispatcher: CollectingDispatcher, | |||||
# tracker: Tracker, | |||||
# domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: | |||||
# | |||||
# dispatcher.utter_message(text="Hello World!") | |||||
# | |||||
# return [] |
@@ -0,0 +1,46 @@ | |||||
# The config recipe. | |||||
# https://rasa.com/docs/rasa/model-configuration/ | |||||
recipe: default.v1 | |||||
# Configuration for Rasa NLU. | |||||
# https://rasa.com/docs/rasa/nlu/components/ | |||||
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 | |||||
# Configuration for Rasa Core. | |||||
# https://rasa.com/docs/rasa/core/policies/ | |||||
policies: | |||||
# # No configuration for policies was provided. The following default policies were used to train your model. | |||||
# # If you'd like to customize them, uncomment and adjust the policies. | |||||
# # See https://rasa.com/docs/rasa/policies for more information. | |||||
# - name: MemoizationPolicy | |||||
# - name: RulePolicy | |||||
# - name: UnexpecTEDIntentPolicy | |||||
# max_history: 5 | |||||
# epochs: 100 | |||||
# - name: TEDPolicy | |||||
# max_history: 5 | |||||
# epochs: 100 | |||||
# constrain_similarities: true |
@@ -0,0 +1,33 @@ | |||||
# This file contains the credentials for the voice & chat platforms | |||||
# which your bot is using. | |||||
# https://rasa.com/docs/rasa/messaging-and-voice-channels | |||||
rest: | |||||
# # you don't need to provide anything here - this channel doesn't | |||||
# # require any credentials | |||||
#facebook: | |||||
# verify: "<verify>" | |||||
# secret: "<your secret>" | |||||
# page-access-token: "<your page access token>" | |||||
#slack: | |||||
# slack_token: "<your slack token>" | |||||
# slack_channel: "<the slack channel>" | |||||
# slack_signing_secret: "<your slack signing secret>" | |||||
socketio: | |||||
user_message_evt: user_uttered | |||||
bot_message_evt: bot_uttered | |||||
session_persistence: true | |||||
#mattermost: | |||||
# url: "https://<mattermost instance>/api/v4" | |||||
# token: "<bot token>" | |||||
# webhook_url: "<callback URL>" | |||||
# This entry is needed if you are using Rasa X. The entry represents credentials | |||||
# for the Rasa X "channel", i.e. Talk to your bot and Share with guest testers. | |||||
rasa: | |||||
url: "http://localhost:5002/api" |
@@ -0,0 +1,175 @@ | |||||
version: "3.1" | |||||
nlu: | |||||
- intent: scheme | |||||
examples: | | |||||
- scheme | |||||
- What are the different kind of systems supported under PM-KUSUM Scheme? | |||||
- What is PM-Kusum Scheme? | |||||
- Tell me about different kind of systems supported under PM-KUSUM Scheme | |||||
- 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 | |||||
- intent: component-A | |||||
examples: | | |||||
- component-A | |||||
- What is Component-A of PM-KUSUM Scheme? | |||||
- Can I get some information about component A of PM-KUSUM Scheme | |||||
- Tell me something about component A of PM-KUSUM Scheme | |||||
- Give me some informaton about component A of PM-KUSUM Scheme | |||||
- comp A | |||||
- comp A of PM kusum scheme | |||||
- intent: eligible-A | |||||
examples: | | |||||
- eligible-A | |||||
- Who is eligible under Component-A of PM-KUSUM Scheme? | |||||
- intent: electricity | |||||
examples: | | |||||
- Who will purchase the generated electricity? | |||||
- intent: lease | |||||
examples: | | |||||
- Can farmers lease their land for the development of renewable energy power plant under Component-A? | |||||
- intent: financial | |||||
examples: | | |||||
- What kind of financial support is available under Component-A of the Scheme? | |||||
- intent: component-B | |||||
examples: | | |||||
- What is Component-B of PM-KUSUM Scheme? | |||||
- Inform me about Component B | |||||
- Give me some highlights about Component B of PM-KUSUM Scheme | |||||
- Component B of PM-KUSUM Scheme | |||||
- Component B | |||||
- comp b | |||||
- comp b of pm kusum scheme | |||||
- intent: eligible-B | |||||
examples: | | |||||
- Who is eligible under component B of PM-KUSUM? | |||||
- intent: subsidy-A | |||||
examples: | | |||||
- Is there any subsidy for the installation of solar pump? | |||||
- intent: component-C | |||||
examples: | | |||||
- What is Component-C of PM-KUSUM Scheme? | |||||
- intent: eligible-C | |||||
examples: | | |||||
- Who is eligible under component C of PM-KUSUM? | |||||
- intent: subsidy-B | |||||
examples: | | |||||
- Is there any subsidy for the installation of solarisation of pump? | |||||
- intent: information | |||||
examples: | | |||||
- information | |||||
- Where can I get more information about the Scheme? | |||||
- intent: greet | |||||
examples: | | |||||
- hey | |||||
- hello | |||||
- hi | |||||
- hello there | |||||
- good morning | |||||
- good evening | |||||
- moin | |||||
- hey there | |||||
- let's go | |||||
- hey dude | |||||
- goodmorning | |||||
- goodevening | |||||
- good afternoon | |||||
- intent: goodbye | |||||
examples: | | |||||
- cu | |||||
- good by | |||||
- cee you later | |||||
- good night | |||||
- bye | |||||
- goodbye | |||||
- have a nice day | |||||
- see you around | |||||
- bye bye | |||||
- see you later | |||||
- intent: affirm | |||||
examples: | | |||||
- yes | |||||
- y | |||||
- indeed | |||||
- of course | |||||
- that sounds good | |||||
- correct | |||||
- intent: deny | |||||
examples: | | |||||
- no | |||||
- n | |||||
- never | |||||
- I don't think so | |||||
- don't like that | |||||
- no way | |||||
- not really | |||||
- intent: mood_great | |||||
examples: | | |||||
- perfect | |||||
- great | |||||
- amazing | |||||
- feeling like a king | |||||
- wonderful | |||||
- I am feeling very good | |||||
- I am great | |||||
- I am amazing | |||||
- I am going to save the world | |||||
- super stoked | |||||
- extremely good | |||||
- so so perfect | |||||
- so good | |||||
- so perfect | |||||
- intent: mood_unhappy | |||||
examples: | | |||||
- my day was horrible | |||||
- I am sad | |||||
- I don't feel very well | |||||
- I am disappointed | |||||
- super sad | |||||
- I'm so sad | |||||
- sad | |||||
- very sad | |||||
- unhappy | |||||
- not good | |||||
- not very good | |||||
- extremly sad | |||||
- so saad | |||||
- so sad | |||||
- intent: bot_challenge | |||||
examples: | | |||||
- are you a bot? | |||||
- are you a human? | |||||
- am I talking to a bot? | |||||
- am I talking to a human? | |||||
- intent: out_of_scope | |||||
examples: | | |||||
- I want to order food | |||||
- What is 2 + 2? | |||||
- Who's the US President? | |||||
- I want to book a car | |||||
- I want to play something | |||||
- Show me some games | |||||
- I am hungry |
@@ -0,0 +1,13 @@ | |||||
version: "3.1" | |||||
rules: | |||||
- rule: Say goodbye anytime the user says goodbye | |||||
steps: | |||||
- intent: goodbye | |||||
- action: utter_goodbye | |||||
- rule: Say 'I am a bot' anytime the user challenges | |||||
steps: | |||||
- intent: bot_challenge | |||||
- action: utter_iamabot |
@@ -0,0 +1,100 @@ | |||||
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 | |||||
steps: | |||||
- intent: eligible-A | |||||
- action: utter_eligible-A | |||||
- story: information | |||||
steps: | |||||
- intent: information | |||||
- action: utter_information | |||||
- story: electricity | |||||
steps: | |||||
- intent: electricity | |||||
- action: utter_electricity | |||||
- story: lease | |||||
steps: | |||||
- intent: lease | |||||
- action: utter_lease | |||||
- story: financial | |||||
steps: | |||||
- intent: financial | |||||
- action: utter_financial | |||||
- story: component-B | |||||
steps: | |||||
- intent: component-B | |||||
- action: utter_component-B | |||||
- story: eligible-B | |||||
steps: | |||||
- intent: eligible-B | |||||
- action: utter_eligible-B | |||||
- story: subsidy-A | |||||
steps: | |||||
- intent: subsidy-A | |||||
- action: utter_subsidy-A | |||||
- story: component-C | |||||
steps: | |||||
- intent: component-C | |||||
- action: utter_component-C | |||||
- story: eligible-C | |||||
steps: | |||||
- intent: eligible-C | |||||
- action: utter_eligible-C | |||||
- story: subsidy-B | |||||
steps: | |||||
- intent: subsidy-B | |||||
- action: utter_subsidy-B | |||||
- story: component-A | |||||
steps: | |||||
- intent: component-A | |||||
- action: utter_component-A | |||||
- story: Out of scope | |||||
steps: | |||||
- intent: out_of_scope | |||||
- action: utter_default |
@@ -0,0 +1,186 @@ | |||||
version: "3.1" | |||||
intents: | |||||
- scheme | |||||
- eligible-A | |||||
- electricity | |||||
- lease | |||||
- financial | |||||
- component-B | |||||
- eligible-B | |||||
- subsidy-A | |||||
- component-C | |||||
- eligible-C | |||||
- subsidy-B | |||||
- information | |||||
- component-A | |||||
- greet | |||||
- goodbye | |||||
- affirm | |||||
- deny | |||||
- mood_great | |||||
- mood_unhappy | |||||
- bot_challenge | |||||
- 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." | |||||
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' | |||||
- title: "Know more about component C" | |||||
payload: '/component-C' | |||||
utter_electricity: | |||||
- text: "Power generated will be purchased by the local electricity distribution companies (Discoms)" | |||||
utter_lease: | |||||
- 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' | |||||
- title: "Financial support available under Component-A" | |||||
payload: '/financial' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about 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' | |||||
- title: "Lease of land" | |||||
payload: '/lease' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about 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." | |||||
buttons: | |||||
- title: "Who are eligible" | |||||
payload: '/eligible-B' | |||||
- title: "Subsidy for the installation of solar pump" | |||||
payload: '/subsidy-A' | |||||
- title: "Know more about component A" | |||||
payload: '/component-A' | |||||
- title: "Know more about component C" | |||||
payload: '/component-C' | |||||
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' | |||||
- title: "Know more about component A" | |||||
payload: '/component-A' | |||||
- title: "Know more about component C" | |||||
payload: '/component-C' | |||||
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' | |||||
- title: "Know more about component A" | |||||
payload: '/component-A' | |||||
- title: "Know more about component C" | |||||
payload: '/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' | |||||
- title: "Subsidy for the installation of solarisation pump" | |||||
payload: '/subsidy-B' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about component C" | |||||
payload: '/component-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' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about component C" | |||||
payload: '/component-C' | |||||
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' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about 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" | |||||
buttons: | |||||
- title: "Know more about component A" | |||||
payload: '/component-A' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about component C" | |||||
payload: '/component-C' | |||||
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' | |||||
- title: "Lease of land" | |||||
payload: '/lease' | |||||
- title: "Financial support available under Component-A" | |||||
payload: '/financial' | |||||
- title: "Know more about component B" | |||||
payload: '/component-B' | |||||
- title: "Know more about 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!" | |||||
utter_goodbye: | |||||
- text: "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? | |||||
session_config: | |||||
session_expiration_time: 60 | |||||
carry_over_slots_to_new_session: true |
@@ -0,0 +1,42 @@ | |||||
# This file contains the different endpoints your bot can use. | |||||
# Server where the models are pulled from. | |||||
# https://rasa.com/docs/rasa/model-storage#fetching-models-from-a-server | |||||
#models: | |||||
# url: http://my-server.com/models/default_core@latest | |||||
# wait_time_between_pulls: 10 # [optional](default: 100) | |||||
# Server which runs your custom actions. | |||||
# https://rasa.com/docs/rasa/custom-actions | |||||
#action_endpoint: | |||||
# url: "http://localhost:5055/webhook" | |||||
# Tracker store which is used to store the conversations. | |||||
# By default the conversations are stored in memory. | |||||
# https://rasa.com/docs/rasa/tracker-stores | |||||
#tracker_store: | |||||
# type: redis | |||||
# url: <host of the redis instance, e.g. localhost> | |||||
# port: <port of your redis instance, usually 6379> | |||||
# db: <number of your database within redis, e.g. 0> | |||||
# password: <password used for authentication> | |||||
# use_ssl: <whether or not the communication is encrypted, default false> | |||||
#tracker_store: | |||||
# type: mongod | |||||
# url: <url to your mongo instance, e.g. mongodb://localhost:27017> | |||||
# db: <name of the db within your mongo instance, e.g. rasa> | |||||
# username: <username used for authentication> | |||||
# password: <password used for authentication> | |||||
# Event broker which all conversation events should be streamed to. | |||||
# https://rasa.com/docs/rasa/event-brokers | |||||
#event_broker: | |||||
# url: localhost | |||||
# username: username | |||||
# password: password | |||||
# queue: queue |
@@ -0,0 +1,32 @@ | |||||
<!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> |
@@ -0,0 +1,4 @@ | |||||
cd app/ | |||||
# Start rasa server with nlu model | |||||
rasa run --model models --enable-api --cors "*" --debug \ | |||||
-p $PORT |
@@ -0,0 +1,91 @@ | |||||
#### 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 |