diff --git a/.env b/.env index c6293640..62baebeb 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -RASA_PRO_LICENSE='your_rasa_pro_license_key_here' +RASA_PRO_LICENSE='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI1M2M1Zjg3MC1hZjJmLTQ2NTEtODg2MC00OTM4MDQzYzhkZDMiLCJpYXQiOjE3NDE0NzQ1NjYsIm5iZiI6MTc0MTQ3NDU2NSwic2NvcGUiOiJyYXNhOnBybyByYXNhOnBybzpjaGFtcGlvbiByYXNhOnZvaWNlIiwiZXhwIjoxODM2MTY4OTY1LCJlbWFpbCI6InJvYW1zYWxlaEBnbWFpbC5jb20iLCJjb21wYW55IjoiUmFzYSBDaGFtcGlvbnMifQ.X35Juum3pTL5VxVjic60VUFckigTeSf-zUho2nMQwfpWwImDdg143rvc3W_CHQwIqMNoQcuP-JVml9lwH-AZJCeplQLBiTei-iBTgCVsFU2r93OVkG0u_QKLdBOiU7PDC0zSRkIqKjxjhgcUHR9t5T8TZmZIT7iqjFuEN-z1J77EKQ-eHPjO_EfNGNn_OprgUq9xCkvI8seRlUlD0zG__K4QSSgp4aedDjU-qEeCgvQTi3aQDE4PnciZ4OJmHc_C3eXdW8NyYyXCBWLmLiWAwdf6SSRPnqNQ_-gYH6Efzs6XNQZQmj-xlTJUSFEhkSxjtoRUOUkadhDDFq-2U3GA4w' diff --git a/.rasa/cache/cache.db b/.rasa/cache/cache.db new file mode 100644 index 00000000..e9467b73 Binary files /dev/null and b/.rasa/cache/cache.db differ diff --git a/.rasa/cache/rasa-llm-cache/cache.db b/.rasa/cache/rasa-llm-cache/cache.db new file mode 100644 index 00000000..9c7b9f4c Binary files /dev/null and b/.rasa/cache/rasa-llm-cache/cache.db differ diff --git a/.rasa/cache/rasa-llm-cache/cache.db-shm b/.rasa/cache/rasa-llm-cache/cache.db-shm new file mode 100644 index 00000000..f2391a0e Binary files /dev/null and b/.rasa/cache/rasa-llm-cache/cache.db-shm differ diff --git a/.rasa/cache/rasa-llm-cache/cache.db-wal b/.rasa/cache/rasa-llm-cache/cache.db-wal new file mode 100644 index 00000000..4cc3d9bd Binary files /dev/null and b/.rasa/cache/rasa-llm-cache/cache.db-wal differ diff --git a/.rasa/cache/tmp2ys1xrrg/command_prompt.jinja2 b/.rasa/cache/tmp2ys1xrrg/command_prompt.jinja2 new file mode 100644 index 00000000..673fcae2 --- /dev/null +++ b/.rasa/cache/tmp2ys1xrrg/command_prompt.jinja2 @@ -0,0 +1,60 @@ +Your task is to analyze the current conversation context and generate a list of actions to start new business processes that we call flows, to extract slots, or respond to small talk and knowledge requests. + +These are the flows that can be started, with their description and slots: +{% for flow in available_flows %} +{{ flow.name }}: {{ flow.description }} + {% for slot in flow.slots -%} + slot: {{ slot.name }}{% if slot.description %} ({{ slot.description }}){% endif %}{% if slot.allowed_values %}, allowed values: {{ slot.allowed_values }}{% endif %} + {% endfor %} +{%- endfor %} + +=== +Here is what happened previously in the conversation: +{{ current_conversation }} + +=== +{% if current_flow != None %} +You are currently in the flow "{{ current_flow }}". +You have just asked the user for the slot "{{ current_slot }}"{% if current_slot_description %} ({{ current_slot_description }}){% endif %}. + +{% if flow_slots|length > 0 %} +Here are the slots of the currently active flow: +{% for slot in flow_slots -%} +- name: {{ slot.name }}, value: {{ slot.value }}, type: {{ slot.type }}, description: {{ slot.description}}{% if slot.allowed_values %}, allowed values: {{ slot.allowed_values }}{% endif %} +{% endfor %} +{% endif %} +{% else %} +You are currently not in any flow and so there are no active slots. +This means you can only set a slot if you first start a flow that requires that slot. +{% endif %} +If you start a flow, first start the flow and then optionally fill that flow's slots with information the user provided in their message. + +The user just said """{{ user_message }}""". + +=== +Based on this information generate a list of actions you want to take. Your job is to start flows and to fill slots where appropriate. Any logic of what happens afterwards is handled by the flow engine. These are your available actions: +* Slot setting, described by "SetSlot(slot_name, slot_value)". An example would be "SetSlot(recipient, Freddy)" +* Starting another flow, described by "StartFlow(flow_name)". An example would be "StartFlow(transfer_money)" +* Cancelling the current flow, described by "CancelFlow()" +* Clarifying which flow should be started. An example would be Clarify(list_contacts, add_contact, remove_contact) if the user just wrote "contacts" and there are multiple potential candidates. It also works with a single flow name to confirm you understood correctly, as in Clarify(transfer_money). +* Intercepting and handle user messages with the intent to bypass the current step in the flow, described by "SkipQuestion()". Examples of user skip phrases are: "Go to the next question", "Ask me something else". +* Responding to knowledge-oriented user messages, described by "SearchAndReply()" +* Responding to a casual, non-task-oriented user message, described by "ChitChat()". +* Handing off to a human, in case the user seems frustrated or explicitly asks to speak to one, described by "HumanHandoff()". +{% if is_repeat_command_enabled %} +* Repeat the last bot messages, described by "RepeatLastBotMessages()". This is useful when the user asks to repeat the last bot messages. +{% endif %} + +=== +Write out the actions you want to take, one per line, in the order they should take place. +Do not fill slots with abstract values or placeholders. +Only use information provided by the user. +Only start a flow if it's completely clear what the user wants. Imagine you were a person reading this message. If it's not 100% clear, clarify the next step. +Don't be overly confident. Take a conservative approach and clarify before proceeding. +If the user asks for two things which seem contradictory, clarify before starting a flow. +If it's not clear whether the user wants to skip the step or to cancel the flow, cancel the flow. +Strictly adhere to the provided action types listed above. +Focus on the last message and take it one step at a time. +Use the previous conversation steps only to aid understanding. + +Your action list: diff --git a/.rasa/cache/tmp2ys1xrrg/config.json b/.rasa/cache/tmp2ys1xrrg/config.json new file mode 100644 index 00000000..67d2459d --- /dev/null +++ b/.rasa/cache/tmp2ys1xrrg/config.json @@ -0,0 +1,25 @@ +{ + "prompt": null, + "prompt_template": null, + "user_input": null, + "llm": { + "id": "rasa_command_generation_model", + "models": [ + { + "provider": "rasa", + "model": "rasa/cmd_gen_codellama_13b_calm_demo", + "api_base": "https://tutorial-llm.rasa.ai" + } + ] + }, + "flow_retrieval": { + "embeddings": { + "provider": "openai", + "model": "text-embedding-ada-002" + }, + "num_flows": 20, + "turns_to_embed": 1, + "should_embed_slots": true, + "active": false + } +} \ No newline at end of file diff --git a/.rasa/cache/tmpa9b_8b9z/command_prompt.jinja2 b/.rasa/cache/tmpa9b_8b9z/command_prompt.jinja2 new file mode 100644 index 00000000..673fcae2 --- /dev/null +++ b/.rasa/cache/tmpa9b_8b9z/command_prompt.jinja2 @@ -0,0 +1,60 @@ +Your task is to analyze the current conversation context and generate a list of actions to start new business processes that we call flows, to extract slots, or respond to small talk and knowledge requests. + +These are the flows that can be started, with their description and slots: +{% for flow in available_flows %} +{{ flow.name }}: {{ flow.description }} + {% for slot in flow.slots -%} + slot: {{ slot.name }}{% if slot.description %} ({{ slot.description }}){% endif %}{% if slot.allowed_values %}, allowed values: {{ slot.allowed_values }}{% endif %} + {% endfor %} +{%- endfor %} + +=== +Here is what happened previously in the conversation: +{{ current_conversation }} + +=== +{% if current_flow != None %} +You are currently in the flow "{{ current_flow }}". +You have just asked the user for the slot "{{ current_slot }}"{% if current_slot_description %} ({{ current_slot_description }}){% endif %}. + +{% if flow_slots|length > 0 %} +Here are the slots of the currently active flow: +{% for slot in flow_slots -%} +- name: {{ slot.name }}, value: {{ slot.value }}, type: {{ slot.type }}, description: {{ slot.description}}{% if slot.allowed_values %}, allowed values: {{ slot.allowed_values }}{% endif %} +{% endfor %} +{% endif %} +{% else %} +You are currently not in any flow and so there are no active slots. +This means you can only set a slot if you first start a flow that requires that slot. +{% endif %} +If you start a flow, first start the flow and then optionally fill that flow's slots with information the user provided in their message. + +The user just said """{{ user_message }}""". + +=== +Based on this information generate a list of actions you want to take. Your job is to start flows and to fill slots where appropriate. Any logic of what happens afterwards is handled by the flow engine. These are your available actions: +* Slot setting, described by "SetSlot(slot_name, slot_value)". An example would be "SetSlot(recipient, Freddy)" +* Starting another flow, described by "StartFlow(flow_name)". An example would be "StartFlow(transfer_money)" +* Cancelling the current flow, described by "CancelFlow()" +* Clarifying which flow should be started. An example would be Clarify(list_contacts, add_contact, remove_contact) if the user just wrote "contacts" and there are multiple potential candidates. It also works with a single flow name to confirm you understood correctly, as in Clarify(transfer_money). +* Intercepting and handle user messages with the intent to bypass the current step in the flow, described by "SkipQuestion()". Examples of user skip phrases are: "Go to the next question", "Ask me something else". +* Responding to knowledge-oriented user messages, described by "SearchAndReply()" +* Responding to a casual, non-task-oriented user message, described by "ChitChat()". +* Handing off to a human, in case the user seems frustrated or explicitly asks to speak to one, described by "HumanHandoff()". +{% if is_repeat_command_enabled %} +* Repeat the last bot messages, described by "RepeatLastBotMessages()". This is useful when the user asks to repeat the last bot messages. +{% endif %} + +=== +Write out the actions you want to take, one per line, in the order they should take place. +Do not fill slots with abstract values or placeholders. +Only use information provided by the user. +Only start a flow if it's completely clear what the user wants. Imagine you were a person reading this message. If it's not 100% clear, clarify the next step. +Don't be overly confident. Take a conservative approach and clarify before proceeding. +If the user asks for two things which seem contradictory, clarify before starting a flow. +If it's not clear whether the user wants to skip the step or to cancel the flow, cancel the flow. +Strictly adhere to the provided action types listed above. +Focus on the last message and take it one step at a time. +Use the previous conversation steps only to aid understanding. + +Your action list: diff --git a/.rasa/cache/tmpa9b_8b9z/config.json b/.rasa/cache/tmpa9b_8b9z/config.json new file mode 100644 index 00000000..67d2459d --- /dev/null +++ b/.rasa/cache/tmpa9b_8b9z/config.json @@ -0,0 +1,25 @@ +{ + "prompt": null, + "prompt_template": null, + "user_input": null, + "llm": { + "id": "rasa_command_generation_model", + "models": [ + { + "provider": "rasa", + "model": "rasa/cmd_gen_codellama_13b_calm_demo", + "api_base": "https://tutorial-llm.rasa.ai" + } + ] + }, + "flow_retrieval": { + "embeddings": { + "provider": "openai", + "model": "text-embedding-ada-002" + }, + "num_flows": 20, + "turns_to_embed": 1, + "should_embed_slots": true, + "active": false + } +} \ No newline at end of file diff --git a/.rasa/cache/tmpcyh6tsrb/patterns.json b/.rasa/cache/tmpcyh6tsrb/patterns.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/.rasa/cache/tmpcyh6tsrb/patterns.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/checkpoint b/.rasa/cache/tmpgv4dp5n4/checkpoint new file mode 100644 index 00000000..6258cbce --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/checkpoint @@ -0,0 +1,2 @@ +model_checkpoint_path: "ted_policy.tf_model" +all_model_checkpoint_paths: "ted_policy.tf_model" diff --git a/.rasa/cache/tmpgv4dp5n4/featurizer.json b/.rasa/cache/tmpgv4dp5n4/featurizer.json new file mode 100644 index 00000000..be280eb0 --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/featurizer.json @@ -0,0 +1,112 @@ +{ + "type": "MaxHistoryTrackerFeaturizer", + "state_featurizer": { + "action_texts": [], + "entity_tag_specs": [], + "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_end": 11, + "session_start": 12, + "silence_timeout": 13 + }, + "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, + "action_send_text": 11, + "...": 12, + "action_extract_slots": 13, + "action_cancel_flow": 14, + "action_correct_flow_slot": 15, + "action_clarify_flows": 16, + "action_run_slot_rejections": 17, + "action_clean_stack": 18, + "action_trigger_search": 19, + "action_trigger_chitchat": 20, + "action_reset_routing": 21, + "action_hangup": 22, + "action_repeat_bot_messages": 23, + "flow_gift_recommendation": 24, + "flow_feedback_collection": 25, + "flow_pattern_validate_choice": 26, + "flow_pattern_validate_name": 27, + "flow_pattern_validate_phone": 28, + "flow_pattern_validate_occasion": 29, + "flow_pattern_cancel_flow": 30, + "flow_pattern_cannot_handle": 31, + "flow_pattern_chitchat": 32, + "flow_pattern_clarification": 33, + "flow_pattern_code_change": 34, + "flow_pattern_collect_information": 35, + "flow_pattern_completed": 36, + "flow_pattern_continue_interrupted": 37, + "flow_pattern_correction": 38, + "flow_pattern_human_handoff": 39, + "flow_pattern_internal_error": 40, + "flow_pattern_repeat_bot_messages": 41, + "flow_pattern_restart": 42, + "flow_pattern_search": 43, + "flow_pattern_session_start": 44, + "flow_pattern_skip_question": 45, + "flow_pattern_user_silence": 46, + "utter_ask_rephrase": 47, + "utter_ask_still_there": 48, + "utter_boolean_slot_rejection": 49, + "utter_can_do_something_else": 50, + "utter_cannot_handle": 51, + "utter_categorical_slot_rejection": 52, + "utter_cheer_up": 53, + "utter_clarification_options_rasa": 54, + "utter_corrected_previous_input": 55, + "utter_did_that_help": 56, + "utter_float_slot_rejection": 57, + "utter_flow_cancelled_rasa": 58, + "utter_flow_continue_interrupted": 59, + "utter_free_chitchat_response": 60, + "utter_goodbye": 61, + "utter_greet": 62, + "utter_happy": 63, + "utter_human_handoff_not_available": 64, + "utter_iamabot": 65, + "utter_inform_code_change": 66, + "utter_inform_hangup": 67, + "utter_internal_error_rasa": 68, + "utter_no_knowledge_base": 69, + "utter_skip_question_answer": 70, + "utter_user_input_empty_error_rasa": 71, + "utter_user_input_too_long_error_rasa": 72 + }, + "entities": {}, + "slots": { + "confirm_correction_0": 0, + "confirm_correction_1": 1, + "silence_timeout_0": 2, + "silence_timeout_1": 3, + "consecutive_silence_timeouts_0": 4, + "consecutive_silence_timeouts_1": 5 + }, + "active_loop": {} + } + }, + "remove_duplicates": true, + "max_history": 5 +} \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.data_example.st b/.rasa/cache/tmpgv4dp5n4/ted_policy.data_example.st new file mode 100644 index 00000000..50c565a5 Binary files /dev/null and b/.rasa/cache/tmpgv4dp5n4/ted_policy.data_example.st differ diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.data_example_metadata.json b/.rasa/cache/tmpgv4dp5n4/ted_policy.data_example_metadata.json new file mode 100644 index 00000000..8e4884ef --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/ted_policy.data_example_metadata.json @@ -0,0 +1,186 @@ +[ + { + "key": "action_name", + "components": [ + { + "key": "mask", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "dense", + "key": "component_action_name_mask_0_0_array", + "shape": [ + 1, + 1 + ] + } + ] + } + ] + }, + { + "key": "sentence", + "number_of_dimensions": 4, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_action_name_sentence_0_0_0", + "shape": [ + 0, + 73 + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "key": "dialogue", + "components": [ + { + "key": "length", + "number_of_dimensions": 1, + "features": [ + { + "type": "list", + "key": "component_dialogue_length_0_list" + } + ] + } + ] + }, + { + "key": "intent", + "components": [ + { + "key": "mask", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "dense", + "key": "component_intent_mask_0_0_array", + "shape": [ + 1, + 1 + ] + } + ] + } + ] + }, + { + "key": "sentence", + "number_of_dimensions": 4, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_intent_sentence_0_0_0", + "shape": [ + 0, + 14 + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "key": "label", + "components": [ + { + "key": "ids", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_ids_0_0_0_list" + } + ] + } + ] + } + ] + } + ] + }, + { + "key": "slots", + "components": [ + { + "key": "mask", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "dense", + "key": "component_slots_mask_0_0_array", + "shape": [ + 1, + 1 + ] + } + ] + } + ] + }, + { + "key": "sentence", + "number_of_dimensions": 4, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_slots_sentence_0_0_0", + "shape": [ + 1, + 6 + ] + } + ] + } + ] + } + ] + } + ] + } +] \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.entity_tag_specs.json b/.rasa/cache/tmpgv4dp5n4/ted_policy.entity_tag_specs.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/ted_policy.entity_tag_specs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.fake_features.st b/.rasa/cache/tmpgv4dp5n4/ted_policy.fake_features.st new file mode 100644 index 00000000..b17f2d9b Binary files /dev/null and b/.rasa/cache/tmpgv4dp5n4/ted_policy.fake_features.st differ diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.fake_features_metadata.json b/.rasa/cache/tmpgv4dp5n4/ted_policy.fake_features_metadata.json new file mode 100644 index 00000000..9006a4ff --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/ted_policy.fake_features_metadata.json @@ -0,0 +1,41 @@ +{ + "slots": [ + { + "data_type": "sentence", + "attribute": "slots", + "origin": "SingleStateFeaturizer", + "is_sparse": true, + "shape": [ + 0, + 6 + ], + "safetensors_key": "slots_0" + } + ], + "action_name": [ + { + "data_type": "sentence", + "attribute": "action_name", + "origin": "SingleStateFeaturizer", + "is_sparse": true, + "shape": [ + 0, + 73 + ], + "safetensors_key": "action_name_0" + } + ], + "intent": [ + { + "data_type": "sentence", + "attribute": "intent", + "origin": "SingleStateFeaturizer", + "is_sparse": true, + "shape": [ + 0, + 14 + ], + "safetensors_key": "intent_0" + } + ] +} \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.label_data.st b/.rasa/cache/tmpgv4dp5n4/ted_policy.label_data.st new file mode 100644 index 00000000..1ec21a74 Binary files /dev/null and b/.rasa/cache/tmpgv4dp5n4/ted_policy.label_data.st differ diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.label_data_metadata.json b/.rasa/cache/tmpgv4dp5n4/ted_policy.label_data_metadata.json new file mode 100644 index 00000000..88737d3b --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/ted_policy.label_data_metadata.json @@ -0,0 +1,2016 @@ +[ + { + "key": "label_action_name", + "components": [ + { + "key": "mask", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_0_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_1_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_2_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_3_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_4_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_5_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_6_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_7_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_8_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_9_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_10_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_11_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_12_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_13_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_14_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_15_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_16_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_17_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_18_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_19_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_20_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_21_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_22_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_23_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_24_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_25_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_26_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_27_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_28_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_29_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_30_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_31_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_32_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_33_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_34_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_35_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_36_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_37_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_38_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_39_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_40_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_41_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_42_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_43_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_44_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_45_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_46_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_47_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_48_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_49_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_50_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_51_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_52_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_53_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_54_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_55_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_56_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_57_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_58_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_59_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_60_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_61_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_62_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_63_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_64_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_65_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_66_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_67_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_68_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_69_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_70_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_71_0_list" + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_mask_0_72_0_list" + } + ] + } + ] + } + ] + }, + { + "key": "sentence", + "number_of_dimensions": 4, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_0_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_1_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_2_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_3_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_4_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_5_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_6_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_7_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_8_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_9_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_10_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_11_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_12_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_13_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_14_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_15_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_16_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_17_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_18_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_19_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_20_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_21_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_22_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_23_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_24_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_25_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_26_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_27_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_28_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_29_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_30_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_31_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_32_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_33_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_34_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_35_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_36_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_37_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_38_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_39_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_40_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_41_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_42_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_43_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_44_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_45_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_46_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_47_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_48_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_49_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_50_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_51_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_52_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_53_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_54_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_55_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_56_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_57_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_58_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_59_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_60_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_61_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_62_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_63_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_64_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_65_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_66_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_67_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_68_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_69_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_70_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_71_0_0_list" + } + ] + } + ] + }, + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_action_name_sentence_0_72_0_0_list" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "key": "label", + "components": [ + { + "key": "ids", + "number_of_dimensions": 2, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_ids_0_0_list" + }, + { + "type": "list", + "key": "component_label_ids_0_1_list" + }, + { + "type": "list", + "key": "component_label_ids_0_2_list" + }, + { + "type": "list", + "key": "component_label_ids_0_3_list" + }, + { + "type": "list", + "key": "component_label_ids_0_4_list" + }, + { + "type": "list", + "key": "component_label_ids_0_5_list" + }, + { + "type": "list", + "key": "component_label_ids_0_6_list" + }, + { + "type": "list", + "key": "component_label_ids_0_7_list" + }, + { + "type": "list", + "key": "component_label_ids_0_8_list" + }, + { + "type": "list", + "key": "component_label_ids_0_9_list" + }, + { + "type": "list", + "key": "component_label_ids_0_10_list" + }, + { + "type": "list", + "key": "component_label_ids_0_11_list" + }, + { + "type": "list", + "key": "component_label_ids_0_12_list" + }, + { + "type": "list", + "key": "component_label_ids_0_13_list" + }, + { + "type": "list", + "key": "component_label_ids_0_14_list" + }, + { + "type": "list", + "key": "component_label_ids_0_15_list" + }, + { + "type": "list", + "key": "component_label_ids_0_16_list" + }, + { + "type": "list", + "key": "component_label_ids_0_17_list" + }, + { + "type": "list", + "key": "component_label_ids_0_18_list" + }, + { + "type": "list", + "key": "component_label_ids_0_19_list" + }, + { + "type": "list", + "key": "component_label_ids_0_20_list" + }, + { + "type": "list", + "key": "component_label_ids_0_21_list" + }, + { + "type": "list", + "key": "component_label_ids_0_22_list" + }, + { + "type": "list", + "key": "component_label_ids_0_23_list" + }, + { + "type": "list", + "key": "component_label_ids_0_24_list" + }, + { + "type": "list", + "key": "component_label_ids_0_25_list" + }, + { + "type": "list", + "key": "component_label_ids_0_26_list" + }, + { + "type": "list", + "key": "component_label_ids_0_27_list" + }, + { + "type": "list", + "key": "component_label_ids_0_28_list" + }, + { + "type": "list", + "key": "component_label_ids_0_29_list" + }, + { + "type": "list", + "key": "component_label_ids_0_30_list" + }, + { + "type": "list", + "key": "component_label_ids_0_31_list" + }, + { + "type": "list", + "key": "component_label_ids_0_32_list" + }, + { + "type": "list", + "key": "component_label_ids_0_33_list" + }, + { + "type": "list", + "key": "component_label_ids_0_34_list" + }, + { + "type": "list", + "key": "component_label_ids_0_35_list" + }, + { + "type": "list", + "key": "component_label_ids_0_36_list" + }, + { + "type": "list", + "key": "component_label_ids_0_37_list" + }, + { + "type": "list", + "key": "component_label_ids_0_38_list" + }, + { + "type": "list", + "key": "component_label_ids_0_39_list" + }, + { + "type": "list", + "key": "component_label_ids_0_40_list" + }, + { + "type": "list", + "key": "component_label_ids_0_41_list" + }, + { + "type": "list", + "key": "component_label_ids_0_42_list" + }, + { + "type": "list", + "key": "component_label_ids_0_43_list" + }, + { + "type": "list", + "key": "component_label_ids_0_44_list" + }, + { + "type": "list", + "key": "component_label_ids_0_45_list" + }, + { + "type": "list", + "key": "component_label_ids_0_46_list" + }, + { + "type": "list", + "key": "component_label_ids_0_47_list" + }, + { + "type": "list", + "key": "component_label_ids_0_48_list" + }, + { + "type": "list", + "key": "component_label_ids_0_49_list" + }, + { + "type": "list", + "key": "component_label_ids_0_50_list" + }, + { + "type": "list", + "key": "component_label_ids_0_51_list" + }, + { + "type": "list", + "key": "component_label_ids_0_52_list" + }, + { + "type": "list", + "key": "component_label_ids_0_53_list" + }, + { + "type": "list", + "key": "component_label_ids_0_54_list" + }, + { + "type": "list", + "key": "component_label_ids_0_55_list" + }, + { + "type": "list", + "key": "component_label_ids_0_56_list" + }, + { + "type": "list", + "key": "component_label_ids_0_57_list" + }, + { + "type": "list", + "key": "component_label_ids_0_58_list" + }, + { + "type": "list", + "key": "component_label_ids_0_59_list" + }, + { + "type": "list", + "key": "component_label_ids_0_60_list" + }, + { + "type": "list", + "key": "component_label_ids_0_61_list" + }, + { + "type": "list", + "key": "component_label_ids_0_62_list" + }, + { + "type": "list", + "key": "component_label_ids_0_63_list" + }, + { + "type": "list", + "key": "component_label_ids_0_64_list" + }, + { + "type": "list", + "key": "component_label_ids_0_65_list" + }, + { + "type": "list", + "key": "component_label_ids_0_66_list" + }, + { + "type": "list", + "key": "component_label_ids_0_67_list" + }, + { + "type": "list", + "key": "component_label_ids_0_68_list" + }, + { + "type": "list", + "key": "component_label_ids_0_69_list" + }, + { + "type": "list", + "key": "component_label_ids_0_70_list" + }, + { + "type": "list", + "key": "component_label_ids_0_71_list" + }, + { + "type": "list", + "key": "component_label_ids_0_72_list" + } + ] + } + ] + } + ] + } +] \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.meta.json b/.rasa/cache/tmpgv4dp5n4/ted_policy.meta.json new file mode 100644 index 00000000..61bf6f4e --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/ted_policy.meta.json @@ -0,0 +1,84 @@ +{ + "hidden_layers_sizes": { + "text": [], + "action_text": [], + "label_action_text": [] + }, + "dense_dimension": { + "text": 128, + "action_text": 128, + "label_action_text": 128, + "intent": 20, + "action_name": 20, + "label_action_name": 20, + "entities": 20, + "slots": 20, + "active_loop": 20 + }, + "concat_dimension": { + "text": 128, + "action_text": 128, + "label_action_text": 128 + }, + "encoding_dimension": 50, + "transformer_size": { + "text": 128, + "action_text": 128, + "label_action_text": 128, + "dialogue": 128 + }, + "number_of_transformer_layers": { + "text": 1, + "action_text": 1, + "label_action_text": 1, + "dialogue": 1 + }, + "number_of_attention_heads": 4, + "use_key_relative_attention": false, + "use_value_relative_attention": false, + "max_relative_position": 5, + "unidirectional_encoder": false, + "batch_size": [ + 64, + 256 + ], + "batch_strategy": "balanced", + "epochs": 100, + "random_seed": null, + "learning_rate": 0.001, + "embedding_dimension": 20, + "number_of_negative_examples": 20, + "similarity_type": "inner", + "loss_type": "cross_entropy", + "ranking_length": 0, + "renormalize_confidences": false, + "maximum_positive_similarity": 0.8, + "maximum_negative_similarity": -0.2, + "use_maximum_negative_similarity": true, + "scale_loss": true, + "regularization_constant": 0.001, + "negative_margin_scale": 0.8, + "drop_rate_dialogue": 0.1, + "drop_rate": 0.0, + "drop_rate_label": 0.0, + "drop_rate_attention": 0.0, + "connection_density": 0.2, + "use_sparse_input_dropout": true, + "use_dense_input_dropout": true, + "use_masked_language_model": false, + "evaluate_every_number_of_epochs": 20, + "evaluate_on_number_of_examples": 0, + "tensorboard_log_directory": null, + "tensorboard_log_level": "epoch", + "checkpoint_model": false, + "e2e_confidence_threshold": 0.5, + "featurizers": [], + "entity_recognition": false, + "constrain_similarities": true, + "model_confidence": "softmax", + "BILOU_flag": true, + "split_entities_by_comma": true, + "max_history": 5, + "priority": 1, + "use_gpu": true +} \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.priority.json b/.rasa/cache/tmpgv4dp5n4/ted_policy.priority.json new file mode 100644 index 00000000..56a6051c --- /dev/null +++ b/.rasa/cache/tmpgv4dp5n4/ted_policy.priority.json @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.tf_model.data-00000-of-00001 b/.rasa/cache/tmpgv4dp5n4/ted_policy.tf_model.data-00000-of-00001 new file mode 100644 index 00000000..0362a858 Binary files /dev/null and b/.rasa/cache/tmpgv4dp5n4/ted_policy.tf_model.data-00000-of-00001 differ diff --git a/.rasa/cache/tmpgv4dp5n4/ted_policy.tf_model.index b/.rasa/cache/tmpgv4dp5n4/ted_policy.tf_model.index new file mode 100644 index 00000000..82c77f87 Binary files /dev/null and b/.rasa/cache/tmpgv4dp5n4/ted_policy.tf_model.index differ diff --git a/.rasa/cache/tmplz34z3u0/oov_words.json b/.rasa/cache/tmplz34z3u0/oov_words.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/.rasa/cache/tmplz34z3u0/oov_words.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.rasa/cache/tmplz34z3u0/vocabularies.json b/.rasa/cache/tmplz34z3u0/vocabularies.json new file mode 100644 index 00000000..14150b50 --- /dev/null +++ b/.rasa/cache/tmplz34z3u0/vocabularies.json @@ -0,0 +1,127 @@ +{ + "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": 11, + "action_restart": 14, + "action_session_start": 18, + "action_default_fallback": 8, + "action_deactivate_loop": 5, + "action_revert_fallback_events": 15, + "action_default_ask_affirmation": 6, + "action_default_ask_rephrase": 7, + "action_two_stage_fallback": 21, + "action_unlikely_intent": 22, + "action_back": 0, + "action_send_text": 17, + "action_extract_slots": 9, + "action_cancel_flow": 1, + "action_correct_flow_slot": 4, + "action_clarify_flows": 2, + "action_run_slot_rejections": 16, + "action_clean_stack": 3, + "action_trigger_search": 20, + "action_trigger_chitchat": 19, + "action_reset_routing": 13, + "action_hangup": 10, + "action_repeat_bot_messages": 12, + "utter_cheer_up": 23, + "utter_did_that_help": 24, + "utter_goodbye": 25, + "utter_greet": 26, + "utter_happy": 27, + "utter_iamabot": 28 + }, + "action_text": null, + "intent_response_key": null +} \ No newline at end of file diff --git a/.rasa/cache/tmpmuix2bks/feature_to_idx_dict.json b/.rasa/cache/tmpmuix2bks/feature_to_idx_dict.json new file mode 100644 index 00000000..c172f4ab --- /dev/null +++ b/.rasa/cache/tmpmuix2bks/feature_to_idx_dict.json @@ -0,0 +1,49 @@ +{ + "0###low": { + "False": 0, + "True": 1 + }, + "0###title": { + "False": 2, + "True": 3 + }, + "0###upper": { + "False": 4, + "True": 5 + }, + "1###BOS": { + "False": 6, + "True": 7 + }, + "1###EOS": { + "False": 8, + "True": 9 + }, + "1###digit": { + "False": 10 + }, + "1###low": { + "False": 11, + "True": 12 + }, + "1###title": { + "False": 13, + "True": 14 + }, + "1###upper": { + "False": 15, + "True": 16 + }, + "2###low": { + "False": 17, + "True": 18 + }, + "2###title": { + "False": 19, + "True": 20 + }, + "2###upper": { + "False": 21, + "True": 22 + } +} \ No newline at end of file diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.data_example.st b/.rasa/cache/tmpnk_a395e/DIETClassifier.data_example.st new file mode 100644 index 00000000..9c8b8e80 Binary files /dev/null and b/.rasa/cache/tmpnk_a395e/DIETClassifier.data_example.st differ diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.data_example_metadata.json b/.rasa/cache/tmpnk_a395e/DIETClassifier.data_example_metadata.json new file mode 100644 index 00000000..f4850d09 --- /dev/null +++ b/.rasa/cache/tmpnk_a395e/DIETClassifier.data_example_metadata.json @@ -0,0 +1,144 @@ +[ + { + "key": "label", + "components": [ + { + "key": "ids", + "number_of_dimensions": 2, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_ids_0_0_list" + } + ] + } + ] + }, + { + "key": "mask", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_mask_0_0_0_list" + } + ] + } + ] + } + ] + }, + { + "key": "sequence", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_label_sequence_0_0", + "shape": [ + 1, + 7 + ] + } + ] + } + ] + }, + { + "key": "sequence_lengths", + "number_of_dimensions": 1, + "features": [ + { + "type": "list", + "key": "component_label_sequence_lengths_0_list" + } + ] + } + ] + }, + { + "key": "text", + "components": [ + { + "key": "mask", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_text_mask_0_0_0_list" + } + ] + } + ] + } + ] + }, + { + "key": "sentence", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_text_sentence_0_0", + "shape": [ + 1, + 777 + ] + } + ] + } + ] + }, + { + "key": "sequence", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_text_sequence_0_0", + "shape": [ + 1, + 800 + ] + } + ] + } + ] + }, + { + "key": "sequence_lengths", + "number_of_dimensions": 1, + "features": [ + { + "type": "list", + "key": "component_text_sequence_lengths_0_list" + } + ] + } + ] + } +] \ No newline at end of file diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.entity_tag_specs.json b/.rasa/cache/tmpnk_a395e/DIETClassifier.entity_tag_specs.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/.rasa/cache/tmpnk_a395e/DIETClassifier.entity_tag_specs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.index_label_id_mapping.json b/.rasa/cache/tmpnk_a395e/DIETClassifier.index_label_id_mapping.json new file mode 100644 index 00000000..a109a0e3 --- /dev/null +++ b/.rasa/cache/tmpnk_a395e/DIETClassifier.index_label_id_mapping.json @@ -0,0 +1,9 @@ +{ + "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/tmpnk_a395e/DIETClassifier.label_data.st b/.rasa/cache/tmpnk_a395e/DIETClassifier.label_data.st new file mode 100644 index 00000000..bf2707f2 Binary files /dev/null and b/.rasa/cache/tmpnk_a395e/DIETClassifier.label_data.st differ diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.label_data_metadata.json b/.rasa/cache/tmpnk_a395e/DIETClassifier.label_data_metadata.json new file mode 100644 index 00000000..bba57eeb --- /dev/null +++ b/.rasa/cache/tmpnk_a395e/DIETClassifier.label_data_metadata.json @@ -0,0 +1,123 @@ +[ + { + "key": "label", + "components": [ + { + "key": "sequence", + "number_of_dimensions": 3, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "sparse", + "key": "component_label_sequence_0_0", + "shape": [ + 1, + 7 + ] + }, + { + "type": "sparse", + "key": "component_label_sequence_0_1", + "shape": [ + 1, + 7 + ] + }, + { + "type": "sparse", + "key": "component_label_sequence_0_2", + "shape": [ + 1, + 7 + ] + }, + { + "type": "sparse", + "key": "component_label_sequence_0_3", + "shape": [ + 1, + 7 + ] + }, + { + "type": "sparse", + "key": "component_label_sequence_0_4", + "shape": [ + 1, + 7 + ] + }, + { + "type": "sparse", + "key": "component_label_sequence_0_5", + "shape": [ + 1, + 7 + ] + }, + { + "type": "sparse", + "key": "component_label_sequence_0_6", + "shape": [ + 1, + 7 + ] + } + ] + } + ] + }, + { + "key": "ids", + "number_of_dimensions": 2, + "features": [ + { + "type": "group", + "subcomponents": [ + { + "type": "list", + "key": "component_label_ids_0_0_list" + }, + { + "type": "list", + "key": "component_label_ids_0_1_list" + }, + { + "type": "list", + "key": "component_label_ids_0_2_list" + }, + { + "type": "list", + "key": "component_label_ids_0_3_list" + }, + { + "type": "list", + "key": "component_label_ids_0_4_list" + }, + { + "type": "list", + "key": "component_label_ids_0_5_list" + }, + { + "type": "list", + "key": "component_label_ids_0_6_list" + } + ] + } + ] + }, + { + "key": "sequence_lengths", + "number_of_dimensions": 1, + "features": [ + { + "type": "list", + "key": "component_label_sequence_lengths_0_list" + } + ] + } + ] + } +] \ No newline at end of file diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.sparse_feature_sizes.json b/.rasa/cache/tmpnk_a395e/DIETClassifier.sparse_feature_sizes.json new file mode 100644 index 00000000..8ab3a021 --- /dev/null +++ b/.rasa/cache/tmpnk_a395e/DIETClassifier.sparse_feature_sizes.json @@ -0,0 +1,13 @@ +{ + "text": { + "sequence": [ + 23, + 80, + 697 + ], + "sentence": [ + 80, + 697 + ] + } +} \ No newline at end of file diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.tf_model.data-00000-of-00001 b/.rasa/cache/tmpnk_a395e/DIETClassifier.tf_model.data-00000-of-00001 new file mode 100644 index 00000000..956a9288 Binary files /dev/null and b/.rasa/cache/tmpnk_a395e/DIETClassifier.tf_model.data-00000-of-00001 differ diff --git a/.rasa/cache/tmpnk_a395e/DIETClassifier.tf_model.index b/.rasa/cache/tmpnk_a395e/DIETClassifier.tf_model.index new file mode 100644 index 00000000..a9cb242f Binary files /dev/null and b/.rasa/cache/tmpnk_a395e/DIETClassifier.tf_model.index differ diff --git a/.rasa/cache/tmpnk_a395e/checkpoint b/.rasa/cache/tmpnk_a395e/checkpoint new file mode 100644 index 00000000..57d6cf21 --- /dev/null +++ b/.rasa/cache/tmpnk_a395e/checkpoint @@ -0,0 +1,2 @@ +model_checkpoint_path: "DIETClassifier.tf_model" +all_model_checkpoint_paths: "DIETClassifier.tf_model" diff --git a/.rasa/cache/tmpr901z2g4/oov_words.json b/.rasa/cache/tmpr901z2g4/oov_words.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/.rasa/cache/tmpr901z2g4/oov_words.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.rasa/cache/tmpr901z2g4/vocabularies.json b/.rasa/cache/tmpr901z2g4/vocabularies.json new file mode 100644 index 00000000..356e2145 --- /dev/null +++ b/.rasa/cache/tmpr901z2g4/vocabularies.json @@ -0,0 +1,703 @@ +{ + "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/tmptx8sni_a/command_prompt.jinja2 b/.rasa/cache/tmptx8sni_a/command_prompt.jinja2 new file mode 100644 index 00000000..673fcae2 --- /dev/null +++ b/.rasa/cache/tmptx8sni_a/command_prompt.jinja2 @@ -0,0 +1,60 @@ +Your task is to analyze the current conversation context and generate a list of actions to start new business processes that we call flows, to extract slots, or respond to small talk and knowledge requests. + +These are the flows that can be started, with their description and slots: +{% for flow in available_flows %} +{{ flow.name }}: {{ flow.description }} + {% for slot in flow.slots -%} + slot: {{ slot.name }}{% if slot.description %} ({{ slot.description }}){% endif %}{% if slot.allowed_values %}, allowed values: {{ slot.allowed_values }}{% endif %} + {% endfor %} +{%- endfor %} + +=== +Here is what happened previously in the conversation: +{{ current_conversation }} + +=== +{% if current_flow != None %} +You are currently in the flow "{{ current_flow }}". +You have just asked the user for the slot "{{ current_slot }}"{% if current_slot_description %} ({{ current_slot_description }}){% endif %}. + +{% if flow_slots|length > 0 %} +Here are the slots of the currently active flow: +{% for slot in flow_slots -%} +- name: {{ slot.name }}, value: {{ slot.value }}, type: {{ slot.type }}, description: {{ slot.description}}{% if slot.allowed_values %}, allowed values: {{ slot.allowed_values }}{% endif %} +{% endfor %} +{% endif %} +{% else %} +You are currently not in any flow and so there are no active slots. +This means you can only set a slot if you first start a flow that requires that slot. +{% endif %} +If you start a flow, first start the flow and then optionally fill that flow's slots with information the user provided in their message. + +The user just said """{{ user_message }}""". + +=== +Based on this information generate a list of actions you want to take. Your job is to start flows and to fill slots where appropriate. Any logic of what happens afterwards is handled by the flow engine. These are your available actions: +* Slot setting, described by "SetSlot(slot_name, slot_value)". An example would be "SetSlot(recipient, Freddy)" +* Starting another flow, described by "StartFlow(flow_name)". An example would be "StartFlow(transfer_money)" +* Cancelling the current flow, described by "CancelFlow()" +* Clarifying which flow should be started. An example would be Clarify(list_contacts, add_contact, remove_contact) if the user just wrote "contacts" and there are multiple potential candidates. It also works with a single flow name to confirm you understood correctly, as in Clarify(transfer_money). +* Intercepting and handle user messages with the intent to bypass the current step in the flow, described by "SkipQuestion()". Examples of user skip phrases are: "Go to the next question", "Ask me something else". +* Responding to knowledge-oriented user messages, described by "SearchAndReply()" +* Responding to a casual, non-task-oriented user message, described by "ChitChat()". +* Handing off to a human, in case the user seems frustrated or explicitly asks to speak to one, described by "HumanHandoff()". +{% if is_repeat_command_enabled %} +* Repeat the last bot messages, described by "RepeatLastBotMessages()". This is useful when the user asks to repeat the last bot messages. +{% endif %} + +=== +Write out the actions you want to take, one per line, in the order they should take place. +Do not fill slots with abstract values or placeholders. +Only use information provided by the user. +Only start a flow if it's completely clear what the user wants. Imagine you were a person reading this message. If it's not 100% clear, clarify the next step. +Don't be overly confident. Take a conservative approach and clarify before proceeding. +If the user asks for two things which seem contradictory, clarify before starting a flow. +If it's not clear whether the user wants to skip the step or to cancel the flow, cancel the flow. +Strictly adhere to the provided action types listed above. +Focus on the last message and take it one step at a time. +Use the previous conversation steps only to aid understanding. + +Your action list: diff --git a/.rasa/cache/tmptx8sni_a/config.json b/.rasa/cache/tmptx8sni_a/config.json new file mode 100644 index 00000000..67d2459d --- /dev/null +++ b/.rasa/cache/tmptx8sni_a/config.json @@ -0,0 +1,25 @@ +{ + "prompt": null, + "prompt_template": null, + "user_input": null, + "llm": { + "id": "rasa_command_generation_model", + "models": [ + { + "provider": "rasa", + "model": "rasa/cmd_gen_codellama_13b_calm_demo", + "api_base": "https://tutorial-llm.rasa.ai" + } + ] + }, + "flow_retrieval": { + "embeddings": { + "provider": "openai", + "model": "text-embedding-ada-002" + }, + "num_flows": 20, + "turns_to_embed": 1, + "should_embed_slots": true, + "active": false + } +} \ No newline at end of file diff --git a/.rasa/cache/tmpw41zde0c/featurizer.json b/.rasa/cache/tmpw41zde0c/featurizer.json new file mode 100644 index 00000000..734be997 --- /dev/null +++ b/.rasa/cache/tmpw41zde0c/featurizer.json @@ -0,0 +1,6 @@ +{ + "type": "MaxHistoryTrackerFeaturizer", + "state_featurizer": null, + "remove_duplicates": true, + "max_history": null +} \ No newline at end of file diff --git a/.rasa/cache/tmpw41zde0c/rule_only_data.json b/.rasa/cache/tmpw41zde0c/rule_only_data.json new file mode 100644 index 00000000..c7335d7a --- /dev/null +++ b/.rasa/cache/tmpw41zde0c/rule_only_data.json @@ -0,0 +1,4 @@ +{ + "rule_only_slots": [], + "rule_only_loops": [] +} \ No newline at end of file diff --git a/.rasa/cache/tmpw41zde0c/rule_policy.json b/.rasa/cache/tmpw41zde0c/rule_policy.json new file mode 100644 index 00000000..390966d5 --- /dev/null +++ b/.rasa/cache/tmpw41zde0c/rule_policy.json @@ -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": [ + "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\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}]", + "[{\"prev_action\": {\"action_name\": \"action_listen\"}, \"user\": {\"intent\": \"goodbye\"}}, {\"prev_action\": {\"action_name\": \"utter_goodbye\"}, \"user\": {\"intent\": \"goodbye\"}}]", + "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\"}}]" + ] + } +} \ No newline at end of file diff --git a/.rasa/cache/tmpxqrdueka/featurizer.json b/.rasa/cache/tmpxqrdueka/featurizer.json new file mode 100644 index 00000000..734be997 --- /dev/null +++ b/.rasa/cache/tmpxqrdueka/featurizer.json @@ -0,0 +1,6 @@ +{ + "type": "MaxHistoryTrackerFeaturizer", + "state_featurizer": null, + "remove_duplicates": true, + "max_history": null +} \ No newline at end of file diff --git a/.rasa/cache/tmpxqrdueka/memorized_turns.json b/.rasa/cache/tmpxqrdueka/memorized_turns.json new file mode 100644 index 00000000..7470195c --- /dev/null +++ b/.rasa/cache/tmpxqrdueka/memorized_turns.json @@ -0,0 +1,16 @@ +{ + "lookup": { + "eJyLri7OyS8ptlKoTs7PK05NLi3JLEuNL87MSc1LTo0vycxNzS8FSUcb6hnoKBjoGcTqKKDJwiTNUnUNzGJra2MBKcwdJg==": "action_listen", + "eJytjTEKwzAQBL9yD1CM0rjwV4wQRizhwD4F3cmN0N+j4KRJnW6XWWbXpns2XailLIpUjU9E5R2SEI0P5PrG633yjvzkg6Mf+oUzbn4OvTtqz4Izbsk4yzBfIcp2YKFP2VkNMrb/vndUFWUIWcbBoI8CWO/hBX0GUrs=": "utter_greet", + "eJy9jrEKwzAQQ3/lPsAN7pIhvxKMCUaUA+dcfOcsIf9el7RLly6lm8QTkuZdczGdaE9FFKkZb4jKGZIQjVeU9sTzdfCO/OCDow/6hiMufgzH4Wi/V2xxScZFevMpoiwrJnqZzGqQnv31vKOmqL2QpQ90equAfXvVzFDjGf3fp/AAIX6Hjg==": "action_listen", + "eJzNkMEKwyAQRH/FD7DBXnLIrwQRsUMQjFvcNRfJv9eQ9tJLL6X0tssbZoaZGycSnlQLlBmhStzgOCbkACdxBdUDz9fBaGUGY7V6oy844mJGu+9atXvB5nyQSLk7n4fLfsWknk+KLMhd++14rSqjdMOYe0CnSwHkU6sqguJO6b90+vlSK9Ht2MD3avYBiLy/LQ==": "utter_happy", + "eJzNkE0KwjAUhK+SA8QSN130KiWEEAcN5I/kpSChdzelunGjCynu3uMbZoaZW3GRysSaiaHAVLILVLEOwUCR9Yh1w/N5EJyJQUjO3ugLjjiJUa4rZy1lLEobsjF05/1QQXtM7Pk4Wwiha38dz1ktyN3Qhh7Q6TUD9KlVJUJWu/RfOh2+lI/xsm2gv5zrplO6H11MPgCxaPYV": "action_listen", + "eJzNkMEKwjAQRH8lHxBLvPTQXykllDhoINktyaYgJf/eSPXixYuIt13eMDPMuOXAkge1OaYMV8SvsNkHkIMVH8HlgcdzZ7QynZm0eqMv2ONk+qlWrbYlYbWzE8/UnI/D0hwxqOcTfBZQ0347XquSkZqhpxbQ6DUB8qlVEUGyh/RfOv18qch8sYVu87Lca512CQLAHw==": "utter_cheer_up", + "eJzNkMEKwyAQRH/FD7DBXnLIr4QgYodG0FV0DZSQf68l7aWX9lBCL8sub5gdZlyLj1wGsdpIBbayW6CL8yALzS4g1gcez52SQnVqkuKNvmCPk+qnbZNiTRmLNpZdpOa8L5pMwCCeh3eFQU376/dS1ILcDB21B41eM8CfUlVmZL1L/yXT4U2FGC+60mxSun1XmJ3RZk3Hp5vuqFz5Ig==": "utter_did_that_help", + "eJzNkMEKwjAQRH8lHxBLvPTQXyllKelgAmkSkk1BSv/dSPXiRQ+ivSy7vGF2mH7NLnDuxKqDz9CF7QLK1sFrENsZodxxf26UFKpRgxQv9AlbnFQ7bJsUa0xYaNRsg6/O+0J+nNGJx+FsZviq/fZ7KUpGqobW1weVXhLA71IVZiTapUfJ9POm5hAmKt6MMV4/K0wb1FniMdNNdiI2I5OB+0PE4QaVPzQy": "action_listen", + "eJzNUbsKwzAM/BV/gBvcJUN+JQRhHKU2+IUtB0rwv9cl7dKlHUrIIiTuuDtO45ZtoDywTQWfURUyK0I2Fr1CIOMwlCc8XjvBmejExNkH+gZ7vIh+qpWzLSZcQSoywTflfQEvHQ7sdViTCX3j/tues5IxNUHjm0FDbwmRvqUqRJhgp54l0+FNuRBmKF7LGO+/FaY0tlniOdPNZgbSkkCjPV3Ew78rl8UkV+v0ANP2aiU=": "utter_happy", + "eJzNkT0KwzAMha/iA7jBXTrkKiEI4yi1wD/BlgMl5O51Sbt0aYYSsgiJJ6RPT92SXeTcisXEkNEUphkhk8NgEJg8xvKSu2ujpFCN6qX4Uj/iDS/q1q+rFMuUcAZtmGKok7cEgvbYinfhKDOG2vvv9VKUjKkOpFAXVPWeEPkXVWHGBFvrWZgOd8rHOEAJVk/TY59hxmKNZTon3UADsNUMFt3pEA//rh5HSn6fc9sFB0L1T6YIn2E=": "action_listen", + "eJzNkcEKwyAMhl/FB3DFXXroq5QSRMMUbBSNhVH67nN0u+yyHUbpJST8P/k/knEtIXIZxGoiFTSV/YJQfEAyCOxnjPUpj9dOSaE6NUnxob7FHi+qn7ZNijVlXEAb9pHa5r0B0jMO4jUEXxipef8dL0UtmNtCTy2gqbeMyN+oKjNm2K1nYTr8UnOMFio5ndL9t4MZh63WdE466y2w0wwOw+kQD/+uRWpQ0wMAoWlg": "utter_goodbye", + "eJzNkcEKgzAMhl+lD9CJu3jwVURK1/5oobalTQUR330dbpdd5mGIl5Dwh+TLn25N1lNq2aq8S1CZzAyRjIVTEGQm+PySu3tVc1ZXdc/Zl/oRG9zqpt82ztYQMQupyHhXJu+JcHJCy96FNYngSu+/13OWE2IZaFxZUNQhAvSLKhMhir31KkynOzV5r0V2owxhOWaYGlFiDtek00YLGiWJEfZyiKd/V8Md9G0oZzwWnAfVPwFpm56e": "action_listen" + } +} \ No newline at end of file diff --git a/actions/__init__.py b/actions/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/actions/actions.py b/actions/actions.py new file mode 100644 index 00000000..b5d46672 --- /dev/null +++ b/actions/actions.py @@ -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-pro/concepts/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 [] diff --git a/config.yml b/config.yml new file mode 100644 index 00000000..5166e300 --- /dev/null +++ b/config.yml @@ -0,0 +1,47 @@ +# The config recipe. +# https://rasa.com/docs/rasa-pro/nlu-based-assistants/model-configuration/ +recipe: default.v1 + +# The assistant project unique identifier +# This default value must be replaced with a unique assistant name within your deployment +assistant_id: placeholder_default + +# Configuration for Rasa NLU. +# https://rasa.com/docs/rasa-pro/nlu-based-assistants/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-pro/nlu-based-assistants/model-configuration 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-pro/concepts/policies/policy-overview/ +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-pro/concepts/policies/policy-overview for more information. +# - name: MemoizationPolicy +# - name: RulePolicy +# - name: TEDPolicy +# max_history: 5 +# epochs: 100 +# constrain_similarities: true diff --git a/credentials.yml b/credentials.yml new file mode 100644 index 00000000..bbd88d4f --- /dev/null +++ b/credentials.yml @@ -0,0 +1,33 @@ +# This file contains the credentials for the voice & chat platforms +# which your bot is using. +# https://rasa.com/docs/rasa-pro/connectors/messaging-and-voice-channels/ + +rest: +# # you don't need to provide anything here - this channel doesn't +# # require any credentials + + +#facebook: +# verify: "" +# secret: "" +# page-access-token: "" + +#slack: +# slack_token: "" +# slack_channel: "" +# slack_signing_secret: "" + +#socketio: +# user_message_evt: +# bot_message_evt: +# session_persistence: + +#mattermost: +# url: "https:///api/v4" +# token: "" +# webhook_url: "" + +# This entry is needed if you are using Rasa Enterprise. The entry represents credentials +# for the Rasa Enterprise "channel", i.e. Talk to your bot and Share with guest testers. +rasa: + url: "http://localhost:5002/api" diff --git a/data/flows.yml b/data/flows.yml new file mode 100644 index 00000000..4847f857 --- /dev/null +++ b/data/flows.yml @@ -0,0 +1,28 @@ +flows: + gift_recommendation: + description: Help users get gift recommendations for their loved ones + steps: + - collect: person_name + description: The name of the person to get a gift for + utter: utter_gather_person_name + - collect: person_phone + description: The phone number of the person + utter: utter_gather_person_phone + - collect: occasion + description: The occasion for the gift (eid, graduation, new_baby, marriage, new_house, without_occasion) + utter: utter_gather_occasion + - collect: talmihah_type + description: Whether to get recommendations with choices or without + utter: utter_gather_choice_info + - action: action_generate_result + + feedback_collection: + description: Collect user feedback about the gift recommendations + steps: + - collect: feedback_rating + description: Rating from 1 to 5 + utter: utter_gather_feedback + - collect: feedback_text + description: Optional text feedback + utter: utter_gather_feedback + - action: action_save_feedback \ No newline at end of file diff --git a/data/nlu.yml b/data/nlu.yml new file mode 100644 index 00000000..2f6c3f8c --- /dev/null +++ b/data/nlu.yml @@ -0,0 +1,91 @@ +version: "3.1" + +nlu: +- 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? diff --git a/data/patterns.yml b/data/patterns.yml new file mode 100644 index 00000000..940bb8dd --- /dev/null +++ b/data/patterns.yml @@ -0,0 +1,24 @@ +flows: + pattern_validate_choice: + description: Pattern for validating user's choice type (image or link) + name: pattern validate choice + steps: + - action: action_validate_choice + + pattern_validate_name: + description: Pattern for validating Arabic person names + name: pattern validate name + steps: + - action: action_validate_name + + pattern_validate_phone: + description: Pattern for validating Saudi phone numbers + name: pattern validate phone + steps: + - action: action_validate_phone + + pattern_validate_occasion: + description: Pattern for validating gift occasions + name: pattern validate occasion + steps: + - action: action_validate_occasion \ No newline at end of file diff --git a/data/rules.yml b/data/rules.yml new file mode 100644 index 00000000..a9987ee2 --- /dev/null +++ b/data/rules.yml @@ -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 diff --git a/data/stories.yml b/data/stories.yml new file mode 100644 index 00000000..6ff78ee2 --- /dev/null +++ b/data/stories.yml @@ -0,0 +1,30 @@ +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 diff --git a/domain.yml b/domain.yml new file mode 100644 index 00000000..932195fe --- /dev/null +++ b/domain.yml @@ -0,0 +1,34 @@ +version: "3.1" + +intents: + - greet + - goodbye + - affirm + - deny + - mood_great + - mood_unhappy + - bot_challenge + +responses: + 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." + +session_config: + session_expiration_time: 60 + carry_over_slots_to_new_session: true diff --git a/endpoints.yml b/endpoints.yml new file mode 100644 index 00000000..6f18494b --- /dev/null +++ b/endpoints.yml @@ -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-pro/production/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-pro/concepts/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-pro/production/tracker-stores + +#tracker_store: +# type: redis +# url: +# port: +# db: +# password: +# use_ssl: + +#tracker_store: +# type: mongod +# url: +# db: +# username: +# password: + +# Event broker which all conversation events should be streamed to. +# https://rasa.com/docs/rasa-pro/production/event-brokers + +#event_broker: +# url: localhost +# username: username +# password: password +# queue: queue diff --git a/models/20250320-193216-mild-spline.tar.gz b/models/20250320-193216-mild-spline.tar.gz new file mode 100644 index 00000000..c9762b60 Binary files /dev/null and b/models/20250320-193216-mild-spline.tar.gz differ diff --git a/models/20250320-194017-wan-body.tar.gz b/models/20250320-194017-wan-body.tar.gz new file mode 100644 index 00000000..2dfe0e85 Binary files /dev/null and b/models/20250320-194017-wan-body.tar.gz differ diff --git a/models/20250320-195149-tender-tag.tar.gz b/models/20250320-195149-tender-tag.tar.gz new file mode 100644 index 00000000..5d6293b1 Binary files /dev/null and b/models/20250320-195149-tender-tag.tar.gz differ diff --git a/models/20250320-195454-clean-recourse.tar.gz b/models/20250320-195454-clean-recourse.tar.gz new file mode 100644 index 00000000..22c63156 Binary files /dev/null and b/models/20250320-195454-clean-recourse.tar.gz differ diff --git a/models/20250320-195720-brutal-carton.tar.gz b/models/20250320-195720-brutal-carton.tar.gz new file mode 100644 index 00000000..dd747c61 Binary files /dev/null and b/models/20250320-195720-brutal-carton.tar.gz differ diff --git a/models/20250320-200133-frayed-rehab.tar.gz b/models/20250320-200133-frayed-rehab.tar.gz new file mode 100644 index 00000000..32976f85 Binary files /dev/null and b/models/20250320-200133-frayed-rehab.tar.gz differ diff --git a/tests/test_stories.yml b/tests/test_stories.yml new file mode 100644 index 00000000..ed7fe6f3 --- /dev/null +++ b/tests/test_stories.yml @@ -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-pro/nlu-based-assistants/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