-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchatboat0 (2).json
1 lines (1 loc) · 19.4 KB
/
chatboat0 (2).json
1
{"autocomplete":{"topics":{"coding":true,"greeting":true,"slides":true,"greetings":true,"greeting_":true,"previous_papers":true,"tutorial":true},"actions":{"sub_missing":true,"none_missing":true,"sem_miss":true,"topic_missing":true,"sem_missing":true,"sorry_what_are_you_trying_to_say":true,"semmiss":true,"slides_missing":true,"sub_miss":true,"submiss":true,"slidemiss":true,"_missing":true},"entity":{"me":[true],"sub":[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],"topics":[true,true,true,true,true,true,true,true,true,true,true,true,true],"slides":[true,true,true,true,true,true],"year":[true,true],"date":[true,true,true,true,true,true],"sem":[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]},"topic":{"greeting":[true,true,true]},"entities":{"sub":true,"topics":true,"slides":true,"year":true,"date":true,"sem":true},"user":{"g_Name":true,"g_Location":true,"g_Organization":true,"g_Ordinal":true,"g_Cardinal":true,"g_Number":true,"g_Percent":true,"g_Flight Number":true,"g_DateTime":true,"g_DiseaseName":true,"user_first_name":true,"user_last_name":true,"user_profile_pic":true,"user_locale":true,"user_timezone":true,"user_gender":true,"user_is_payment_enabled":true},"action":{"sem_miss":[true,true,true],"none_missing":[true,true,true,true,true,true],"sub_missing":[true],"topic_missing":[true],"sem_missing":[true],"sorry_what_are_you_trying_to_say":[true],"semmiss":[true,true],"sub_miss":[true,true,true],"slides_missing":[true],"slidemiss":[true,true,true],"submiss":[true,true]}},"name":"chatboat0","flows":[{"flow_id":"58f2147eebd4c5efea1f69bd","change_to":null,"name":"flow0","graph":[{"nodeName":"new node 1","outputs":[{"Text":[1]}],"className":"in","position":{"y":343,"x":-616},"options":{"responses":[{"content":"welcome i am a study bot how can i help you","type":"text"}]},"name":"User Input"},{"nodeName":"new node 2","outputs":[{"Greetings":[3]},{"Slides":[2]},{"Tutorial":[7]},{"Previous Papers":[14]},{"Coding":[19]}],"className":"core","position":{"y":316,"x":-336},"options":{"topics":[{"greetings":["hi","hello","what's up"]},{"slides":["i want to learn biology","i want lecture slides of chemistry 1st sem","give me slides of maths 1st sem ","i need slides of physics "]},{"tutorial":["i want tuts of chemistry 1st sem","give me tutorials of maths 1st sem ","i need tuts of physics "]},{"previous_papers":["i need previous year paper of MECHANICAL 2nd sem","i want previous year paper of physics 2nd sem","give me previous year paper of biology 1st sem "]},{"coding":["i want to learn algorithms","competitive coding","courses of c++","how can i know more about java"]}],"autocompleteList":["weather","relationships","fashion","pets"]},"name":"Topic Selector"},{"nodeName":"new node 3","outputs":[{"Entities":[5]}],"className":"core","position":{"y":-19,"x":73},"options":{"entities":[{"sub":[]},{"sem":[]}],"autocompleteList":{"user_timezone":true,"g_Number":true,"g_Percent":true,"user_profile_pic":true,"g_Ordinal":true,"user_first_name":true,"g_Cardinal":true,"user_locale":true,"g_DateTime":true,"g_DiseaseName":true,"g_Organization":true,"user_is_payment_enabled":true,"g_Name":true,"user_gender":true,"user_last_name":true,"g_Location":true,"g_Flight Number":true},"examples":[{"sub":["biology"],"_content":"i want to learn <span data=\"sub\">biology</span>"},{"sem":["1"],"sub":["chemistry"],"_content":"i want lecture slides of <span data=\"sub\">chemistry</span> <span data=\"sem\">1</span>st sem"},{"sem":["1"],"sub":["maths"],"_content":"give me slides of <span data=\"sub\">maths</span> <span data=\"sem\">1</span>st sem "},{"sub":["physics"],"_content":"i need slides of <span data=\"sub\">physics</span> "}]},"name":"Entity Extractor"},{"nodeName":"new node 4","outputs":[{"Response":[4]}],"className":"res","position":{"y":-481,"x":-36},"options":{"responses":[{"content":"hi whats up","type":"text"},{"content":"what do you want to know","type":"text"}]},"name":"Random"},{"nodeName":"new node 5","outputs":[],"className":"out","position":{"y":179,"x":2057},"options":{"facebook":{"access_token":"EAATto1hbE8UBAHxthLLZAlLJxjtaqCIquZAsGE6IIe0RLH3HQ4YgZBU3OR8lNcNShNO7CiTGZB7Xr4E5fu4Oi2mZBmRxE5Eb0R6yeNwbn7cp0ZAOheVNEDQJLl62G0OzmFeaWfesBQe2mnRZCfkasW17fCIiIeQ1FsZD","category":"Book","perms":["ADMINISTER","EDIT_PROFILE","CREATE_CONTENT","MODERATE_CONTENT","CREATE_ADS","BASIC_ADMIN"],"name":"Incredibles","id":"1553942831304393"},"slack":{},"httpAPI":{}},"name":"Bot Messenger"},{"nodeName":"new node 6","outputs":[{"None Missing":[6]},{"Sem Miss":[13]},{"Sub Miss":[12]}],"className":"core","position":{"y":-105,"x":339},"options":{"actions":[{"none_missing":[0],"_missing":0},{"sem_miss":[2],"_missing":2},{"sub_miss":[1],"_missing":1}],"criteria":["None","sub","sem"]},"name":"Entity Checker"},{"nodeName":"hyeatdfyd","outputs":[{"Output":[23]}],"className":"core","position":{"y":-241,"x":687},"options":{"snippet":{},"python":"def lambda_handler(event,context):\r\n return_json={}\r\n if event[\"sub_\"]==\"MATHS\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4NFppbnRMdGVTaG8\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4ejJ6QkFxYjJzWG8\"\r\n return return_json\t\t \r\n if event[\"sub_\"]==\"PHYSICS\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4NFppbnRMdGVTaG8\"\r\n return return_json\r\n else:\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4RlRHbmVjQ1ZNdjQ\"\r\n\t return return_json\r\n if event[\"sub_\"]==\"BIOLOGY\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"This course is not in first sem\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4d3ppajR2Vi1VZVE\"\r\n return return_json \r\n if event[\"sub_\"]==\"CHEMISTRY\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4aWNWcENlXzUyZTA\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"This course is not in second sem\"\r\n return return_json \r\n if event[\"sub_\"]==\"MECHANICAL\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"This course is not in first sem\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4ajdrX0I4QWdNU1E\"\r\n return return_json \r\n","javascript":"exports.handler = (event, context, callback) => {\n\t// Object should only be 1 level deep\n\tvar result = {\n\t\t\"key1\": \"value1\",\n\t\t\"key2\": \"value2\",\n\t\t// INCORRECT\n\t\t// \"key3\": {\"key4\": \"value3\"}\n\t};\n\t// Your code here\n\tcallback(null, result);\n}\n","lang":"python","plain-text":"\\/\\/Paste requirements here"},"name":"Code Snippet"},{"nodeName":"new node 7","outputs":[{"Entities":[8]}],"className":"core","position":{"y":193,"x":87},"options":{"entities":[{"sem":[]},{"sub":[]}],"autocompleteList":{"user_timezone":true,"g_Number":true,"g_Percent":true,"user_profile_pic":true,"g_Ordinal":true,"user_first_name":true,"g_Cardinal":true,"user_locale":true,"g_DateTime":true,"g_DiseaseName":true,"g_Organization":true,"user_is_payment_enabled":true,"g_Name":true,"user_gender":true,"user_last_name":true,"g_Location":true,"g_Flight Number":true},"examples":[{"sem":["1"],"sub":["chemistry"],"_content":"i want tuts of <span data=\"sub\">chemistry</span> <span data=\"sem\">1</span>st sem"},{"sem":["maths"],"sub":["chemistry"],"_content":"give me tutorials of <span data=\"sem\">maths</span> 1st sem "},{"sem":["physics"],"sub":["ME"],"_content":"i need tuts of <span data=\"sem\">physics</span> "},{"sem":["maths"],"sub":["1"],"_content":"give me tutorials of <span data=\"sem\">maths</span> <span data=\"sub\">1</span>st sem "}]},"name":"Entity Extractor"},{"nodeName":"new node 8","outputs":[{"None Missing":[9]},{"Sem Miss":[10]},{"Sub Miss":[11]}],"className":"core","position":{"y":219,"x":368},"options":{"actions":[{"none_missing":[0],"_missing":0},{"sem_miss":[1],"_missing":1},{"sub_miss":[2],"_missing":2}],"criteria":["None","sem","sub"]},"name":"Entity Checker"},{"nodeName":"new_node7","outputs":[{"Output":[24]}],"className":"core","position":{"y":207,"x":696},"options":{"snippet":{},"python":"def lambda_handler(event,context):\r\n return_json={}\r\n if event[\"sub_\"]==\"MATHS\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4WDdLMm1hUEJUeGs\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4SWY4ODJ0S2tDX28\"\r\n return return_json\t\t \r\n if event[\"sub_\"]==\"PHYSICS\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4bWstdm9DR3BzZ1U\"\r\n return return_json\r\n else:\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4V1RPU0htR3lMTzg\"\r\n\t return return_json\r\n if event[\"sub_\"]==\"BIOLOGY\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"This course is not in first sem\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"No tutorials\"\r\n return return_json \r\n if event[\"sub_\"]==\"CHEMISTRY\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4R3BVdVlxcVdvYVU\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"This course is not in second sem\"\r\n return return_json \r\n if event[\"sub_\"]==\"MECHANICAL\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"This course is not in first sem\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4QW51Z29ON3BfZGc\r\n https://drive.google.com/drive/folders/0B5Sot7OVmxI4VnpZWGQ5LWhVaDg\"\r\n return return_json \r\n","javascript":"exports.handler = (event, context, callback) => {\n\t// Object should only be 1 level deep\n\tvar result = {\n\t\t\"key1\": \"value1\",\n\t\t\"key2\": \"value2\",\n\t\t// INCORRECT\n\t\t// \"key3\": {\"key4\": \"value3\"}\n\t};\n\t// Your code here\n\tcallback(null, result);\n}\n","lang":"python","plain-text":"\\/\\/Paste requirements here"},"name":"Code Snippet"},{"nodeName":"new node 10","outputs":[{"Responses":[4]}],"className":"res","position":{"y":312,"x":907},"options":{"responses":[{"content":"please enter your sem","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 11","outputs":[{"Responses":[4]}],"className":"res","position":{"y":379,"x":637},"options":{"responses":[{"content":"please enter your sub","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 12","outputs":[{"Responses":[4]}],"className":"res","position":{"y":55,"x":708},"options":{"responses":[{"content":"please enter sub","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 13","outputs":[{"Responses":[4]}],"className":"res","position":{"y":-99,"x":719},"options":{"responses":[{"content":"please enter sem","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 14","outputs":[{"Entities":[15]}],"className":"core","position":{"y":417,"x":77},"options":{"entities":[{"sub":[]},{"sem":[]}],"autocompleteList":{"user_timezone":true,"g_Number":true,"g_Percent":true,"user_profile_pic":true,"g_Ordinal":true,"user_first_name":true,"g_Cardinal":true,"user_locale":true,"g_DateTime":true,"g_DiseaseName":true,"g_Organization":true,"user_is_payment_enabled":true,"g_Name":true,"user_gender":true,"user_last_name":true,"g_Location":true,"g_Flight Number":true},"examples":[{"sem":["2"],"sub":["ME"],"_content":"i need previous year paper of <span data=\"sub\">ME</span>CHANICAL <span data=\"sem\">2</span>nd sem"},{"sem":["2"],"sub":["physics"],"_content":"i want previous year paper of <span data=\"sub\">physics</span> <span data=\"sem\">2</span>nd sem"},{"sem":["1"],"sub":["biology"],"_content":"give me previous year paper of <span data=\"sub\">biology</span> <span data=\"sem\">1</span>st sem "},{"sem":["1"],"sub":["biology"],"_content":"give me previous year paper of <span data=\"sub\">biology</span> <span data=\"sem\">1</span>st sem "}]},"name":"Entity Extractor"},{"nodeName":"new node 15","outputs":[{"None Missing":[18]},{"Sub Miss":[16]},{"Sem Miss":[17]}],"className":"core","position":{"y":507,"x":357},"options":{"actions":[{"none_missing":[0],"_missing":0},{"sub_miss":[1],"_missing":1},{"sem_miss":[2],"_missing":2}],"criteria":["None","sub","sem"]},"name":"Entity Checker"},{"nodeName":"new node 16","outputs":[{"Responses":[4]}],"className":"res","position":{"y":655,"x":827},"options":{"responses":[{"content":"please enter sub","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 17","outputs":[{"Responses":[4]}],"className":"res","position":{"y":692,"x":593},"options":{"responses":[{"content":"please enter sem","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 18","outputs":[{"Output":[25]}],"className":"core","position":{"y":536,"x":599},"options":{"snippet":{},"python":"def lambda_handler(event,context):\r\n return_json={}\r\n if event[\"sub_\"]==\"MATHS\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4WDdLMm1hUEJUeGs\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4SWY4ODJ0S2tDX28\"\r\n return return_json\t\t \r\n if event[\"sub_\"]==\"PHYSICS\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4bWstdm9DR3BzZ1U\"\r\n return return_json\r\n else:\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4V1RPU0htR3lMTzg\"\r\n\t return return_json\r\n if event[\"sub_\"]==\"BIOLOGY\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"This course is not in first sem\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"No tutorials\"\r\n return return_json \r\n if event[\"sub_\"]==\"CHEMISTRY\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4R3BVdVlxcVdvYVU\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"This course is not in second sem\"\r\n return return_json \r\n if event[\"sub_\"]==\"MECHANICAL\":\r\n if event[\"sem_\"]==\"1\":\r\n return_json[\"link\"]=\"This course is not in first sem\"\r\n return return_json\r\n else :\r\n return_json[\"link\"]=\"https://drive.google.com/drive/folders/0B5Sot7OVmxI4QW51Z29ON3BfZGc https://drive.google.com/drive/folders/0B5Sot7OVmxI4VnpZWGQ5LWhVaDg\"\r\n return return_json \r\n","javascript":"exports.handler = (event, context, callback) => {\n\t// Object should only be 1 level deep\n\tvar result = {\n\t\t\"key1\": \"value1\",\n\t\t\"key2\": \"value2\",\n\t\t// INCORRECT\n\t\t// \"key3\": {\"key4\": \"value3\"}\n\t};\n\t// Your code here\n\tcallback(null, result);\n}\n","lang":"python","plain-text":"\\/\\/Paste requirements here"},"name":"Code Snippet"},{"nodeName":"new node 19","outputs":[{"Entities":[20]}],"className":"core","position":{"y":603,"x":72},"options":{"entities":[{"topics":[]}],"autocompleteList":{"user_timezone":true,"g_Number":true,"g_Percent":true,"user_profile_pic":true,"g_Ordinal":true,"user_first_name":true,"g_Cardinal":true,"user_locale":true,"g_DateTime":true,"g_DiseaseName":true,"g_Organization":true,"user_is_payment_enabled":true,"g_Name":true,"user_gender":true,"user_last_name":true,"g_Location":true,"g_Flight Number":true},"examples":[{"topics":["algorithm"],"_content":"i want to learn <span data=\"topics\">algorithm</span>s"},{"topics":["competitive coding"],"_content":"<span data=\"topics\">competitive coding</span>"},{"topics":["c++"],"_content":"courses of <span data=\"topics\">c++</span>"},{"topics":["java"],"_content":"how can i know more about <span data=\"topics\">java</span>"}]},"name":"Entity Extractor"},{"nodeName":"new node 20","outputs":[{"None Missing":[22]},{"Topic Missing":[21]}],"className":"core","position":{"y":776,"x":343},"options":{"actions":[{"none_missing":[0],"_missing":0},{"_missing":1,"topic_missing":[1]}],"criteria":["None","topics"]},"name":"Entity Checker"},{"nodeName":"new node 21","outputs":[{"Responses":[4]}],"className":"res","position":{"y":1016,"x":584},"options":{"responses":[{"content":"please enter topic","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 14","outputs":[{"Output":[26]}],"className":"core","position":{"y":864,"x":593},"options":{"snippet":{},"python":"def lambda_handler(event,context):\r\n\t\treturn return_json={}\r\n\t\tif event[\"top\"]==\"ALGORITHM\":\r\n\t\t\treturn_json[\"-\"]=\"http://nptel.iitm.ac.in/video.php?subjectId=106102064\r\n\t\t\t\thttps://discuss.codechef.com/questions/17801/introduction-to-graphs-definitions-traversal-depth-first-search\"\r\n\t\t\treturn return_json\r\n\t\tif event[\"top\"]==\"JAVA\" :\r\n\t\t\t\treturn_json[\"-\"]=\"https://github.com/akullpp/awesome-java\"\r\n\t\t\t\treturn return_json\r\n\t\tif event[\"top\"]==\"C++\" :\r\n\t\t\t\treturn_json[\"-\"]=\"https://github.com/fffaraz/awesome-cpp\r\n\t\t\t\thttp://www.cplusplus.com/reference/algorithm/\r\n\t\t\t\thttps://www.topcoder.com/community/data-science/data-science-tutorials/power-up-c-with-the-standard-template-library-part-1\"\r\n\t\tif event[\"top\"]==\"COMPETETIVE CODING\"\r\n\t\t\t\treturn_json[\"-\"]=\"http://comscigate.com/Books/contests/icpc.pdf\"\r\n\t\t\t\treturn return_json","javascript":"exports.handler = (event, context, callback) => {\n\t// Object should only be 1 level deep\n\tvar result = {\n\t\t\"key1\": \"value1\",\n\t\t\"key2\": \"value2\",\n\t\t// INCORRECT\n\t\t// \"key3\": {\"key4\": \"value3\"}\n\t};\n\t// Your code here\n\tcallback(null, result);\n}\n","lang":"python","plain-text":"\\/\\/Paste requirements here"},"name":"Code Snippet"},{"nodeName":"new node 23","outputs":[{"Responses":[4]}],"className":"res","position":{"y":-199,"x":1107},"options":{"responses":[{"content":"[link]","type":"text"},{"content":"can i help you any more","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 24","outputs":[{"Responses":[4]}],"className":"res","position":{"y":191,"x":1061},"options":{"responses":[{"content":"[link]","type":"text"},{"content":"can i help you any more","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 9","outputs":[{"Responses":[4]}],"className":"res","position":{"y":519,"x":1735},"options":{"responses":[{"content":"[link]","type":"text"},{"content":"can i help you any more","type":"text"}]},"name":"Sequence"},{"nodeName":"new node 10","outputs":[{"Responses":[4]}],"className":"res","position":{"y":897,"x":1773},"options":{"responses":[{"content":"[top]","type":"text"},{"content":"can i help you any more","type":"text"}]},"name":"Sequence"}]}],"initial_flow":0}