diff --git a/.rasa/cache/cache.db b/.rasa/cache/cache.db index be952420a983f79370e914fb7116e413ab8557e5..140f85fab304e6e09585f2f6311e82aff46524ea 100644 Binary files a/.rasa/cache/cache.db and b/.rasa/cache/cache.db differ diff --git a/.rasa/cache/tmp0oex80dv/feature_to_idx_dict.pkl b/.rasa/cache/tmp0oex80dv/feature_to_idx_dict.pkl deleted file mode 100644 index d2b9045ed5cc5b5ddd41281741e268636bef9fd0..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp0oex80dv/feature_to_idx_dict.pkl +++ /dev/null @@ -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}, "json://{\"py/tuple\": [1, \"low\"]}": {"False": 11, "True": 12}, "json://{\"py/tuple\": [1, \"title\"]}": {"False": 13, "True": 14}, "json://{\"py/tuple\": [1, \"upper\"]}": {"False": 15, "True": 16}, "json://{\"py/tuple\": [2, \"low\"]}": {"False": 17, "True": 18}, "json://{\"py/tuple\": [2, \"title\"]}": {"False": 19, "True": 20}, "json://{\"py/tuple\": [2, \"upper\"]}": {"False": 21, "True": 22}} \ No newline at end of file diff --git a/.rasa/cache/tmp140nm90n/feature_to_idx_dict.pkl b/.rasa/cache/tmp140nm90n/feature_to_idx_dict.pkl deleted file mode 100644 index d2b9045ed5cc5b5ddd41281741e268636bef9fd0..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp140nm90n/feature_to_idx_dict.pkl +++ /dev/null @@ -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}, "json://{\"py/tuple\": [1, \"low\"]}": {"False": 11, "True": 12}, "json://{\"py/tuple\": [1, \"title\"]}": {"False": 13, "True": 14}, "json://{\"py/tuple\": [1, \"upper\"]}": {"False": 15, "True": 16}, "json://{\"py/tuple\": [2, \"low\"]}": {"False": 17, "True": 18}, "json://{\"py/tuple\": [2, \"title\"]}": {"False": 19, "True": 20}, "json://{\"py/tuple\": [2, \"upper\"]}": {"False": 21, "True": 22}} \ No newline at end of file diff --git a/.rasa/cache/tmp80ss9nvk/featurizer.json b/.rasa/cache/tmp80ss9nvk/featurizer.json deleted file mode 100644 index 44f695786b3a80544fa92f7ef6e960b024c0aa11..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp80ss9nvk/featurizer.json +++ /dev/null @@ -1 +0,0 @@ -{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": null, "max_history": null, "remove_duplicates": true} \ No newline at end of file diff --git a/.rasa/cache/tmp80ss9nvk/rule_only_data.json b/.rasa/cache/tmp80ss9nvk/rule_only_data.json deleted file mode 100644 index c7335d7ac34a227ef04275c2698de4098133b071..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp80ss9nvk/rule_only_data.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "rule_only_slots": [], - "rule_only_loops": [] -} \ No newline at end of file diff --git a/.rasa/cache/tmp80ss9nvk/rule_policy.json b/.rasa/cache/tmp80ss9nvk/rule_policy.json deleted file mode 100644 index f4f5e259c1df8339f6f73272568c86ddc281b085..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp80ss9nvk/rule_policy.json +++ /dev/null @@ -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": [ - "predicting default action with intent restart", - "[{\"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 back", - "predicting default action with intent session_start", - "[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"bot_challenge\"}}]", - "[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}]", - "[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}, {\"prev_action\": {\"action_name\": \"utter_goodbye\"}, \"user\": {\"intent\": \"goodbye\"}}]" - ] - } -} \ No newline at end of file diff --git a/.rasa/cache/tmp9zmuriyu/checkpoint b/.rasa/cache/tmp9zmuriyu/checkpoint deleted file mode 100644 index 36885104047429ef7cad938544ac329a690a8fc7..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp9zmuriyu/checkpoint +++ /dev/null @@ -1,2 +0,0 @@ -model_checkpoint_path: "unexpected_intent_policy.tf_model" -all_model_checkpoint_paths: "unexpected_intent_policy.tf_model" diff --git a/.rasa/cache/tmp9zmuriyu/featurizer.json b/.rasa/cache/tmp9zmuriyu/featurizer.json deleted file mode 100644 index 4a73d0135b6211b90ba750d5b316cb9639324402..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp9zmuriyu/featurizer.json +++ /dev/null @@ -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, "deny": 3, "goodbye": 4, "greet": 5, "mood_great": 6, "mood_unhappy": 7, "nlu_fallback": 8, "out_of_scope": 9, "restart": 10, "session_start": 11}, "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_did_that_help": 14, "utter_goodbye": 15, "utter_greet": 16, "utter_happy": 17, "utter_iamabot": 18}, "entities": {}, "slots": {}, "active_loop": {}}, "action_texts": [], "entity_tag_specs": []}, "max_history": 5, "remove_duplicates": true} \ No newline at end of file diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.data_example.pkl b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.data_example.pkl deleted file mode 100644 index 4236877d24acaa21aafbc712416e61461f8e854f..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.data_example.pkl and /dev/null differ diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.entity_tag_specs.json b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.entity_tag_specs.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.entity_tag_specs.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.fake_features.pkl b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.fake_features.pkl deleted file mode 100644 index f6705bae1bc960a22562585777d25d109bedd3cc..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.fake_features.pkl and /dev/null differ diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.label_data.pkl b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.label_data.pkl deleted file mode 100644 index b963f90507152e663aff21fe79d900885955a9da..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.label_data.pkl and /dev/null differ diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.label_quantiles.pkl b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.label_quantiles.pkl deleted file mode 100644 index d100b3d894a80a038aa5c7d9977286b0c8d35192..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.label_quantiles.pkl and /dev/null differ diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.meta.pkl b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.meta.pkl deleted file mode 100644 index 7520f97b9694afbc4120dd9ebbdcd61ac27acdb6..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.meta.pkl and /dev/null differ diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.priority.pkl b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.priority.pkl deleted file mode 100644 index d8263ee9860594d2806b0dfd1bfd17528b0ba2a4..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.priority.pkl +++ /dev/null @@ -1 +0,0 @@ -2 \ No newline at end of file diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.tf_model.data-00000-of-00001 b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.tf_model.data-00000-of-00001 deleted file mode 100644 index 83094ebc45061fa7ab956f96dbbb7893ff6ac542..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.tf_model.data-00000-of-00001 and /dev/null differ diff --git a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.tf_model.index b/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.tf_model.index deleted file mode 100644 index 27b5166903bcfb0bffffb14f4eae76ffa3f75955..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmp9zmuriyu/unexpected_intent_policy.tf_model.index and /dev/null differ diff --git a/.rasa/cache/tmpaf0usmzc/checkpoint b/.rasa/cache/tmpaf0usmzc/checkpoint deleted file mode 100644 index 6258cbce016a0ffd18b1ae702b90c20e1e256448..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpaf0usmzc/checkpoint +++ /dev/null @@ -1,2 +0,0 @@ -model_checkpoint_path: "ted_policy.tf_model" -all_model_checkpoint_paths: "ted_policy.tf_model" diff --git a/.rasa/cache/tmpaf0usmzc/featurizer.json b/.rasa/cache/tmpaf0usmzc/featurizer.json deleted file mode 100644 index 11038f328a4b4ffc7feba39eeb2b56a9d190bcff..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpaf0usmzc/featurizer.json +++ /dev/null @@ -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, "deny": 3, "goodbye": 4, "greet": 5, "mood_great": 6, "mood_unhappy": 7, "nlu_fallback": 8, "out_of_scope": 9, "restart": 10, "session_start": 11}, "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_did_that_help": 14, "utter_goodbye": 15, "utter_greet": 16, "utter_happy": 17, "utter_iamabot": 18}, "entities": {}, "slots": {}, "active_loop": {}}, "action_texts": [], "entity_tag_specs": []}, "max_history": 5, "remove_duplicates": true} \ No newline at end of file diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.data_example.pkl b/.rasa/cache/tmpaf0usmzc/ted_policy.data_example.pkl deleted file mode 100644 index 1b399b892fbf46f9d9a4f21e12936cc4f0a9e961..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpaf0usmzc/ted_policy.data_example.pkl and /dev/null differ diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.entity_tag_specs.json b/.rasa/cache/tmpaf0usmzc/ted_policy.entity_tag_specs.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpaf0usmzc/ted_policy.entity_tag_specs.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.fake_features.pkl b/.rasa/cache/tmpaf0usmzc/ted_policy.fake_features.pkl deleted file mode 100644 index 502f78d8ac1a38dea729edbd7b094d32a32a2823..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpaf0usmzc/ted_policy.fake_features.pkl and /dev/null differ diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.label_data.pkl b/.rasa/cache/tmpaf0usmzc/ted_policy.label_data.pkl deleted file mode 100644 index b12dc30fb58c7988d0b6f8e57361eeed1cd94399..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpaf0usmzc/ted_policy.label_data.pkl and /dev/null differ diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.meta.pkl b/.rasa/cache/tmpaf0usmzc/ted_policy.meta.pkl deleted file mode 100644 index 93f8576b925af974624546726a6ef3ff48ab7153..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpaf0usmzc/ted_policy.meta.pkl and /dev/null differ diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.priority.pkl b/.rasa/cache/tmpaf0usmzc/ted_policy.priority.pkl deleted file mode 100644 index 56a6051ca2b02b04ef92d5150c9ef600403cb1de..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpaf0usmzc/ted_policy.priority.pkl +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.tf_model.data-00000-of-00001 b/.rasa/cache/tmpaf0usmzc/ted_policy.tf_model.data-00000-of-00001 deleted file mode 100644 index 51f369df97a01058c986a5c55444ad9c2aec2a9d..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpaf0usmzc/ted_policy.tf_model.data-00000-of-00001 and /dev/null differ diff --git a/.rasa/cache/tmpaf0usmzc/ted_policy.tf_model.index b/.rasa/cache/tmpaf0usmzc/ted_policy.tf_model.index deleted file mode 100644 index 7192103e70079702229c03637ba30d85bac54de3..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpaf0usmzc/ted_policy.tf_model.index and /dev/null differ diff --git a/.rasa/cache/tmpd_uakpht/oov_words.json b/.rasa/cache/tmpd_uakpht/oov_words.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpd_uakpht/oov_words.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpd_uakpht/vocabularies.pkl b/.rasa/cache/tmpd_uakpht/vocabularies.pkl deleted file mode 100644 index 7c6a9f8a2a3904c9aed984c990d57fe5eafe1a29..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpd_uakpht/vocabularies.pkl +++ /dev/null @@ -1 +0,0 @@ -{"text": {" ": 0, "h": 272, "i": 299, " h": 40, "hi": 289, "i ": 300, " hi": 44, "hi ": 290, " hi ": 45, "e": 201, "l": 339, "o": 405, "he": 281, "el": 222, "ll": 349, "lo": 355, "o ": 406, " he": 41, "hel": 283, "ell": 223, "llo": 351, "lo ": 356, " hel": 42, "hell": 284, "ello": 225, "llo ": 352, "y": 575, "ey": 249, "y ": 576, "hey": 287, "ey ": 250, " hey": 43, "hey ": 288, "t": 519, "r": 465, " t": 99, "th": 533, "er": 236, "re": 467, "e ": 202, " th": 102, "the": 537, "her": 285, "ere": 238, "re ": 468, " the": 104, "ther": 539, "here": 286, "ere ": 239, "c": 164, "a": 116, "n": 378, " c": 14, "ca": 165, "an": 133, "n ": 379, " ca": 15, "can": 166, "an ": 134, " can": 16, "can ": 167, "u": 544, " y": 111, "yo": 584, "ou": 432, "u ": 545, " yo": 114, "you": 585, "ou ": 433, " you": 115, "you ": 586, "m": 364, "d": 186, " r": 82, "ec": 206, "co": 176, "om": 419, "mm": 375, "me": 369, "en": 228, "nd": 380, "d ": 187, " re": 83, "rec": 471, "eco": 210, "com": 177, "omm": 421, "mme": 376, "men": 371, "end": 229, "nd ": 381, " rec": 85, "reco": 473, "ecom": 211, "comm": 178, "omme": 422, "mmen": 377, "mend": 372, "end ": 230, " a": 1, "a ": 117, " a ": 2, "s": 487, "cu": 183, "ui": 549, "is": 321, "si": 499, "in": 309, "ne": 382, " cu": 22, "cui": 184, "uis": 550, "isi": 324, "sin": 500, "ine": 310, "ne ": 383, " cui": 23, "cuis": 185, "uisi": 551, "isin": 325, "sine": 501, "ine ": 311, "w": 566, " w": 108, "wh": 568, "ha": 274, "at": 147, "t ": 520, " wh": 109, "wha": 569, "hat": 279, "at ": 148, " wha": 110, "what": 570, "hat ": 280, " s": 86, "sh": 493, "ho": 293, "ul": 552, "ld": 344, " sh": 89, "sho": 497, "hou": 295, "oul": 434, "uld": 553, "ld ": 345, " sho": 90, "shou": 498, "houl": 296, "ould": 435, "uld ": 554, " i": 48, " i ": 49, "k": 333, "oo": 423, "ok": 414, "k ": 334, " co": 19, "coo": 179, "ook": 426, "ok ": 415, " coo": 20, "cook": 180, "ook ": 427, "to": 540, "od": 407, "da": 188, "ay": 152, " to": 105, "tod": 542, "oda": 408, "day": 189, "ay ": 153, " tod": 107, "toda": 543, "oday": 409, "day ": 190, "g": 259, "su": 512, "ug": 546, "gg": 263, "ge": 260, "es": 240, "st": 508, " su": 95, "sug": 513, "ugg": 547, "gge": 264, "ges": 261, "est": 244, "st ": 509, " sug": 96, "sugg": 514, "ugge": 548, "gges": 265, "gest": 262, "est ": 245, "f": 251, " f": 30, "fo": 253, "or": 428, "r ": 466, " fo": 31, "for": 254, "or ": 429, " for": 32, "for ": 255, " d": 24, "di": 194, "nn": 398, " di": 25, "din": 195, "inn": 313, "nne": 399, "ner": 386, "er ": 237, " din": 26, "dinn": 196, "inne": 314, "nner": 400, "ner ": 387, "fr": 256, "ro": 478, "m ": 365, " fr": 33, "fro": 257, "rom": 479, "om ": 420, " fro": 34, "from": 258, "rom ": 480, "it": 326, "ta": 521, "al": 128, "li": 346, "ia": 301, " it": 50, "ita": 328, "tal": 522, "ali": 129, "lia": 347, "ian": 302, " ita": 52, "ital": 329, "tali": 523, "alia": 130, "lian": 348, "ian ": 303, " m": 58, " me": 61, "me ": 370, " me ": 62, "h ": 273, "dis": 197, "ish": 322, "sh ": 494, " dis": 27, "dish": 198, "ish ": 323, "ch": 168, "se": 489, " ch": 17, "chi": 169, "hin": 291, "nes": 388, "ese": 242, "se ": 490, " chi": 18, "chin": 170, "hine": 292, "ines": 312, "nese": 389, "ese ": 243, "x": 571, "ex": 246, "xi": 572, "ic": 306, "mex": 373, "exi": 247, "xic": 573, "ica": 307, " mex": 63, "mexi": 374, "exic": 248, "xica": 574, "ican": 308, "ai": 123, "tha": 534, "hai": 275, "ai ": 124, " tha": 103, "thai": 535, "hai ": 276, "p": 440, "sp": 505, "pa": 441, "ni": 390, " sp": 91, "spa": 506, "pan": 444, "ani": 135, "nis": 392, " spa": 92, "span": 507, "pani": 445, "anis": 137, "nish": 393, " g": 35, "gr": 269, "ee": 214, "ek": 220, " gr": 38, "gre": 270, "ree": 474, "eek": 218, "ek ": 221, " gre": 39, "gree": 271, "reek": 475, "eek ": 219, "ow": 438, "w ": 567, " ho": 46, "how": 297, "ow ": 439, " how": 47, "how ": 298, "do": 199, " do": 28, "do ": 200, " do ": 29, "ma": 366, "ak": 125, "ke": 335, " ma": 59, "mak": 367, "ake": 126, "ke ": 336, " mak": 60, "make": 368, "ake ": 127, "z": 587, " p": 73, "pi": 453, "iz": 330, "zz": 590, "za": 588, " pi": 78, "piz": 454, "izz": 331, "zza": 591, "za ": 589, " piz": 79, "pizz": 455, "izza": 332, "zza ": 592, "ar": 144, " ar": 7, "are": 145, " are": 8, "are ": 146, "he ": 282, "the ": 538, "te": 524, "ep": 231, "ps": 463, "s ": 488, " st": 93, "ste": 510, "tep": 529, "eps": 234, "ps ": 464, " ste": 94, "step": 511, "teps": 530, "eps ": 235, "to ": 541, " to ": 106, "us": 560, "sus": 517, "ush": 561, "shi": 495, " sus": 98, "sush": 518, "ushi": 562, "shi ": 496, "l ": 340, " te": 100, "tel": 526, "ll ": 350, " tel": 101, "tell": 527, "ell ": 224, "pr": 459, " pr": 80, "pre": 460, "rep": 476, "epa": 232, "par": 446, " pre": 81, "prep": 462, "repa": 477, "epar": 233, "pare": 447, "ph": 450, " ph": 76, "pho": 451, "ho ": 294, " pho": 77, "pho ": 452, " n": 64, "ed": 212, " ne": 65, "nee": 384, "eed": 216, "ed ": 213, " nee": 66, "need": 385, "eed ": 217, "ci": 171, "ip": 315, "pe": 448, "eci": 207, "cip": 174, "ipe": 316, "pe ": 449, "reci": 472, "ecip": 209, "cipe": 175, "ipe ": 317, "b": 154, " b": 9, "bi": 155, "ir": 318, "ry": 484, "ya": 577, " bi": 10, "bir": 156, "iry": 319, "rya": 485, "yan": 578, "ni ": 391, " bir": 11, "biry": 157, "irya": 320, "ryan": 486, "yani": 579, "ani ": 136, "ad": 121, " pa": 74, "pad": 442, "ad ": 122, " pad": 75, "pad ": 443, "go": 266, "db": 191, "by": 161, "ye": 580, " go": 36, "goo": 267, "ood": 424, "odb": 410, "dby": 192, "bye": 162, "ye ": 581, " goo": 37, "good": 268, "oodb": 425, "odby": 411, "dbye": 193, "bye ": 163, " by": 12, " bye": 13, " se": 87, "see": 491, "ee ": 215, " see": 88, "see ": 492, " l": 53, "la": 341, " la": 54, "lat": 342, "ate": 149, "ter": 531, " lat": 55, "late": 343, "ater": 151, "ter ": 532, "nk": 394, "ks": 337, "han": 277, "ank": 138, "nks": 396, "ks ": 338, "than": 536, "hank": 278, "anks": 140, "nks ": 397, "nk ": 395, "ank ": 139, "ot": 430, " lo": 56, "lot": 357, "ot ": 431, " lot": 57, "lot ": 358, "ap": 141, "pp": 456, " ap": 5, "app": 142, "ppr": 457, "cia": 172, "iat": 304, "te ": 525, " app": 6, "appr": 143, "ppre": 458, "prec": 461, "ecia": 208, "ciat": 173, "iate": 305, "ate ": 150, "it ": 327, " it ": 51, " ye": 112, "yes": 582, "es ": 241, " yes": 113, "yes ": 583, "ur": 555, "sur": 515, "ure": 556, " sur": 97, "sure": 516, "ure ": 557, "ab": 118, "bs": 158, "so": 502, "ol": 416, "lu": 359, "ut": 563, "ly": 362, " ab": 3, "abs": 119, "bso": 159, "sol": 503, "olu": 417, "lut": 360, "ute": 564, "ely": 226, "ly ": 363, " abs": 4, "abso": 120, "bsol": 160, "solu": 504, "olut": 418, "lute": 361, "utel": 565, "tely": 528, "ely ": 227, " o": 70, "of": 412, "f ": 252, " of": 71, "of ": 413, " of ": 72, "rs": 481, "cou": 181, "our": 436, "urs": 558, "rse": 482, " cou": 21, "cour": 182, "ours": 437, "urse": 559, "rse ": 483, "no": 401, " no": 67, "no ": 402, " no ": 68, "not": 403, " not": 69, "not ": 404, "ea": 203, "rea": 469, "eal": 204, "all": 131, "lly": 353, " rea": 84, "real": 470, "eall": 205, "ally": 132, "lly ": 354}, "response": null, "action_text": null} \ No newline at end of file diff --git a/.rasa/cache/tmpe2rbsgfg/oov_words.json b/.rasa/cache/tmpe2rbsgfg/oov_words.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpe2rbsgfg/oov_words.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpe2rbsgfg/vocabularies.pkl b/.rasa/cache/tmpe2rbsgfg/vocabularies.pkl deleted file mode 100644 index 5cd2188acbfeada2aca62b03896cd272edf59bf0..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpe2rbsgfg/vocabularies.pkl +++ /dev/null @@ -1 +0,0 @@ -{"text": {" ": 0, "h": 333, "e": 246, "y": 684, " h": 49, "he": 341, "ey": 304, "y ": 685, " he": 52, "hey": 347, "ey ": 305, " hey": 54, "hey ": 348, "l": 397, "o": 481, "el": 265, "ll": 416, "lo": 422, "o ": 482, "hel": 343, "ell": 269, "llo": 418, "lo ": 423, " hel": 53, "hell": 344, "ello": 271, "llo ": 419, "i": 361, "hi": 349, "i ": 362, " hi": 55, "hi ": 350, " hi ": 56, "t": 610, "r": 544, " t": 116, "th": 621, "er": 282, "re": 546, "e ": 247, " th": 120, "the": 624, "her": 345, "ere": 284, "re ": 547, " the": 122, "ther": 626, "here": 346, "ere ": 285, "g": 319, "d": 216, " g": 42, "go": 324, "oo": 505, "od": 483, "d ": 217, " go": 43, "goo": 328, "ood": 506, "od ": 484, " goo": 46, "good": 329, "ood ": 507, "m": 426, "n": 446, " m": 75, "mo": 439, "or": 513, "rn": 567, "ni": 463, "in": 375, "ng": 458, "g ": 320, " mo": 77, "mor": 442, "orn": 516, "rni": 568, "nin": 468, "ing": 379, "ng ": 459, " mor": 79, "morn": 443, "orni": 517, "rnin": 569, "ning": 469, "ing ": 380, "v": 658, " e": 34, "ev": 297, "ve": 659, "en": 279, " ev": 35, "eve": 298, "ven": 661, "eni": 280, " eve": 36, "even": 299, "veni": 662, "enin": 281, "oi": 493, "n ": 447, "moi": 440, "oin": 494, "in ": 376, " moi": 78, "moin": 441, "oin ": 495, " l": 68, "le": 404, "et": 295, "t ": 611, " le": 71, "let": 406, "et ": 296, " let": 72, "let ": 407, "s": 585, " s": 101, "s ": 586, " s ": 102, "go ": 325, " go ": 44, "u": 636, " d": 25, "du": 243, "ud": 638, "de": 224, " du": 32, "dud": 244, "ude": 639, "de ": 225, " dud": 33, "dude": 245, "ude ": 640, "dm": 235, "odm": 489, "dmo": 236, "oodm": 510, "odmo": 490, "dmor": 237, "ode": 487, "dev": 230, "oode": 509, "odev": 488, "deve": 231, "a": 147, "f": 306, " a": 1, "af": 154, "ft": 313, "te": 615, "no": 472, "on": 501, " af": 3, "aft": 155, "fte": 314, "ter": 618, "ern": 289, "rno": 570, "noo": 474, "oon": 511, "on ": 502, " aft": 4, "afte": 156, "fter": 315, "tern": 620, "erno": 290, "rnoo": 571, "noon": 475, "oon ": 512, "c": 202, " c": 17, "cu": 214, "u ": 637, " cu": 23, "cu ": 215, " cu ": 24, "b": 191, " b": 11, "by": 198, " by": 14, "by ": 199, " by ": 15, "ce": 203, "ee": 258, " ce": 18, "cee": 205, "ee ": 259, " cee": 19, "cee ": 206, " y": 141, "yo": 690, "ou": 523, " yo": 145, "you": 691, "ou ": 524, " you": 146, "you ": 692, "la": 399, "at": 179, "r ": 545, " la": 69, "lat": 400, "ate": 181, "er ": 283, " lat": 70, "late": 401, "ater": 182, "ter ": 619, " n": 82, "ig": 369, "gh": 321, "ht": 356, " ni": 86, "nig": 466, "igh": 370, "ght": 322, "ht ": 357, " nig": 88, "nigh": 467, "ight": 371, "ght ": 323, "ye": 686, "bye": 200, "ye ": 687, " bye": 16, "bye ": 201, "db": 221, "odb": 485, "dby": 222, "oodb": 508, "odby": 486, "dbye": 223, "ha": 334, "av": 183, " ha": 50, "hav": 339, "ave": 184, "ve ": 660, " hav": 51, "have": 340, "ave ": 185, "a ": 148, " a ": 2, "ic": 366, "nic": 464, "ice": 367, "ce ": 204, " nic": 87, "nice": 465, "ice ": 368, "da": 218, "ay": 186, " da": 26, "day": 219, "ay ": 187, " day": 27, "day ": 220, "se": 596, " se": 107, "see": 598, " see": 108, "see ": 599, "ar": 172, "ro": 572, "un": 646, "nd": 448, " ar": 8, "aro": 175, "rou": 573, "oun": 525, "und": 647, "nd ": 449, " aro": 10, "arou": 176, "roun": 574, "ound": 526, "und ": 648, "es": 293, " ye": 143, "yes": 688, "es ": 294, " yes": 144, "yes ": 689, " y ": 142, " i": 61, "ed": 256, " in": 63, "ind": 377, "nde": 450, "dee": 226, "eed": 260, "ed ": 257, " ind": 64, "inde": 378, "ndee": 451, "deed": 227, "eed ": 261, " o": 92, "of": 491, "f ": 307, " of": 93, "of ": 492, " of ": 94, "co": 207, "ur": 655, "rs": 580, " co": 20, "cou": 210, "our": 527, "urs": 656, "rse": 581, "se ": 597, " cou": 22, "cour": 211, "ours": 528, "urse": 657, "rse ": 582, "tha": 622, "hat": 337, "at ": 180, " tha": 121, "that": 623, "hat ": 338, "so": 600, "ds": 241, " so": 109, "sou": 602, "nds": 453, "ds ": 242, " sou": 111, "soun": 603, "unds": 649, "nds ": 454, "rr": 575, "ec": 253, "ct": 212, "cor": 208, "orr": 518, "rre": 576, "rec": 551, "ect": 254, "ct ": 213, " cor": 21, "corr": 209, "orre": 519, "rrec": 577, "rect": 552, "ect ": 255, " no": 89, "no ": 473, " no ": 90, " n ": 83, "ne": 455, " ne": 84, "nev": 456, "ver": 663, " nev": 85, "neve": 457, "ever": 300, "ver ": 664, " i ": 62, "do": 238, " do": 30, "don": 239, " don": 31, "don ": 240, " t ": 117, "k": 388, "nk": 470, "k ": 389, "thi": 627, "hin": 351, "ink": 381, "nk ": 471, " thi": 123, "thin": 628, "hink": 352, "ink ": 382, "so ": 601, " so ": 110, "li": 408, "ik": 372, "ke": 390, " li": 73, "lik": 409, "ike": 373, "ke ": 391, " lik": 74, "like": 410, "ike ": 374, "w": 666, " w": 132, "wa": 667, " wa": 133, "way": 670, " way": 135, "way ": 671, "ot": 521, "not": 476, "ot ": 522, " not": 91, "not ": 477, " r": 98, "ea": 248, "al": 157, "ly": 424, " re": 99, "rea": 548, "eal": 249, "all": 160, "lly": 420, "ly ": 425, " rea": 100, "real": 549, "eall": 250, "ally": 161, "lly ": 421, "p": 529, " p": 95, "pe": 530, "rf": 556, "fe": 308, " pe": 96, "per": 531, "erf": 286, "rfe": 557, "fec": 309, " per": 97, "perf": 533, "erfe": 287, "rfec": 558, "fect": 310, "gr": 330, " gr": 47, "gre": 331, "eat": 251, " gre": 48, "grea": 332, "reat": 550, "eat ": 252, "z": 693, "am": 162, "ma": 428, "az": 188, "zi": 694, " am": 5, "ama": 164, "maz": 431, "azi": 189, "zin": 695, " ama": 7, "amaz": 165, "mazi": 432, "azin": 190, "zing": 696, " f": 39, " fe": 40, "fee": 311, "eel": 262, "eli": 267, "lin": 411, " fee": 41, "feel": 312, "eeli": 264, "elin": 268, "ling": 412, " k": 65, "ki": 394, " ki": 66, "kin": 395, " kin": 67, "king": 396, "wo": 675, "fu": 316, "ul": 641, "l ": 398, " wo": 138, "won": 676, "ond": 503, "der": 228, "rfu": 559, "ful": 317, "ul ": 642, " won": 139, "wond": 677, "onde": 504, "nder": 452, "derf": 229, "erfu": 288, "rful": 560, "ful ": 318, "m ": 427, "am ": 163, " am ": 6, " v": 129, "ry": 583, " ve": 130, "ery": 291, "ry ": 584, " ver": 131, "very": 665, "ery ": 292, "goi": 326, " goi": 45, "goin": 327, "oing": 496, "to": 629, " to": 124, "to ": 630, " to ": 125, "sa": 587, " sa": 103, "sav": 594, " sav": 106, "save": 595, "he ": 342, "the ": 625, "rl": 564, "ld": 402, "wor": 678, "orl": 514, "rld": 565, "ld ": 403, " wor": 140, "worl": 679, "orld": 515, "rld ": 566, "su": 607, "up": 652, " su": 114, "sup": 608, "upe": 653, " sup": 115, "supe": 609, "uper": 654, "per ": 532, "st": 604, "ok": 498, " st": 112, "sto": 605, "tok": 631, "oke": 499, "ked": 392, " sto": 113, "stok": 606, "toke": 632, "oked": 500, "ked ": 393, "x": 680, "ex": 301, "xt": 681, "tr": 633, "em": 274, "me": 433, " ex": 37, "ext": 302, "xtr": 682, "tre": 634, "rem": 553, "eme": 275, "mel": 434, "ely": 272, " ext": 38, "extr": 303, "xtre": 683, "trem": 635, "reme": 554, "emel": 276, "mely": 435, "ely ": 273, "my": 444, " my": 80, "my ": 445, " my ": 81, "as": 177, "was": 668, "as ": 178, " was": 134, "was ": 669, "ho": 353, "ri": 561, "ib": 363, "bl": 192, " ho": 57, "hor": 354, "rri": 578, "rib": 562, "ibl": 364, "ble": 193, "le ": 405, " hor": 58, "horr": 355, "orri": 520, "rrib": 579, "ribl": 563, "ible": 365, "ble ": 194, "ad": 152, "sad": 590, "ad ": 153, " sad": 105, "sad ": 591, "el ": 266, "eel ": 263, "we": 672, " we": 136, "wel": 673, "ll ": 417, " wel": 137, "well": 674, "ell ": 270, "di": 232, "is": 385, "ap": 168, "pp": 537, "po": 534, "nt": 478, " di": 28, "dis": 233, "isa": 386, "sap": 592, "app": 169, "ppo": 538, "poi": 535, "int": 383, "nte": 479, "ted": 616, " dis": 29, "disa": 234, "isap": 387, "sapp": 593, "appo": 170, "ppoi": 539, "poin": 536, "oint": 497, "inte": 384, "nted": 480, "ted ": 617, " m ": 76, " u": 126, "nh": 460, "py": 542, " un": 127, "unh": 650, "nha": 461, "hap": 335, "ppy": 540, "py ": 543, " unh": 128, "unha": 651, "nhap": 462, "happ": 336, "appy": 171, "ppy ": 541, "ml": 436, "eml": 277, "mly": 437, "reml": 555, "emly": 278, "mly ": 438, "aa": 149, "saa": 588, "aad": 150, " saa": 104, "saad": 589, "aad ": 151, "are": 173, " are": 9, "are ": 174, "bo": 195, " bo": 12, "bot": 196, " bot": 13, "bot ": 197, "hu": 358, "um": 643, "an": 166, " hu": 59, "hum": 359, "uma": 644, "man": 429, "an ": 167, " hum": 60, "huma": 360, "uman": 645, "man ": 430, "ta": 612, "lk": 413, " ta": 118, "tal": 613, "alk": 158, "lki": 414, " tal": 119, "talk": 614, "alki": 159, "lkin": 415}, "response": null, "action_text": null} \ No newline at end of file diff --git a/.rasa/cache/tmpgvlyqvty/patterns.pkl b/.rasa/cache/tmpgvlyqvty/patterns.pkl deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpgvlyqvty/patterns.pkl +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpmipmm27_/oov_words.json b/.rasa/cache/tmpmipmm27_/oov_words.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpmipmm27_/oov_words.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpmipmm27_/vocabularies.pkl b/.rasa/cache/tmpmipmm27_/vocabularies.pkl deleted file mode 100644 index 303261cc87e5aaa40a9989962ec0a832d93d3270..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpmipmm27_/vocabularies.pkl +++ /dev/null @@ -1 +0,0 @@ -{"text": {"hey": 31, "hello": 30, "hi": 32, "there": 67, "good": 24, "morning": 43, "evening": 17, "moin": 42, "let": 39, "s": 54, "go": 22, "dude": 16, "goodmorning": 27, "goodevening": 26, "afternoon": 1, "cu": 12, "by": 7, "cee": 9, "you": 79, "later": 38, "night": 48, "bye": 8, "goodbye": 25, "have": 29, "a": 0, "nice": 47, "day": 13, "see": 58, "around": 5, "yes": 78, "y": 77, "indeed": 36, "of": 51, "course": 11, "that": 65, "sounds": 60, "correct": 10, "no": 49, "n": 45, "never": 46, "i": 35, "don": 15, "t": 63, "think": 68, "so": 59, "like": 40, "way": 73, "not": 50, "really": 53, "perfect": 52, "great": 28, "amazing": 3, "feeling": 21, "king": 37, "wonderful": 75, "am": 2, "very": 71, "going": 23, "to": 69, "save": 57, "the": 66, "world": 76, "super": 62, "stoked": 61, "extremely": 18, "my": 44, "was": 72, "horrible": 33, "sad": 56, "feel": 20, "well": 74, "disappointed": 14, "m": 41, "unhappy": 70, "extremly": 19, "saad": 55, "are": 4, "bot": 6, "human": 34, "talking": 64}, "intent": {"greet": 4, "goodbye": 3, "affirm": 0, "deny": 2, "mood_great": 5, "mood_unhappy": 6, "bot_challenge": 1}, "response": null, "action_name": {"action_listen": 6, "action_restart": 7, "action_session_start": 9, "action_default_fallback": 4, "action_deactivate_loop": 1, "action_revert_fallback_events": 8, "action_default_ask_affirmation": 2, "action_default_ask_rephrase": 3, "action_two_stage_fallback": 10, "action_unlikely_intent": 11, "action_back": 0, "action_extract_slots": 5, "utter_cheer_up": 12, "utter_did_that_help": 13, "utter_goodbye": 14, "utter_greet": 15, "utter_happy": 16, "utter_iamabot": 17}, "action_text": null, "intent_response_key": null} \ No newline at end of file diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.data_example.pkl b/.rasa/cache/tmponm58ez2/DIETClassifier.data_example.pkl deleted file mode 100644 index f837fe9898ea65582b812751ef511932c027f879..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmponm58ez2/DIETClassifier.data_example.pkl and /dev/null differ diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.entity_tag_specs.json b/.rasa/cache/tmponm58ez2/DIETClassifier.entity_tag_specs.json deleted file mode 100644 index ab67d13bb5b9cdb34e10fb23c98ec13272412f9c..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmponm58ez2/DIETClassifier.entity_tag_specs.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "tag_name": "entity", - "ids_to_tags": { - "1": "B-cuisine_type", - "2": "I-cuisine_type", - "3": "L-cuisine_type", - "4": "U-cuisine_type", - "5": "B-dish_name", - "6": "I-dish_name", - "7": "L-dish_name", - "8": "U-dish_name", - "0": "O" - }, - "tags_to_ids": { - "B-cuisine_type": 1, - "I-cuisine_type": 2, - "L-cuisine_type": 3, - "U-cuisine_type": 4, - "B-dish_name": 5, - "I-dish_name": 6, - "L-dish_name": 7, - "U-dish_name": 8, - "O": 0 - }, - "num_tags": 9 - } -] \ No newline at end of file diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.index_label_id_mapping.json b/.rasa/cache/tmponm58ez2/DIETClassifier.index_label_id_mapping.json deleted file mode 100644 index 4a410c964baa7e4fa8ff47d0b0a31b89f2900ca8..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmponm58ez2/DIETClassifier.index_label_id_mapping.json +++ /dev/null @@ -1 +0,0 @@ -{"0": "affirm", "1": "ask_cuisine_recommendation", "2": "ask_dish_recommendation", "3": "ask_recipe_steps", "4": "deny", "5": "goodbye", "6": "greet", "7": "thanks"} \ No newline at end of file diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.label_data.pkl b/.rasa/cache/tmponm58ez2/DIETClassifier.label_data.pkl deleted file mode 100644 index 8e6d6423b81039f743402f4b522d9afba4c7064e..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmponm58ez2/DIETClassifier.label_data.pkl and /dev/null differ diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.sparse_feature_sizes.pkl b/.rasa/cache/tmponm58ez2/DIETClassifier.sparse_feature_sizes.pkl deleted file mode 100644 index 623626d118b6b316acd14109585963152e2c5e59..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmponm58ez2/DIETClassifier.sparse_feature_sizes.pkl and /dev/null differ diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.tf_model.data-00000-of-00001 b/.rasa/cache/tmponm58ez2/DIETClassifier.tf_model.data-00000-of-00001 deleted file mode 100644 index fe886548f7acf668de7662c093ff4518a84782c2..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmponm58ez2/DIETClassifier.tf_model.data-00000-of-00001 and /dev/null differ diff --git a/.rasa/cache/tmponm58ez2/DIETClassifier.tf_model.index b/.rasa/cache/tmponm58ez2/DIETClassifier.tf_model.index deleted file mode 100644 index 63e49984daf00ab159f7d8c96fbc84ff63a88e67..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmponm58ez2/DIETClassifier.tf_model.index and /dev/null differ diff --git a/.rasa/cache/tmponm58ez2/checkpoint b/.rasa/cache/tmponm58ez2/checkpoint deleted file mode 100644 index 57d6cf21870e89fd4dc3d8a44b942541895cffe3..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmponm58ez2/checkpoint +++ /dev/null @@ -1,2 +0,0 @@ -model_checkpoint_path: "DIETClassifier.tf_model" -all_model_checkpoint_paths: "DIETClassifier.tf_model" diff --git a/.rasa/cache/tmpq87__wx4/featurizer.json b/.rasa/cache/tmpq87__wx4/featurizer.json deleted file mode 100644 index 44f695786b3a80544fa92f7ef6e960b024c0aa11..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpq87__wx4/featurizer.json +++ /dev/null @@ -1 +0,0 @@ -{"py/object": "rasa.core.featurizers.tracker_featurizers.MaxHistoryTrackerFeaturizer", "state_featurizer": null, "max_history": null, "remove_duplicates": true} \ No newline at end of file diff --git a/.rasa/cache/tmpq87__wx4/memorized_turns.json b/.rasa/cache/tmpq87__wx4/memorized_turns.json deleted file mode 100644 index e8c13b3bae564b3c8c88f6719f9856a299f30d1d..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpq87__wx4/memorized_turns.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "lookup": { - "eJyLrq6NBQAEOAGx": "action_listen", - "eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taS2NhYA6dwbhQ==": "utter_greet", - "eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpbhMiAUAQvc0lw==": "action_listen", - "eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpeSZQMAVufn5KSDzE4EGxQIAPEFQdQ==": "utter_happy", - "eJyLrq7VUaguKEoti09MLsnMz7NSqIYw4vMSc1OtFKCcnMziktQ8oNrS4tQioJrMPCC3xEohvSg1taSWgBmlJSWpRfEQpeSZQMAVufn5KSDzE4l0SkZiQUElfmNiAVKZa5w=": "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", - "eJytj1EKwyAQRK/iAXoCr1LCInGIQrKKWQNFvHsX7L+h7c8yA4/H7LP1h2m54CK3SkxsTRuB2B2w5lP2eApY2XqiKBNZq1izFUD6xFFFUGig3xkmK46UPFUOLufXvTFrgN6a/+Hy0ZMEJxSw/yic/OnBqlje0A2nVg==": "utter_goodbye", - "eJytj9EJwzAMRFfxAJ3Aq4Qg3PiIDYlsHLkQTHavIP0NDm1/hA6Op6ehHQ/TcsGL3CQxsTXtXIjdCms+YYmbgLVbNxTtRNYo1swFkKPDqCIodFa/I3Qs1pQ8VQ4u5/2ezBSgs+Z/sHz0JMEJBSw/Ajt/evBNp1mPPndcIcY3+fTA0w==": "action_listen" - } -} \ No newline at end of file diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.data_example.pkl b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.data_example.pkl deleted file mode 100644 index 003214858cde49fbb726d5a5ad31e4cc277600eb..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.data_example.pkl and /dev/null differ diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.entity_tag_specs.json b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.entity_tag_specs.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.entity_tag_specs.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.index_label_id_mapping.json b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.index_label_id_mapping.json deleted file mode 100644 index c3099befd4a431dec71ba516c5eaf0f48319a949..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.index_label_id_mapping.json +++ /dev/null @@ -1 +0,0 @@ -{"0": "affirm", "1": "bot_challenge", "2": "deny", "3": "goodbye", "4": "greet", "5": "mood_great", "6": "mood_unhappy"} \ No newline at end of file diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.label_data.pkl b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.label_data.pkl deleted file mode 100644 index 1a1b0079aa5e574b800d30dfe14a8364a86ea0bc..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.label_data.pkl and /dev/null differ diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.sparse_feature_sizes.pkl b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.sparse_feature_sizes.pkl deleted file mode 100644 index fbf253bb13b703ad452a98ad217eb78b0dc7a21e..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.sparse_feature_sizes.pkl and /dev/null differ diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.tf_model.data-00000-of-00001 b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.tf_model.data-00000-of-00001 deleted file mode 100644 index 479cc2ef3ada513421167bfc94e017eedd5def4d..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.tf_model.data-00000-of-00001 and /dev/null differ diff --git a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.tf_model.index b/.rasa/cache/tmpqaeh0m0h/DIETClassifier.tf_model.index deleted file mode 100644 index bbd19ac317be5586179edcee7dcc6b469d88520f..0000000000000000000000000000000000000000 Binary files a/.rasa/cache/tmpqaeh0m0h/DIETClassifier.tf_model.index and /dev/null differ diff --git a/.rasa/cache/tmpqaeh0m0h/checkpoint b/.rasa/cache/tmpqaeh0m0h/checkpoint deleted file mode 100644 index 57d6cf21870e89fd4dc3d8a44b942541895cffe3..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpqaeh0m0h/checkpoint +++ /dev/null @@ -1,2 +0,0 @@ -model_checkpoint_path: "DIETClassifier.tf_model" -all_model_checkpoint_paths: "DIETClassifier.tf_model" diff --git a/.rasa/cache/tmpqiyerdfm/oov_words.json b/.rasa/cache/tmpqiyerdfm/oov_words.json deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpqiyerdfm/oov_words.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/.rasa/cache/tmpqiyerdfm/vocabularies.pkl b/.rasa/cache/tmpqiyerdfm/vocabularies.pkl deleted file mode 100644 index 2049fa0408514cc79861fb3fea8f53419fb6a3d7..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpqiyerdfm/vocabularies.pkl +++ /dev/null @@ -1 +0,0 @@ -{"text": {"hi": 20, "hello": 18, "hey": 19, "there": 53, "can": 6, "you": 58, "recommend": 40, "a": 0, "cuisine": 10, "what": 56, "should": 42, "i": 22, "cook": 8, "today": 55, "suggest": 45, "for": 14, "dinner": 11, "from": 15, "italian": 24, "me": 28, "dish": 12, "chinese": 7, "mexican": 29, "thai": 49, "spanish": 43, "greek": 17, "how": 21, "do": 13, "make": 27, "pizza": 36, "are": 3, "the": 52, "steps": 44, "to": 54, "sushi": 47, "tell": 48, "prepare": 37, "pho": 35, "need": 30, "recipe": 39, "biryani": 4, "pad": 34, "goodbye": 16, "bye": 5, "see": 41, "later": 25, "thanks": 51, "thank": 50, "lot": 26, "appreciate": 2, "it": 23, "yes": 57, "sure": 46, "absolutely": 1, "of": 33, "course": 9, "no": 31, "not": 32, "really": 38}, "intent": {"greet": 7, "ask_cuisine_recommendation": 1, "ask_dish_recommendation": 2, "ask_recipe_steps": 3, "goodbye": 6, "thanks": 8, "affirm": 0, "deny": 5, "bot_challenge": 4}, "response": null, "action_name": {"action_listen": 6, "action_restart": 10, "action_session_start": 12, "action_default_fallback": 4, "action_deactivate_loop": 1, "action_revert_fallback_events": 11, "action_default_ask_affirmation": 2, "action_default_ask_rephrase": 3, "action_two_stage_fallback": 13, "action_unlikely_intent": 14, "action_back": 0, "action_extract_slots": 5, "action_provide_recipe_steps": 7, "action_recommend_cuisine": 8, "action_recommend_dish": 9, "utter_affirm": 15, "utter_deny": 16, "utter_goodbye": 17, "utter_greet": 18, "utter_iamabot": 19, "utter_thanks": 20}, "action_text": null, "intent_response_key": null} \ No newline at end of file diff --git a/.rasa/cache/tmpyy7h_ofq/patterns.pkl b/.rasa/cache/tmpyy7h_ofq/patterns.pkl deleted file mode 100644 index 0637a088a01e8ddab3bf3fa98dbe804cbde1a0dc..0000000000000000000000000000000000000000 --- a/.rasa/cache/tmpyy7h_ofq/patterns.pkl +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/actions/__pycache__/actions.cpython-310.pyc b/actions/__pycache__/actions.cpython-310.pyc index e8c5ecbabb451fcf537373ee166a2145427c5d13..084c09ec69a370ce3646ba714c53704bac229203 100644 Binary files a/actions/__pycache__/actions.cpython-310.pyc and b/actions/__pycache__/actions.cpython-310.pyc differ diff --git a/actions/actions.py b/actions/actions.py index be1004efe8b069842d68aac8f0d9753cca4317dd..e91fcb79a90f4210f1585bc7907434508dfc5ac3 100644 --- a/actions/actions.py +++ b/actions/actions.py @@ -3,6 +3,7 @@ import random from typing import Any, Text, Dict, List from rasa_sdk import Action, Tracker from rasa_sdk.executor import CollectingDispatcher +from rasa_sdk.events import SlotSet SPOONACULAR_API_KEY = '36b6547760d34f6c8f49c0b838f884ae' @@ -61,14 +62,17 @@ class ActionProvideRecipeSteps(Action): tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: + # Get the dish name from the slot dish = tracker.get_slot('dish_name') if not dish: dispatcher.utter_message(text="Sorry, I didn't get the dish name. Could you please repeat?") return [] - dish = dish.title() # Normalize case + # Normalize the dish name case + dish = dish.title() + # Fetch the recipe details from Spoonacular API based on the dish name url = f"https://api.spoonacular.com/recipes/complexSearch?query={dish}&apiKey={SPOONACULAR_API_KEY}&number=1" response = requests.get(url) @@ -82,9 +86,11 @@ class ActionProvideRecipeSteps(Action): if recipe_response.status_code == 200: recipe_data = recipe_response.json() if recipe_data and len(recipe_data) > 0 and 'steps' in recipe_data[0]: - steps = [step['step'] for step in recipe_data[0]['steps']] - steps_text = " ".join([f"{i+1}. {step}" for i, step in enumerate(steps)]) - dispatcher.utter_message(text=f"Here are the steps to make {dish}: {steps_text}") + # Extract and send each step individually + steps = recipe_data[0]['steps'] + dispatcher.utter_message(text=f"Here are the steps to make {dish}:") + for step in steps: + dispatcher.utter_message(text=f"{step['number']}. {step['step']}") else: dispatcher.utter_message(text=f"Sorry, I couldn't find the steps for {dish}.") else: @@ -96,6 +102,7 @@ class ActionProvideRecipeSteps(Action): return [] + class ActionShowPicture(Action): def name(self) -> Text: return "action_show_picture" @@ -287,3 +294,42 @@ class ActionRelatedRecipes(Action): dispatcher.utter_message(text="Sorry, I couldn't connect to the related recipes service at the moment.") return [] + + class ActionRandomRecipe(Action): + def name(self) -> Text: + return "action_recommend_random_dish" + + def run(self, dispatcher: CollectingDispatcher, + tracker: Tracker, + domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: + + # Fetch a random recipe from Spoonacular API + url = f"https://api.spoonacular.com/recipes/random?apiKey={SPOONACULAR_API_KEY}&number=1" + response = requests.get(url) + + if response.status_code == 200: + data = response.json() + if data['recipes']: + recipe_data = data['recipes'][0] # Access the first (and only) recipe + title = recipe_data['title'] + analyzed_instructions = recipe_data.get('analyzedInstructions', []) + + if analyzed_instructions: + # Extract and send each step individually + steps = analyzed_instructions[0].get('steps', []) + dispatcher.utter_message(text=f"Here are the steps to make {title}:") + for step in steps: + dispatcher.utter_message(text=f"{step['number']}. {step['step']}") + # Set the dish name slot + return [SlotSet("dish_name", title)] + else: + dispatcher.utter_message(text=f"Sorry, I couldn't find the steps for {title}.") + else: + dispatcher.utter_message(text="Sorry, I couldn't find a recipe.") + else: + dispatcher.utter_message(text="Sorry, I couldn't connect to the recipe service at the moment.") + + return [] + + + diff --git a/data/nlu.yml b/data/nlu.yml index 75b3e67f61ebe609ec38ab7742c38953196a5941..07e82066ad513475522b437f4cf47a604e531c70 100644 --- a/data/nlu.yml +++ b/data/nlu.yml @@ -133,8 +133,7 @@ nlu: - How to make [Pork Fried Rice](dish_name)? - How to make [mango fried rice](dish_name)? - How do i make [Mushroom Hummus Crostini](dish_name)? - - How do I make Salmon [Quinoa](dish_name) [Risotto](dish_name)?[]{"entity": "dish_name", "value": "Salmon Quinoa Risotto"} - - How do i make Roma Tomato [Bruschetta](dish_name)?[]{"entity": "dish_name", "value": "Roma Tomato Bruschetta"} + - How do i make [Roma Tomato Bruschetta](dish_name)? - intent: ask_nutrition_analysis examples: | - What's the nutritional information for [Pizza](dish_name)? @@ -219,6 +218,16 @@ nlu: - I want to see [Soup](dish_name) - Can I see photos of [Pasta](dish_name)? - Do you have images of [Steak](dish_name)? + +- intent: ask_random_recipe + examples: | + - give me a random recipe + - give me anything + - do a random recipe + - ill try anything + - any recipe will do + - give me any recipe + - intent: goodbye examples: | - Goodbye diff --git a/data/stories.yml b/data/stories.yml index c0bd08be560d3d43faf3e00200403b8bd7f698bc..f74e0973e19a66d19b9b61041063faaebd6aac15 100644 --- a/data/stories.yml +++ b/data/stories.yml @@ -23,6 +23,11 @@ stories: - cuisine_type: "Thai" - action: action_recommend_dish +- story: random dish + steps: + - intent: ask_random_recipe + - action: action_recommend_random_dish + - story: provide recipe steps steps: - intent: ask_recipe_steps diff --git a/domain.yml b/domain.yml index 6c535230ae7b2763b18c26b55b4af651640868ce..ebc2275e13d3a202ad48b4ea48cf08abd0c5ef24 100644 --- a/domain.yml +++ b/domain.yml @@ -10,6 +10,7 @@ intents: - ask_recipe_steps - ask_related_recipes - ask_show_picture +- ask_random_recipe - deny - goodbye - greet @@ -45,6 +46,7 @@ actions: - action_cost_breakdown - action_cooking_tips - action_related_recipes +- action_recommend_random_dish responses: utter_greet: - text: Hello! How can I assist you today? diff --git a/story_graph.dot b/story_graph.dot index e3102238076ea2fd0c02ee7d64f5fbe5dc1430d4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/story_graph.dot +++ b/story_graph.dot @@ -1,42 +0,0 @@ -digraph { -0 [class="start active", fillcolor=green, fontsize=12, label=START, style=filled]; -"-1" [class=end, fillcolor=red, fontsize=12, label=END, style=filled]; -1 [class=active, fontsize=12, label=action_session_start]; -2 [class=active, fontsize=12, label=utter_greet]; -3 [class=active, fontsize=12, label=utter_capability]; -4 [class=active, fontsize=12, label=utter_capability2]; -5 [class=active, fontsize=12, label=action_recommend_cuisine]; -6 [class=active, fontsize=12, label=action_recommend_dish]; -7 [class=active, fontsize=12, label=action_provide_recipe_steps]; -9 [class=active, fontsize=12, label=utter_thanks]; -10 [class=active, fontsize=12, label=utter_goodbye]; -11 [class="intent dashed active", label=" ? ", shape=rect]; -12 [class="intent active", fillcolor=lightblue, label="/greet", shape=rect, style=filled]; -13 [class="intent active", fillcolor=lightblue, label="/ask_capability", shape=rect, style=filled]; -14 [class="intent active", fillcolor=lightblue, label="/ask_cuisine_recommendation", shape=rect, style=filled]; -15 [class="intent active", fillcolor=lightblue, label="/ask_dish_recommendation", shape=rect, style=filled]; -16 [class="intent active", fillcolor=lightblue, label="/ask_recipe_steps", shape=rect, style=filled]; -17 [class="intent active", fillcolor=lightblue, label="/thanks", shape=rect, style=filled]; -18 [class="intent active", fillcolor=lightblue, label="/ask_recipe_steps", shape=rect, style=filled]; -19 [class="intent active", fillcolor=lightblue, label="/goodbye", shape=rect, style=filled]; -0 -> "-1" [class="", key=NONE, label=""]; -0 -> 1 [class=active, key=NONE, label=""]; -1 -> 12 [class=active, key=0]; -2 -> 13 [class=active, key=0]; -3 -> 4 [class=active, key=NONE, label=""]; -4 -> 14 [class=active, key=0]; -5 -> 15 [class=active, key=0]; -6 -> 16 [class=active, key=0]; -7 -> 17 [class=active, key=0]; -7 -> 18 [class=active, key=0]; -9 -> 19 [class=active, key=0]; -10 -> 11 [class=active, key=NONE, label=""]; -12 -> 2 [class=active, key=0]; -13 -> 3 [class=active, key=0]; -14 -> 5 [class=active, key=0]; -15 -> 6 [class=active, key=0]; -16 -> 7 [class=active, key=0]; -17 -> 9 [class=active, key=0]; -18 -> 7 [class=active, key=0]; -19 -> 10 [class=active, key=0]; -} diff --git a/templates/index.html b/templates/index.html index be5328f1a46e84834a25e67f6f2f8a3b3a11c8d4..9f5d09053bde262403cfeee8ad1c6b9e4c0c76f9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -87,7 +87,8 @@ margin: 0 10px; } </style> -</head><body> +</head> +<body> <div id="chat-container"> <div id="header">Chatbot</div> <div id="chat-box"></div> @@ -103,6 +104,9 @@ </div> <script> + let messageQueue = []; + let isTyping = false; + function sendMessage() { const userInput = document.getElementById('user-input').value; if (userInput.trim() === "") return; @@ -132,24 +136,48 @@ .then(response => response.json()) .then(data => { data.forEach(response => { - if (response.type === 'text') { - const botMessage = document.createElement('div'); - botMessage.classList.add('message', 'bot-message'); - botMessage.innerText = response.content; - chatBox.appendChild(botMessage); - } else if (response.type === 'image') { - const botImage = document.createElement('div'); - botImage.classList.add('bot-image'); - const imageElement = document.createElement('img'); - imageElement.src = response.content; - botImage.appendChild(imageElement); - chatBox.appendChild(botImage); - } - chatBox.scrollTop = chatBox.scrollHeight; + messageQueue.push(response); }); + processQueue(); }); } + function typeMessage(element, message, index = 0) { + const chatBox = document.getElementById('chat-box'); + if (index < message.length) { + element.innerHTML += message.charAt(index); + chatBox.scrollTop = chatBox.scrollHeight; // Scroll chat box to bottom + setTimeout(() => typeMessage(element, message, index + 1), 25); // Increase speed by reducing delay + } else { + isTyping = false; + processQueue(); + } + } + + function processQueue() { + if (messageQueue.length > 0 && !isTyping) { + isTyping = true; + const response = messageQueue.shift(); + const chatBox = document.getElementById('chat-box'); + if (response.type === 'text') { + const botMessage = document.createElement('div'); + botMessage.classList.add('message', 'bot-message'); + chatBox.appendChild(botMessage); + typeMessage(botMessage, response.content); + } else if (response.type === 'image') { + const botImage = document.createElement('div'); + botImage.classList.add('bot-image'); + const imageElement = document.createElement('img'); + imageElement.src = response.content; + botImage.appendChild(imageElement); + chatBox.appendChild(botImage); + isTyping = false; + processQueue(); + } + chatBox.scrollTop = chatBox.scrollHeight; + } + } + document.getElementById('user-input').addEventListener('keypress', function (e) { if (e.key === 'Enter') { sendMessage();