diff --git a/GenerateAction/3 b/GenerateAction/3 new file mode 100644 index 0000000..ad3f24b --- /dev/null +++ b/GenerateAction/3 @@ -0,0 +1,459 @@ +# coding:utf8 +import sys +import os +from SQLHelper import SQLHelper_chat, SQLHelper_data +import pickle +import json +import requests +from collections import defaultdict +reload(sys) +sys.setdefaultencoding('utf8') + + +class Action: + def __init__(self): + self.CONFIG_DIC = {} # 存储全局配置文件的信息 + self.load_global_config("global_config.txt") + self.botId = "" + self.active = "" + self.userName = "" + self.botName = "" + self.waiting_str = "" + self.listening_str = "" + self.http_str = "#actions\r\nname=pivot_httppost\r\nstatus=waiting\r\nstyle=httppost\r\nserviceURL=" \ + +self.CONFIG_DIC["serviceURL"] + "\r\nautomatchthreshold=" \ + +self.CONFIG_DIC["automatchthreshold"] + "\r\n" + self.next_str = "" + self.FUNC_MAP = {"action": self.parse_name, "status": self.parse_status, "condition": self.parse_condition, + "conflict": self.parse_conflict, "process": self.parse_process} + self.ACTION_HEAD_INFO = ["action", "strategythreshold", "automatchthreshold", + "pattern", "conflict", "importance", "style"] + self.KEYWORD_UNIT_INFO = ["options", "AutoMatchURL"] + self.condition_name_list = [] + self.sql_helper = SQLHelper_chat() + self.data_helper = SQLHelper_data() + + def load_global_config(self, engine_config_file): + config = open(engine_config_file, 'r') + for line in config: + if line.strip() == "": + continue + name, value = line.split("|") + self.CONFIG_DIC[name] = value.strip() + + def generate_action(self, parameters): + flag = 1 + try: + conditionList = parameters["conditionList"] + condition_name_list = ["process=nextStep=" + condition["conditionName"] + "|" + condition["conditionName"] + "=active|" + for condition in conditionList] + self.all_nextStep = '\r\n'.join(condition_name_list) + + for condition in conditionList: + conditionName = condition["conditionName"] # .encode("utf-8") + questionList = [que["que_start_time"] + ":" + que["que_stop_time"] + ":" + que["que_sen"] + ":base" if que["base"] == 1 + else que["que_start_time"] + ":" + que["que_stop_time"] + ":" + que["que_sen"] + for que in condition["questionList"]] + questionList_str = '~'.join(questionList) + repeatList = condition["repeatList"] + active_flag = condition["active"] + self.active = conditionName if active_flag else self.active + relation = condition["relationHead"] + "," + condition["relationName"] + "," + condition["relationTail"] # .encode("utf-8") + addition_element = {} + if "styleList" in condition: + addition_element["style"] = set(condition["styleList"]) + + for i in range(3): + + self.append_action_info(conditionName, active_flag, i, addition_element) + self.append_condition(conditionName, relation, questionList_str, repeatList, i) + self.append_process(conditionName, repeatList, i) + self.waiting_str += "process=" + conditionName + "=unknown|pivot_httppost=active|\r\n" + except KeyError as e: + print repr(e) + return 2 + return flag + + def save_action(self, parameters, auth): + # userName = parameters["userName"] + botName = parameters["botName"] + botName_yhm = parameters["botName_yhm"] + botId = parameters["botId"] + + final_str = self.http_str + self.next_str + self.waiting_str + self.listening_str + "\r\n\r\n\r\n" + flag, id = self.post_action(final_str, botId, botName_yhm, parameters["cate"], parameters["cdt_name_ls"], auth) + # flag,id = self.test_post_action(final_str,botId,botName_yhm,parameters["cate"],parameters["cdt_name_ls"], auth) + # 查询bot名 + if id != "error": + botName = self.sql_helper.query_username_by_userid(id) + # print "-------debug mode:query bot name by id" + # botName = "post_test" + # bot名存在且没报错就保存数据 + if flag == 1 and botName != "error": + if botId == "undefined" or self.data_helper.query_data_by_id(id)[0] == "": + flag = self.data_helper.insert_data_by_id(id, json.dumps(parameters, ensure_ascii=False).decode('utf8'), json.dumps({"configList": []}, ensure_ascii=False).decode('utf8')) + else: + flag = self.data_helper.update_action_by_id(id, json.dumps(parameters, ensure_ascii=False).decode('utf8')) + + flag = 4 if botName == "error" else flag + + return flag + ''' + def reload_action(self, userName, botName): + try: + userFile = open("data/" + str(userName) + "-" + str(botName) + "-action.data", 'r') + actionList = [] + action = {} + for line in userFile: + name = line.strip().split("=")[0] + if name == "" : + if action != {}: + actionList.append(action) + action = {} + else: + self.FUNC_MAP[name](line,action) + data = pickle.load(userFile) + userFile.close() + except IOError: + data = [] + return {"actionList": data} + ''' + + def reload_action(self, userName, botName, botId): + data_dir = "data/" + str(userName) + "-" + str(botName) + "-action.data" + action_str, _ = self.data_helper.query_data_by_id(botId) + return_param = {"actionList": []} + + if action_str != "": + return_param = {"actionList": json.loads(action_str)} + elif os.path.isfile(data_dir): + userFile = open(data_dir) + return_param = {"actionList": pickle.load(userFile)} + userFile.close() + return return_param + + ''' + 更新结束语 + ''' + def update_goodbye(self, goodbye_text, userid): + keyword_unit = self.sql_helper.query_keyword_unit_by_userid(userid) + new_unit = "" + for line in keyword_unit.split("\r\n"): + if line.startswith("saygoodbye|") or line.strip() == "": + continue + new_unit += line + "\r\n" + new_unit += "saygoodbye|" + goodbye_text + "\r\n" + flag = self.sql_helper.update_keyword_unit_by_userid(userid, new_unit) + if flag == 0 and new_unit == self.sql_helper.query_keyword_unit_by_userid(userid): + flag = 1 + return 1 if flag == 1 else 3 + + def parse_name(self, text, action): + _, name = text.split("=") + + action["actionName"] = name + + def parse_status(self, text, action): + _, status = text.split("=") + action["status"] = status + + def parse_conflict(self, text, action): + _, conflictStr = text.split("=") + conflictList = conflictStr.split(",") + action["conflictList"] = [] + for conflict in conflictList: + action["conflictList"].append(conflict) + + def parse_condition(self, text, action): + condition, relation, question, repeatStr = text.split("|") + _, conditionName = condition.split("=") + action["conditionName"] = conditionName + action["relation"] = relation + action["question"] = question + repeatList = repeatStr.split(",") + action["repeatList"] = [] + for repeat in repeatList: + repeatDic = {} + re, keywords = repeat.split("=") + repeatDic["repeatString"] = re + repeatDic["repeatKeywords"] = keywords + action["repeatList"].append(repeatDic) + + def parse_process(self, text, action): + processStr, nextAction, reply = text.split("|") + _, proName, keywords = processStr.split("=") + process = {} + if action["processList"] is None: + action["processList"] = [] + process["processName"] = proName + process["processKeyWords"] = keywords + process["nextAction"] = nextAction + process["reply"] = reply + action["processList"].append(process) + + def append_action_info(self, conditionName, active_flag, flag, addition_element): + if not flag: + status = "waiting" if not active_flag else "active" + self.waiting_str += "\r\n\r\nname=" + conditionName + "\r\nstatus=" + status + "\r\n" + for key in self.ACTION_HEAD_INFO: + if key in addition_element: + if key == "style": + addition_element[key].add("interrupt") + self.waiting_str += key + "=" + ','.join(addition_element[key]) + "\r\n" + elif(self.CONFIG_DIC[key] != ""): + self.waiting_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' + self.waiting_str += "fellow=pivot_httppost\r\n" + + if flag == 1: + status = "listening" + self.listening_str += "\r\n\r\nname=" + conditionName + "_listening\r\nstatus=" + status + "\r\n" + for key in self.ACTION_HEAD_INFO: + if(key in addition_element and addition_element[key] != ()): + self.listening_str += key + "=" + ','.join(addition_element[key]) + "\r\n" + elif(self.CONFIG_DIC[key] != ""): + self.listening_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' + self.listening_str += "fellow=pivot_httppost\r\n" + elif flag ==2: + ''' + for key in self.ACTION_HEAD_INFO: + if(self.CONFIG_DIC[key] != ""): + self.http_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' + ''' + + def append_condition(self, conditionName, relation, questionList, repeatList, flag): + if not flag: + self.waiting_str += "condition=" + conditionName + "::1|" + relation + "|" + questionList + "|" + repeat_str = [repeat["repeatString"] + "=+" + repeat["repeatKeywords"].strip("+") if repeat["macro"] == "" else repeat["repeatString"] + "=++" + repeat["macro"].strip("+") + for repeat in repeatList] + reS = "~".join(repeat_str) + self.waiting_str += reS + "\r\n" + if flag == 1: + self.listening_str += "condition=" + conditionName + "|" + relation + "|" + questionList + "|" + repeat_str = [repeat["repeatString"] + "=+" + repeat["repeatKeywords"].strip("+") if repeat["macro"] == "" else repeat["repeatString"] + "=++" + repeat["macro"].strip("+") + for repeat in repeatList] + reS = "~".join(repeat_str) + self.listening_str += reS + "\r\n" + if flag == 2: + self.http_str += "reference=" + conditionName + "|" + relation + "|" + questionList + "|" + repeat_str = [repeat["repeatString"] + "=+" + repeat["repeatKeywords"].strip("+") if repeat["macro"] == "" else repeat["repeatString"] + "=++" + repeat["macro"].strip("+") + for repeat in repeatList] + reS = "~".join(repeat_str) + self.http_str += reS + "\r\n" + + def append_process(self, conditionName, repeatList, flag): + if not flag: + for repeat in repeatList: + self.waiting_str += "process=" + conditionName + "=+" + repeat["repeatKeywords"].strip("+").split('-')[0] + "|pivot_httppost=active|\r\n" if repeat["macro"] == ""\ + else "process=" + conditionName + "=++" + repeat["macro"].strip("+") + "|pivot_httppost=active|\r\n" + elif flag == 1: + for repeat in repeatList: + self.listening_str += "process=" + conditionName + "=+" + repeat["repeatKeywords"].strip("+").split('-')[0] + "|pivot_httppost=active|\r\n" if repeat["macro"] == ""\ + else "process=" + conditionName + "=++" + repeat["macro"].strip("+") + "|pivot_httppost=active|\r\n" + elif flag == 2: + self.next_str += "process=nextStep=" + conditionName + "|" + conditionName + "=active|\r\n" + + def post_action(self, action_str, botId, botName_yhm, cate, cdt_name_ls, auth): + url = self.CONFIG_DIC["engine_url"] + # print action_str + botId = "" if botId == "undefined" else int(botId) + payload= {'id': botId, 'botname': botName_yhm, 'actions': action_str, 'cate': cate, "cdt_name_ls": cdt_name_ls} + headers = {"Authorization": auth} + ret= requests.post(url, json=payload, headers=headers) + print ret.text + return_info = json.loads(ret.text) + if(ret.status_code == 200 and return_info["status"] == "Success" and botId == ""): + keywords = [keyword + "|" + self.CONFIG_DIC[keyword] + "\r\n" for keyword in self.KEYWORD_UNIT_INFO] + text = self.sql_helper.query_keyword_unit_by_userid(return_info["id"]) + k_unit_str = text + ''.join(keywords) + flag = self.sql_helper.update_keyword_unit_by_userid(return_info["id"], k_unit_str) + +# flag = self.sql_helper.update_url(return_info["id"],self.CONFIG_DIC["get_info_url"]) + return flag, return_info["id"] + elif(ret.status_code == 200 and return_info["status"] == "Success" and botId != ""): + return 1, return_info["id"] + else: + return 4, "error" + + def test_post_action(self, action_str, botId, botName_yhm, cate, cdt_name_ls, auth): + print "-------debug mode:test_post_action" + print action_str + return 1, "0000" + +# ---------------------------------------------------------------- +# ---------------condition逐个操作-------------------------------- +# ---------------------------------------------------------------- + + def bot_initialization(self, parameters): + ''' + # 根据前台信息新建一个bot + # 设置action的默认内容 + # return:bot的id + # 提交到引擎 + ''' + init_action_str = "" + flag, botId = self.post_action(init_action_str, parameters["botId"], parameters["botName_yhm"], parameters["cate"], + parameters["cdt_name_ls"], parameters["auth"]) + + return flag, botId + + def delete_condition(self, parameters): + ''' + 根据id删除某一条condition + ''' + conditionId = parameters["conditionId"] + botId = parameters["botId"] + flag = self.data_helper.delete_condition_by_2id(botId, conditionId) + + message = "success" if flag == 1 else "sql_error" + return flag, message + + def insert_condition(self, parameters): + conditionData = parameters["conditionData"] + botId = parameters["botId"] + conditionList = [] + if isinstance(conditionData, dict): + conditionList.append(conditionData) + elif isinstance(conditionData, list): + conditionList.extend(conditionData) + + for conditionData in conditionList: + self.waiting_str = "" + self.listening_str = "" + actionText = self.generate_single_action(conditionData) + # print actionText + categoryStr = conditionData["conditionCategory"] + flag, last_id = self.data_helper.insert_condition_by_botid(botId, json.dumps(conditionData, ensure_ascii=False), actionText, categoryStr) + + message = str(last_id) if flag == 1 else "0" + return flag, message + + def update_condition(self, parameters): + deleteList = [] + self.active = "" + conditionData = parameters["conditionData"] + if isinstance(conditionData, dict): + deleteList.append({"botId": parameters["botId"], "conditionId": parameters["conditionId"], "conditionData": conditionData}) + elif isinstance(conditionData, list): + deleteList.extend(conditionData) + + for condition in deleteList: + botId = condition["botId"] + conditionId = condition["conditionId"] + conditionData = condition["conditionData"] + categoryStr = conditionData["conditionCategory"] + if conditionData["active"]: + self.active = conditionData["conditionName"] + actionText = self.generate_single_action(conditionData) + flag = self.data_helper.update_condition_by_2id(botId, conditionId, json.dumps(conditionData, ensure_ascii=False), actionText, categoryStr) + + message = "success" if flag == 1 else "sql_error" + return flag, message + + def query_condition(self, parameters): + botId = parameters["botId"] + categoryStr = parameters["conditionCategory"] + condition_dataset = self.data_helper.query_condition_by_category(botId, categoryStr) + condition_list = [json.loads(condition[0]) for condition in condition_dataset] \ + if condition_dataset is not None else [] + condList = {"conditionList": condition_list} + + return 1, condList + + def generate_single_action(self, condition): + conditionName = condition["conditionName"] + questionList = [que["que_start_time"] + ":" + que["que_stop_time"] + ":" + que["que_sen"] + ":base" if que["base"] == 1 + else que["que_start_time"] + ":" + que["que_stop_time"] + ":" + que["que_sen"] + for que in condition["questionList"]] + questionList_str = '~'.join(questionList) + repeatList = condition["repeatList"] + active_flag = condition["active"] + self.active = conditionName if active_flag else self.active + relation = condition["relationHead"] + "," + condition["relationName"] + "," + condition["relationTail"] # .encode("utf-8") + addition_element = {} + if "styleList" in condition: + addition_element["style"] = set(condition["styleList"]) + + for i in range(3): + self.append_action_info(conditionName, active_flag, i, addition_element) + self.append_condition(conditionName, relation, questionList_str, repeatList, i) + self.append_process(conditionName, repeatList, i) + self.waiting_str += "process=" + conditionName + "=unknown|pivot_httppost=active|\r\n" + + return self.waiting_str + self.listening_str + + def query_post_action(self, parameters): + botId = parameters["botId"] + action_list = self.data_helper.query_condition_by_botid(botId) + conditionList= [json.loads(conditionData[0]) for conditionData in action_list] + action_str = "" + conditionNameList = [] + httppost = "#actions\r\nname=pivot_httppost\r\nstatus=waiting\r\nstyle=httppost\r\nserviceURL=" + self.CONFIG_DIC["serviceURL"] + \ + "\r\nautomatchthreshold=" + self.CONFIG_DIC["automatchthreshold"] + "\r\n" + + for action in action_list: + action = action[1] + action_str += action + for line in action.split("\r\n"): + if line.startswith("condition"): + element = line.strip().split("|") + # element[0] = condition=xxx::1 + element[0] = "reference=" + element[0].split("::")[0].split("=")[1] + httppost += "|".join(element) + "\r\n" + conditionNameList.append(element[0].split("=")[1]) + break + for conditionName in conditionNameList: + httppost += "process=nextStep=" + conditionName + "|" + conditionName + "=active|\r\n" + + final_str = httppost + action_str + "\r\n\r\n" + final_str = self.macro_replace(botId, final_str) + + print "final_str:", final_str + + flag = self.post_action(final_str, parameters["botId"], parameters["botName_yhm"], + parameters["cate"], parameters["cdt_name_ls"], parameters["auth"]) + return flag, conditionList + + def macro_replace(self, botId, final_str): + ''' + 获取用户名,查找关键词单元的宏定义,根据宏定义替换action的内容 + userName = self.sql_helper.query_username_by_userid("botId") + ''' + keyword_unit = self.sql_helper.query_keyword_unit_by_userid(botId) + for line in keyword_unit.split("\r\n"): + if line.startswith("++"): + pair = line.split("|") + final_str = final_str.replace(pair[0], pair[1]) + + return final_str + + def query_category(self, parameters): + botId = parameters["botId"] + tree = defaultdict(lambda: dict()) + condition_category = self.data_helper.query_condition_category_by_id(botId) + + if condition_category is None: + return 1, [] + + for category_chain in condition_category: + category_chain = category_chain[0] + category_chain = category_chain.split("-") + root = tree + for category in category_chain: + root.setdefault(category, {}) + root = root[category] + category_map = defaultdict(lambda: dict()) + category_map[0]["children"] = [] + self.construct_category_map(tree, category_map, 0) + return 1, category_map[0]["children"] + + def construct_category_map(self, root, category_map, parentId): + for key in root.keys(): + id, name = key.split(":") + category_map[id] = {"value": id, "lable": name} + if "children" not in category_map[parentId]: + category_map[parentId] = [] + category_map[parentId]["children"].append(category_map[id]) + self.construct_category_map(root["key"], category_map, id) + +# ---------------------------------------------------------------------- +# ---------------------------------------------------------------------- diff --git a/GenerateAction/Action.py b/GenerateAction/Action.py index 21ef266..8abe03c 100644 --- a/GenerateAction/Action.py +++ b/GenerateAction/Action.py @@ -1,111 +1,126 @@ -#coding:utf8 -import sys; -reload(sys); -from SQLHelper import * -sys.setdefaultencoding('utf8'); +# coding:utf8 +import sys +import os +from SQLHelper import SQLHelper_chat, SQLHelper_data import pickle import json import requests +from BackgroundConfig import BackgroundConfig +from collections import defaultdict +reload(sys) +sys.setdefaultencoding('utf8') + class Action: def __init__(self): - self.CONFIG_DIC = {} #存储全局配置文件的信息 + self.CONFIG_DIC = {} # 存储全局配置文件的信息 self.load_global_config("global_config.txt") self.botId = "" + self.active = "" self.userName = "" self.botName = "" self.waiting_str = "" self.listening_str = "" - self.http_str = "#actions\r\nname=pivot_httppost\r\nstatus=waiting\r\nstyle=httppost\r\nserviceURL=" \ - +self.CONFIG_DIC["serviceURL"] + "\r\nautomatchthreshold=" \ - +self.CONFIG_DIC["automatchthreshold"] + "\r\n" + self.http_str = "#actions\r\n"\ + + "name=pivot_httppost\r\n"\ + + "status=waiting\r\n"\ + + "style=httppost\r\n"\ + + "serviceURL=" + self.CONFIG_DIC["serviceURL"] + "\r\n"\ + + "automatchthreshold=" +self.CONFIG_DIC["automatchthreshold"] + "\r\n" + self.next_str = "" - self.FUNC_MAP = {"action":self.parse_name,"status":self.parse_status,"condition":self.parse_condition - ,"conflict":self.parse_conflict,"process":self.parse_process} - self.ACTION_HEAD_INFO = ["action","strategythreshold","automatchthreshold" - ,"pattern","conflict","importance","style"] - self.KEYWORD_UNIT_INFO = ["options","AutoMatchURL"] - self.condition_name_list = [] - self.sql_helper = SQLHelper() + self.FUNC_MAP = {"action": self.parse_name, + "status": self.parse_status, "condition": self.parse_condition, + "conflict": self.parse_conflict, "process": self.parse_process} + self.ACTION_HEAD_INFO = ["action", "strategythreshold", + "automatchthreshold", "pattern", + "conflict", "importance", "style"] + self.KEYWORD_UNIT_INFO = ["options", "AutoMatchURL"] + self.condition_name_list = [] + self.sql_helper = SQLHelper_chat() + self.data_helper = SQLHelper_data() - def load_global_config(self,engine_config_file): - config = open(engine_config_file,'r') + def load_global_config(self, engine_config_file): + config = open(engine_config_file, 'r') for line in config: if line.strip() == "": continue - name,value = line.split("|") + name, value = line.split("|") self.CONFIG_DIC[name] = value.strip() - - def generate_action(self,parameters): + def generate_action(self, parameters): flag = 1 try: - userName = parameters["userName"]#.encode("utf-8") conditionList = parameters["conditionList"] - botName = parameters["botName"] - botId = parameters["botId"] - condition_name_list = ["process=nextStep="+condition["conditionName"]+"|"+condition["conditionName"]+"=active|" - for condition in conditionList] - print condition_name_list + condition_name_list = ["process=nextStep=" + condition["conditionName"] + "|" + + condition["conditionName"] + "=active|" + for condition in conditionList] self.all_nextStep = '\r\n'.join(condition_name_list) for condition in conditionList: - conditionName = condition["conditionName"]#.encode("utf-8") - questionList = [que["que_start_time"]+":"+que["que_stop_time"]+":"+que["que_sen"]+":base" if que["base"] == 1 - else que["que_start_time"]+":"+que["que_stop_time"]+":"+que["que_sen"] - for que in condition["questionList"]] + conditionName = condition["conditionName"] # .encode("utf-8") + questionList = [que["que_start_time"] + ":" + + que["que_stop_time"] + ":" + + que["que_sen"] + ":base" + if que["base"] == 1 + else que["que_start_time"] + ":" + que["que_stop_time"] + ":" + que["que_sen"] + for que in condition["questionList"]] + questionList_str = '~'.join(questionList) repeatList = condition["repeatList"] active_flag = condition["active"] - relation = condition["relationHead"]+","+condition["relationName"]+","+condition["relationTail"]#.encode("utf-8") - print conditionName - print active_flag + self.active = conditionName if active_flag else self.active + relation = condition["relationHead"] + ","\ + + condition["relationName"] + "," + condition["relationTail"] # .encode("utf-8") + addition_element = {} + if "styleList" in condition: + addition_element["style"] = set(condition["styleList"]) for i in range(3): - self.insert_action_info(conditionName,active_flag,i) - self.insert_condition(conditionName,relation,questionList_str,repeatList,i) - self.insert_process(conditionName,repeatList,i) - self.waiting_str += "process="+conditionName+"=unknown|pivot_httppost=active|\r\n" - #add a extra information for backend config file -# if active_flag ; -# parameters["activeAction"] = conditionName + self.append_action_info(conditionName, active_flag, i, addition_element) + self.append_condition(conditionName, relation, questionList_str, repeatList, i) + self.append_process(conditionName, repeatList, i) + self.waiting_str += "process=" + conditionName + "=unknown|pivot_httppost=active|\r\n" except KeyError as e: print repr(e) - return 2 - + return 2 return flag - - def save_action(self,parameters,auth): - userName = parameters["userName"] + + def save_action(self, parameters, auth): + # userName = parameters["userName"] botName = parameters["botName"] botName_yhm = parameters["botName_yhm"] botId = parameters["botId"] - final_str = self.http_str + self.next_str + self.waiting_str+self.listening_str+"\r\n\r\n\r\n" - flag,id = self.post_action(final_str,botId,botName_yhm,parameters["cate"],parameters["cdt_name_ls"],auth) + final_str = self.http_str + self.next_str + self.waiting_str + self.listening_str + "\r\n\r\n\r\n" + flag, id = self.post_action( + final_str, botId, botName_yhm, parameters["cate"], + parameters["cdt_name_ls"], auth) + + # 查询bot名 if id != "error": botName = self.sql_helper.query_username_by_userid(id) - if flag == 1 and botName != "error": - userFile = open("data/"+str(userName)+"-"+str(botName)+"-action.txt",'w') - userData = open("data/"+str(userName)+"-"+str(botName)+"-action.data",'w') - pickle.dump(parameters,userData) - userFile.write(final_str) - userFile.close() - userData.close() + # print "-------debug mode:query bot name by id" + # botName = "post_test" + # bot名存在且没报错就保存数据 + if flag == 1 and botName != "error": + if botId == "undefined" or self.data_helper.query_data_by_id(id)[0] == "": + flag = self.data_helper.insert_data_by_id( + id, json.dumps(parameters, ensure_ascii=False).decode('utf8'), + json.dumps({"configList": []}, ensure_ascii=False).decode('utf8')) + else: + flag = self.data_helper.update_action_by_id( + id, json.dumps(parameters, ensure_ascii=False).decode('utf8')) + flag = 4 if botName == "error" else flag - print "sql_query:",botName - return flag - - - - def reload_action(self,userName,botName): + ''' + def reload_action(self, userName, botName): try: - userFile = open("data/"+str(userName)+"-"+str(botName)+"-action.data",'r') - ''' + userFile = open("data/" + str(userName) + "-" + str(botName) + "-action.data", 'r') actionList = [] action = {} for line in userFile: @@ -116,49 +131,82 @@ class Action: action = {} else: self.FUNC_MAP[name](line,action) - ''' data = pickle.load(userFile) userFile.close() except IOError: data = [] - return {"actionList":data} + return {"actionList": data} + ''' + + def reload_action(self, userName, botName, botId): + data_dir = "data/" + str(userName) + "-" + str(botName) + "-action.data" + action_str, _ = self.data_helper.query_data_by_id(botId) + return_param = {"actionList": []} + if action_str != "": + return_param = {"actionList": json.loads(action_str)} + elif os.path.isfile(data_dir): + userFile = open(data_dir) + return_param = {"actionList": pickle.load(userFile)} + userFile.close() + return return_param + + ''' + 更新结束语 + ''' + def update_goodbye(self, parameters): + goodbye_text = parameters["sayGoodBye"] + username = parameters["botName"] + userid = self.sql_helper.query_userid_by_username(username) + keyword_unit = self.sql_helper.query_keyword_unit_by_userid(userid) + new_unit = "" + for line in keyword_unit.split("\r\n"): + if line.startswith("saygoodbye|") or line.strip() == "": + continue + new_unit += line + "\r\n" + new_unit += "saygoodbye|" + goodbye_text + "\r\n" + flag = self.sql_helper.update_keyword_unit_by_userid(userid, new_unit) + print "new_unit:", new_unit + if flag == 0 and new_unit == self.sql_helper.query_keyword_unit_by_userid(userid): + flag = 1 + return (1, "") if flag == 1 else (3, "") + + def parse_name(self, text, action): + _, name = text.split("=") - def parse_name(self,text,action): - _,name = text.split("=") - action["actionName"] = name - def parse_status(self,text,action): - _,status = text.split("=") + + def parse_status(self, text, action): + _, status = text.split("=") action["status"] = status - - def parse_conflict(self,text,action): - _,conflictStr = text.split("=") + + def parse_conflict(self, text, action): + _, conflictStr = text.split("=") conflictList = conflictStr.split(",") action["conflictList"] = [] for conflict in conflictList: action["conflictList"].append(conflict) - - def parse_condition(self,text,action): - condition,relation,question,repeatStr = text.split("|") - _,conditionName = condition.split("=") + + def parse_condition(self, text, action): + condition, relation, question, repeatStr = text.split("|") + _, conditionName = condition.split("=") action["conditionName"] = conditionName action["relation"] = relation action["question"] = question repeatList = repeatStr.split(",") - action["repeatList"] = [] + action["repeatList"] = [] for repeat in repeatList: repeatDic = {} - re,keywords = repeat.split("=") + re, keywords = repeat.split("=") repeatDic["repeatString"] = re repeatDic["repeatKeywords"] = keywords action["repeatList"].append(repeatDic) - - def parse_process(self,text,action): - processStr,nextAction,reply = text.split("|") - _,proName,keywords = processStr.split("=") + + def parse_process(self, text, action): + processStr, nextAction, reply = text.split("|") + _, proName, keywords = processStr.split("=") process = {} - if action["processList"] == None: + if action["processList"] is None: action["processList"] = [] process["processName"] = proName process["processKeyWords"] = keywords @@ -166,82 +214,401 @@ class Action: process["reply"] = reply action["processList"].append(process) - def insert_action_info(self,conditionName,active_flag,flag): + def append_action_info(self, conditionName, active_flag, flag, addition_element): + ''' + 构建action的头部信息,包括name、status、style、fellow等信息 + 其中addition_element,就是前段传的一些参数 + ''' if not flag: status = "waiting" if not active_flag else "active" - print status - self.waiting_str += "\r\n\r\nname=" + conditionName + "\r\nstatus="+status+"\r\nstyle=interrupt\r\n" + self.waiting_str += "\r\n\r\nname=" + conditionName + "\r\nstatus=" + status + "\r\n" for key in self.ACTION_HEAD_INFO: - if(self.CONFIG_DIC[key] != ""): - self.waiting_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' - self.waiting_str += "fellow=pivot_httppost\r\n" - + if key in addition_element: + if key == "style": + addition_element[key].add("interrupt") + self.waiting_str += key + "=" + ','.join(addition_element[key]) + "\r\n" + elif(self.CONFIG_DIC[key] != ""): + self.waiting_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' + self.waiting_str += "fellow=pivot_httppost\r\n" + if flag == 1: - status = "listening" - self.listening_str += "\r\n\r\nname=" + conditionName + "_listening\r\nstatus="+status+"\r\n" + status = "listening" + self.listening_str += "\r\n\r\nname=" + conditionName + "_listening\r\nstatus=" + status + "\r\n" for key in self.ACTION_HEAD_INFO: - if(self.CONFIG_DIC[key] != ""): + if(key in addition_element and addition_element[key] != ()): + self.listening_str += key + "=" + ','.join(addition_element[key]) + "\r\n" + elif(self.CONFIG_DIC[key] != ""): self.listening_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' self.listening_str += "fellow=pivot_httppost\r\n" elif flag ==2: - ''' + ''' for key in self.ACTION_HEAD_INFO: if(self.CONFIG_DIC[key] != ""): self.http_str += key + "=" + self.CONFIG_DIC[key] + '\r\n' ''' - - def insert_condition(self,conditionName,relation,questionList,repeatList,flag): + def append_condition(self, conditionName, relation, questionList, repeatList, flag): if not flag: - self.waiting_str += "condition="+conditionName+"::1|"+relation+"|"+questionList+"|" - repeat_str = [repeat["repeatString"]+"=+"+repeat["repeatKeywords"] for repeat in repeatList] + self.waiting_str += "condition=" + conditionName + "::1|" + relation + "|" + questionList + "|" + repeat_str = [repeat["repeatString"] + "=+" + repeat["repeatKeywords"].strip("+") + if repeat["macro"] == "" + else repeat["repeatString"] + "=++" + repeat["macro"].strip("+") + for repeat in repeatList] + reS = "~".join(repeat_str) self.waiting_str += reS + "\r\n" if flag == 1: - self.listening_str += "condition="+conditionName+"|"+relation+"|"+questionList+"|" - repeat_str = [repeat["repeatString"]+"=+"+repeat["repeatKeywords"] for repeat in repeatList] + self.listening_str += "condition=" + conditionName + "|" + relation + "|" + questionList + "|" + repeat_str = [repeat["repeatString"] + "=+" + repeat["repeatKeywords"].strip("+") + if repeat["macro"] == "" + else repeat["repeatString"] + "=++" + repeat["macro"].strip("+") + for repeat in repeatList] + reS = "~".join(repeat_str) self.listening_str += reS + "\r\n" if flag == 2: - self.http_str += "reference="+conditionName+"|"+relation+"|"+questionList+"|" - repeat_str = [repeat["repeatString"]+"=+"+repeat["repeatKeywords"] for repeat in repeatList] - reS = "~".join(repeat_str) - self.http_str += reS + "\r\n" + self.http_str += "reference=" + conditionName + "|" + relation + "|" + questionList + "|" + repeat_str = [repeat["repeatString"] + "=+" + repeat["repeatKeywords"].strip("+") + if repeat["macro"] == "" + else repeat["repeatString"] + "=++" + repeat["macro"].strip("+") + for repeat in repeatList] + reS = "~".join(repeat_str) + self.http_str += reS + "\r\n" - def insert_process(self,conditionName,repeatList,flag): + def append_process(self, conditionName, repeatList, flag): if not flag: for repeat in repeatList: - self.waiting_str += "process="+conditionName+"=+"+repeat["repeatKeywords"].split('-')[0]+"|pivot_httppost=active|\r\n" + self.waiting_str += "process=" + conditionName + "=+"\ + + repeat["repeatKeywords"].strip("+").split('-')[0]\ + + "|pivot_httppost=active|\r\n" \ + if repeat["macro"] == ""\ + else "process=" + conditionName + "=++" + repeat["macro"].strip("+") + "|pivot_httppost=active|\r\n" elif flag == 1: for repeat in repeatList: - self.listening_str += "process="+conditionName+"=+"+repeat["repeatKeywords"].split('-')[0]+"|pivot_httppost=active|\r\n" + self.listening_str += "process=" + conditionName + "=+" + repeat["repeatKeywords"].strip("+").split('-')[0] + "|pivot_httppost=active|\r\n"\ + if repeat["macro"] == ""\ + else "process=" + conditionName + "=++" + repeat["macro"].strip("+") + "|pivot_httppost=active|\r\n" elif flag == 2: - self.next_str += "process=nextStep="+conditionName+"|"+conditionName+"=active|\r\n" - - def post_action(self,action_str,botId,botName_yhm,cate,cdt_name_ls,auth): - url = self.CONFIG_DIC["engine_url"] - print action_str + self.next_str += "process=nextStep=" + conditionName + "|" + conditionName + "=active|\r\n" + + def post_action(self, action_str, botId, botName_yhm, cate, cdt_name_ls, auth): + url = self.CONFIG_DIC["engine_url"] + '/post/actions' + # print action_str botId = "" if botId == "undefined" else int(botId) - payload= {'id':botId,'botname':botName_yhm,'actions':action_str,'cate':cate,"cdt_name_ls":cdt_name_ls} - headers = {"Authorization":auth} - ret= requests.post(url,json=payload,headers=headers) + payload= {'id': botId, 'botname': botName_yhm, + 'actions': action_str, 'cate': cate, + "cdt_name_ls": cdt_name_ls} + + headers = {"Authorization": auth} + ret= requests.post(url, json=payload, headers=headers) print ret.text return_info = json.loads(ret.text) if(ret.status_code == 200 and return_info["status"] == "Success" and botId == ""): - keywords = [keyword+"|"+self.CONFIG_DIC[keyword]+"\r\n" for keyword in self.KEYWORD_UNIT_INFO] + keywords = [keyword + "|" + self.CONFIG_DIC[keyword] + "\r\n" for keyword in self.KEYWORD_UNIT_INFO] text = self.sql_helper.query_keyword_unit_by_userid(return_info["id"]) - k_unit_str = text + ''.join(keywords) - flag = self.sql_helper.update_keyword_unit_by_userid(return_info["id"],k_unit_str) - + k_unit_str = text + ''.join(keywords) + flag = self.sql_helper.update_keyword_unit_by_userid(return_info["id"], k_unit_str) + # flag = self.sql_helper.update_url(return_info["id"],self.CONFIG_DIC["get_info_url"]) - return flag,return_info["id"] + return flag, return_info["id"] elif(ret.status_code == 200 and return_info["status"] == "Success" and botId != ""): - return 1,return_info["id"] + return 1, return_info["id"] else: - return 4,"error" + return 4, "error" + + def get_cdt_ls(self, botId, auth): + url = self.CONFIG_DIC["engine_url"] + "/get/actions/" + str(botId) + print "url", url + headers = {"Authorization": auth} + ret = requests.get(url, headers=headers) + print ret.text + return_info = json.loads(ret.text) + + return return_info["cate"], return_info["cdt_name_ls"] + + def test_post_action(self, action_str, botId, botName_yhm, cate, cdt_name_ls, auth): + print "-------debug mode:test_post_action" + print action_str + return 1, "0000" + +# ---------------------------------------------------------------- +# ---------------condition逐个操作-------------------------------- +# ---------------------------------------------------------------- + + def bot_initialization(self, parameters): + ''' + # 根据前台信息新建一个bot + # 设置action的默认内容 + # return:bot的id + # 提交到引擎 + ''' + init_action_str = "" + flag, botId = self.post_action(init_action_str, parameters["botId"], + parameters["botName_yhm"], parameters["cate"], + parameters["cdt_name_ls"], parameters["auth"]) + + return flag, botId + + def delete_condition(self, parameters): + ''' + 根据id删除某一条condition + ''' + conditionId = parameters["conditionId"] + botId = parameters["botId"] + flag = self.data_helper.delete_condition_by_2id(botId, conditionId) + + message = "success" if flag == 1 else "sql_error" + return flag, message + + def insert_condition(self, parameters): + conditionData = parameters["conditionData"] + botId = parameters["botId"] + conditionDataList = self.data_helper.query_condition_by_botId(botId) + conditionDataList = conditionDataList if conditionDataList is not None else [] + conditionNameList = [conditionPair[1].strip("\r\n")[:100].split("\r\n")[0].split("=")[1] + for conditionPair in conditionDataList] + + conditionList = [] + conditionIdList = [] + errorList = [] + error = 0 + if isinstance(conditionData, dict): + conditionList.append(conditionData) + elif isinstance(conditionData, list): + conditionList.extend(conditionData) + + for conditionData in conditionList: + if conditionData["conditionName"] in conditionNameList: + error = 1 + errorList.append(conditionData["conditionName"]) + continue + self.waiting_str = "" + self.listening_str = "" + actionText = self.generate_single_action(conditionData) + # print actionText + categoryStr = conditionData["conditionCategory"] + active = 0 + flag, last_id = self.data_helper.insert_condition_by_botid( + botId, json.dumps(conditionData, ensure_ascii=False), + actionText, categoryStr, active) + conditionIdList.append(last_id) + flag = 2 if error else 1 + if flag == 1: + message = conditionIdList + elif flag == 2: + message = ' '.join(errorList) + else: + message = [] + + return flag, message + + def update_condition(self, parameters): + deleteList = [] + self.active = "" + conditionData = parameters["conditionData"] + if isinstance(conditionData, dict): + deleteList.append({"botId": parameters["botId"], + "conditionId": parameters["conditionId"], + "conditionData": conditionData}) + elif isinstance(conditionData, list): + deleteList.extend(conditionData) + + for condition in deleteList: + botId = condition["botId"] + conditionId = condition["conditionId"] + conditionData = condition["conditionData"] + categoryStr = conditionData["conditionCategory"] + active = 1 if conditionData["active"] else 0 + if conditionData["active"]: + self.active = conditionData["conditionName"] + self.waiting_str = "" + self.listening_str = "" + actionText = self.generate_single_action(conditionData) + flag = self.data_helper.update_condition_by_2id( + botId, conditionId, json.dumps(conditionData, ensure_ascii=False), + actionText, categoryStr, active + ) + + message = "success" if flag == 1 else "sql_error" + return flag, message + + def query_condition(self, parameters): + botId = parameters["botId"] + if "queryType" not in parameters or parameters["queryType"] == "category": + categoryStr = parameters["conditionCategory"] + condition_dataset = self.data_helper.query_condition_by_category(botId, categoryStr) + else: + condition_dataset = self.data_helper.query_condition_by_botId(botId) + condition_dataset = condition_dataset if condition_dataset is not None else [] + conditionList= [] + for condition in condition_dataset: + data = json.loads(condition[0]) + data["conditionId"] = condition[2] + conditionList.append(data) + condList = {"conditionList": conditionList} + + return 1, condList + + def generate_single_action(self, condition): + conditionName = condition["conditionName"] + questionList = [que["que_start_time"] + ":" + que["que_stop_time"] + + ":" + que["que_sen"] + ":base" if que["base"] == 1 + else que["que_start_time"] + ":" + que["que_stop_time"] + ":" + que["que_sen"] + for que in condition["questionList"]] + questionList_str = '~'.join(questionList) + repeatList = condition["repeatList"] + active_flag = condition["active"] + self.active = conditionName if active_flag else self.active + relation = condition["relationHead"] + ","\ + + condition["relationName"]\ + + "," + condition["relationTail"] # .encode("utf-8") + addition_element = {} + if "styleList" in condition: + addition_element["style"] = set(condition["styleList"]) + + for i in range(3): + self.append_action_info(conditionName, active_flag, i, addition_element) + self.append_condition(conditionName, relation, questionList_str, repeatList, i) + self.append_process(conditionName, repeatList, i) + self.waiting_str += "process=" + conditionName + "=unknown|pivot_httppost=active|\r\n" + + return self.waiting_str + self.listening_str + + def query_post_action(self, parameters): + botId = parameters["botId"] + action_list = self.data_helper.query_condition_by_botId(botId) + hasActive = self.data_helper.query_active_condition(botId) + print "hasActive", hasActive + conditionList = [] + actionTextList = [] + for data in action_list: + conditionList.append(json.loads(data[0])) + actionTextList.append(data[1]) + + if hasActive is () and len(actionTextList) >= 1: + print "is none=------------------" + actionTextList[0] = actionTextList[0].replace("status=waiting", "status=active") + + action_str = "" + conditionNameList = [] + httppost = "#actions\r\n"\ + + "name=pivot_httppost\r\n"\ + + "status=waiting\r\n"\ + + "style=httppost\r\n"\ + + "serviceURL=" + self.CONFIG_DIC["serviceURL"] + "\r\n"\ + + "automatchthreshold=" + self.CONFIG_DIC["automatchthreshold"] + "\r\n" + + for action in actionTextList: + action_str += action + for line in action.split("\r\n"): + if line.startswith("condition"): + element = line.strip().split("|") + # element[0] = condition=xxx::1 + element[0] = "reference=" + element[0].split("::")[0].split("=")[1] + httppost += "|".join(element) + "\r\n" + conditionNameList.append(element[0].split("=")[1]) + break + for conditionName in conditionNameList: + httppost += "process=nextStep=" + conditionName + "|" + conditionName + "=active|\r\n" + + final_str = httppost + action_str + "\r\n\r\n" + final_str = self.macro_replace(botId, final_str) + + print "final_str:", final_str + + flag, _ = self.post_action(final_str, parameters["botId"], parameters["botName_yhm"], + parameters["cate"], parameters["cdt_name_ls"], parameters["auth"]) + return flag, conditionList + + def macro_replace(self, botId, final_str): + ''' + 获取用户名,查找关键词单元的宏定义,根据宏定义替换action的内容 + userName = self.sql_helper.query_username_by_userid("botId") + ''' + keyword_unit = self.sql_helper.query_keyword_unit_by_userid(botId) + for line in keyword_unit.split("\r\n"): + if line.startswith("++"): + pair = line.split("|") + final_str = final_str.replace(pair[0], pair[1]) + + return final_str + + def query_category(self, parameters): + botId = parameters["botId"] + tree = defaultdict(lambda: dict()) + condition_category = self.data_helper.query_condition_category_by_id(botId) + + if condition_category is None: + return 1, [] + + for category_chain in condition_category: + category_chain = category_chain[0] + category_chain = category_chain.split("-") + root = tree + for category in category_chain: + root.setdefault(category, {}) + root = root[category] + category_map = defaultdict(lambda: dict()) + category_map[0]["children"] = [] + self.construct_category_map(tree, category_map, 0) + return 1, category_map[0]["children"] + + def construct_category_map(self, root, category_map, parentId): + for key in root.keys(): + id, name = key.split(":") + category_map[id] = {"value": id, "label": name} + if "children" not in category_map[parentId]: + category_map[parentId] = [] + category_map[parentId]["children"].append(category_map[id]) + self.construct_category_map(root["key"], category_map, id) + + def change_active(self, parameters): + parameters["conditionData"] = [] + botId = parameters['botId'] + oldActiveCondition = self.data_helper.query_active_condition(botId) + if oldActiveCondition is not (): + conditionId = oldActiveCondition[0][0] + conditionData = json.loads(oldActiveCondition[0][1]) + conditionData["active"] = False + conditionCategory = oldActiveCondition[0][2] + parameters["conditionData"].append( + {"botId": botId, "conditionId": conditionId, + "conditionData": conditionData, "conditionCategory": conditionCategory} + ) + + newActiveCondition = self.data_helper.query_condition_by_2Id( + parameters["botId"], parameters["activeConditionId"] + ) + conditionData = json.loads(newActiveCondition[0][0]) + conditionData["active"] = True + conditionCategory = newActiveCondition[0][2] + parameters["conditionData"].append( + {"conditionData": conditionData, + "conditionId": parameters["activeConditionId"], + "botId": botId, "conditionCategory": conditionCategory} + ) + + flag, message = self.update_condition(parameters) + if flag == 1: + back = BackgroundConfig() + back.post_single_config_to_backend( + {"userName": parameters['botName'], "type": "extra_info", + "configId": -1, "configData": "-extraInfo-|activeAction|" + conditionData['conditionName']} + ) - - + return flag, message + def merge_cdt_name_ls_from_engine(self, parameters): + id2name = {} + parameters["cdt_name_ls"] = parameters["cdt_name_ls"] if "cdt_name_ls" in parameters else [] + for id, name in parameters["cdt_name_ls"]: + id2name[id] = name + cate, cdt_name_ls = self.get_cdt_ls(parameters["botId"], parameters["auth"]) + parameters["cate"] = cate + for id, name in cdt_name_ls: + if id not in id2name: + parameters["cdt_name_ls"].append([id, name]) +# ---------------------------------------------------------------------- +# ---------------------------------------------------------------------- diff --git a/GenerateAction/Action.pyc b/GenerateAction/Action.pyc new file mode 100644 index 0000000..dbcb70a Binary files /dev/null and b/GenerateAction/Action.pyc differ diff --git a/GenerateAction/BackgroundConfig.py b/GenerateAction/BackgroundConfig.py index 280ca2b..34ee1d4 100644 --- a/GenerateAction/BackgroundConfig.py +++ b/GenerateAction/BackgroundConfig.py @@ -1,167 +1,148 @@ -#coding:utf8 +# coding:utf8 import requests +import pickle import json -from Action import * -import sys; +from SQLHelper import SQLHelper_chat, SQLHelper_data +# from Action import * +import sys import os -reload(sys); -sys.setdefaultencoding('utf8'); +from collections import defaultdict +reload(sys) +sys.setdefaultencoding('utf8') + class BackgroundConfig(): ''' 根据post的参数保存成配置文件的形式 ''' - + def __init__(self): self.config_string = "" - self.CONFIG_DIC = {} #存储全局配置文件的信息 + self.CONFIG_DIC = {} # 存储全局配置文件的信息 self.load_global_config("global_config.txt") - - - def load_global_config(self,engine_config_file): - config = open(engine_config_file,'r') + self.sql_helper = SQLHelper_chat() + self.data_helper = SQLHelper_data() + + def load_global_config(self, engine_config_file): + config = open(engine_config_file, 'r') for line in config: if line.strip() == "": continue - name,value = line.split("|") + name, value = line.split("|") self.CONFIG_DIC[name] = value.strip() - - def reload_background_config(self,userName,botName): - try: - userFile = open("data/"+userName+"-"+botName+'-config.data','r') - ''' - actionList = [] - action = {} - for line in userFile: - name = line.strip().split("=")[0] - if name == "" : - if action != {}: - actionList.append(action) - action = {} - else: - self.FUNC_MAP[name](line,action) - ''' - data = pickle.load(userFile) - userFile.close() - except IOError: - data = [] - return {"configList":data} + + def reload_background_config(self, userName, botName, botId): # 向前端返回后台机器人配置文件 + userFile = "data/" + userName + "-" + botName + '-config.data' + return_param = {"configList": []} + _, config_str = self.data_helper.query_data_by_id(botId) + if config_str != "" and config_str != json.dumps(return_param, ensure_ascii=False): + return_param = {"configList": json.loads(config_str)} + elif os.path.isfile(userFile): + try: + userFile = open(userFile, 'r') + return_param = {"configList": pickle.load(userFile)} + userFile.close() + except IOError: + return_param = {"configList": []} + + return return_param ''' 保存配置文件 ''' - def save_background_config(self,parameters): + def generate_background_config(self, parameters): flag = 1 try: - userName = parameters["userName"].strip() configList = parameters["configList"] - botName = parameters["botName"].strip() - - self.config_string += self.load_extra_user_info(userName,botName) + + # self.config_string += self.load_extra_user_info(userName, botName, botId) + self.config_str = "" for config in configList: - currentPremiseList = config["currentPremiseList"] - reply = config["reply"].strip() if config["reply"] != "" else " " - nextStep = config["nextStep"].strip() if config["nextStep"] != "" else " " - feature = "match,post("+config["postURL"].strip()+")" if config["doPost"] else "match" - historyPremiseList = config["historyPremiseList"] - - if len(currentPremiseList) == 1 and currentPremiseList[0]["keywords"] == "": - flag = 3 + config_line = self.generate_single_config(config) + if config_line == "error": + flag = 2 break - curPreStr = ','.join([currentPremise["actionName"]+"=+"+currentPremise["keywords"].lstrip("+").split("-")[0] for currentPremise in currentPremiseList]) - if historyPremiseList != [] and historyPremiseList[0]["keywords"] != "": - hisPreStr = ','.join([historyPremise["actionName"]+"=+"+historyPremise["keywords"].lstrip("+").split("-")[0] for historyPremise in historyPremiseList]) - else: - hisPreStr = "" - if hisPreStr == "": - config_line = curPreStr + "| |"+feature+"|=>|"+reply+"|nextStep="+nextStep+'\n' - else: - config_line = curPreStr + "|"+hisPreStr+"|"+feature+"|=>|"+reply+"|nextStep="+nextStep+'\n' self.config_string += config_line - print self.config_string,flag - if flag == 1: - userData = open("data/"+userName+"-"+botName+'-config.data','w') - pickle.dump(parameters,userData) - userData.close() + print self.config_string, flag except KeyError as e: print repr(e) flag = 2 + return flag + def save_bg_config(self, parameters): + str_j = json.dumps(parameters, ensure_ascii=False) + flag = self.data_helper.update_config_by_id(int(parameters["botId"]), str_j) + if flag == 3 and self.data_helper.query_data_by_id(parameters["botId"])[1] == str_j: + flag = 1 return flag + def load_extra_user_info(self, userName, botName, botId): + ''' + 从用户之前创建的action中获取额外信息,如设为active的action + ''' - ''' - 从用户之前创建的action中获取额外信息,如设为active的action - ''' - def load_extra_user_info(self,userName,botName): extra_info = "" - data_file = "data/"+userName+"-"+botName+'-action.data' - if os.path.isfile(data_file): - user_data = {} - with open(data_file,'r') as f: - user_data = pickle.load(f) - - conditionList = user_data["conditionList"] - for condition in conditionList: - if condition["active"]: - extra_info += "-extraInfo-|activeAction|"+condition["conditionName"]+"\n" + action_str, _ = self.data_helper.query_data_by_id(botId) + user_data = json.loads(action_str) + + conditionList = user_data["conditionList"] + for condition in conditionList: + if condition["active"]: + extra_info += "-extraInfo-|activeAction|" + condition["conditionName"] + "\n" return extra_info - - - - - - - def change_bg_config(self,userName,botName,conditionList): - data_file = "data/"+userName+"-"+botName+'-config.data' - print "data_file:",data_file - if os.path.isfile(data_file): - user_data = {} - with open(data_file,'r') as f: - user_data = pickle.load(f) - - condition_name_list = [condition["conditionName"] for condition in conditionList] - config_list = user_data["configList"] - config_list_new = [] - for config in config_list: - currentPremiseList_new = [] - config["nextStep"] = config["nextStep"] if config["nextStep"] in condition_name_list else "" - currentPremiseList = config["currentPremiseList"] - currentPremiseList = [{"actionName":premise["actionName"],"keywords":premise["keywords"],"question":premise["question"]} - if premise["actionName"] in condition_name_list - else {"actionName":"","keywords":"","question":premise["question"]} - for premise in currentPremiseList] - empty_indicator = [1 if premise["actionName"] == "" else 0 for premise in currentPremiseList] - if sum(empty_indicator) == len(currentPremiseList): - continue - - historyPremiseList = config["historyPremiseList"] - historyPremiseList = [{"actionName":premise["actionName"],"keywords":premise["keywords"],"question":premise["question"]} - if premise["actionName"] in condition_name_list - else {"actionName":"","keywords":"","question":premise["question"]} - for premise in historyPremiseList] - config["currentPremiseList"] = currentPremiseList - config["historyPremiseList"] = historyPremiseList - config_list_new.append(config) - user_data["configList"] = config_list_new - with open(data_file,'w') as f: - pickle.dump(user_data,f) - return 1 + def change_bg_config(self, botId, userName, botName, conditionList): + ''' + 从数据库中读取用户之前保存的数据,如果存在已经被删除的condition,就将相应信息删除 + ''' - else: - return 1 + _, config_str = self.data_helper.query_data_by_id(botId) + user_data = json.loads(config_str) if config_str != "" else {"configList": []} + condition_name_list = [condition["conditionName"] for condition in conditionList] + config_list = user_data["configList"] + config_list_new = [] + for config in config_list: + config["nextStep"] = config["nextStep"] if config["nextStep"] in condition_name_list else "" + # currentPremiseList = config["currentPremiseList"] + currentPremiseList = [] + for premise in config["currentPremiseList"]: + if premise["actionName"] in condition_name_list: + currentPremiseList.append(premise) + else: + premise["actionName"] = premise["keywords"] = premise["question"] = "" + currentPremiseList.append(premise) - def post_bg_config(self,botName): + historyPremiseList = [] + for premise in config["historyPremiseList"]: + if premise["actionName"] in condition_name_list: + historyPremiseList.append(premise) + else: + premise["actionName"] = premise["keywords"] = premise["question"] = "" + historyPremiseList.append(premise) + + empty_indicator = [1 if premise["actionName"] == "" + else 0 for premise in currentPremiseList] + if sum(empty_indicator) == len(currentPremiseList): + continue + + config["currentPremiseList"] = currentPremiseList + config["historyPremiseList"] = historyPremiseList + config_list_new.append(config) + user_data["configList"] = config_list_new + self.data_helper.update_config_by_id(botId, json.dumps(user_data, ensure_ascii=False)) + + return 1 + + def post_bg_config(self, botName): url= self.CONFIG_DIC["config_update_url"] - payload= {'userName':botName,'config_string':self.config_string} - - ret= requests.post(url,data=payload) + payload= {'userName': botName, 'config_string': self.config_string} + + ret= requests.post(url, data=payload) if(ret.status_code == 200): return 1 elif(ret.status_code == 111): @@ -169,4 +150,274 @@ class BackgroundConfig(): else: return 4 +# -------------------------------------------------- +# --------------配置文件逐个操作------------------- +# ------------------------------------------------- + def update_config_old(self, parameters): + config_line = self.generate_single_config(parameters["configData"]) + botId = parameters["botId"] + configId = parameters["configId"] + categoryId = parameters["categoryId"] + configData = json.dumps(parameters["configData"], ensure_ascii=False) + configName = parameters["configData"]["configName"] if "configName" in parameters["configData"] else "" + flag = self.data_helper.update_config_by_2id(botId, configId, configData, categoryId, configName) + # 获得currentPremiseList中的condition列表 + conditionList = [premise["actionName"] for premise in parameters["configData"]["currentPremiseList"]] + conditionStr = ','.join(conditionList) + + return flag, config_line + "|configId=" + str(parameters["configId"]) + "---" + conditionStr + + def delete_config_old(self, parameters): + configId = parameters["configId"] + botId = parameters["botId"] + flag = self.data_helper.delete_config_by_2id(botId, configId) + print "delete", flag + + return flag, "" + + def insert_config_old(self, parameters): + config_line = self.generate_single_config(parameters["configData"]) + botId = parameters["botId"] + categoryId = parameters["categoryId"] + configData = json.dumps(parameters["configData"], ensure_ascii=False) + configName = parameters["configData"]["configName"] if "configName" in parameters["configData"] else "" + flag, configId = self.data_helper.insert_config_by_2id(botId, categoryId, configData, configName) + # 获得currentPremiseList中的condition列表 + conditionList = [premise["actionName"] + for premise in parameters["configData"]["currentPremiseList"]] + + conditionStr = ','.join(conditionList) + + return configId, config_line + "|configId=" + str(configId) + "---" + conditionStr + + def insert_config(self, parameters): + config_line = self.generate_single_config(parameters["configData"]) + botId = parameters["botId"] + categoryId = parameters["categoryId"] + configData = json.dumps(parameters["configData"], ensure_ascii=False) + configName = parameters["configData"]["configName"] if "configName" in parameters["configData"] else "" + insert_flag, configId = self.data_helper.insert_config_by_2id(botId, categoryId, configData, configName) + # 获得currentPremiseList中的condition列表 + conditionList = [premise["actionName"] for premise in parameters["configData"]["currentPremiseList"]] + conditionStr = ','.join(conditionList) + data = config_line + "|configId=" + str(configId) + "---" + conditionStr + if insert_flag ==1: + post_flag = self.post_single_config_to_backend( + {"type": parameters["type"], "configId": configId, + "userName": parameters["botName"], "configData": data}) + + if post_flag != 1: + self.data_helper.delete_config_by_2id(botId, configId) # post失败,数据库回滚 + final_flag = post_flag + else: + final_flag = insert_flag + + return final_flag, "" + + def delete_config(self, parameters): + bg = parameters["back"] + configId = parameters["configId"] + botId = parameters["botId"] + post_flag = bg.post_single_config_to_backend( + {"type": parameters["type"], "configId": configId, + "userName": parameters["botName"], "configData": ""}) + + if post_flag == 1: + self.data_helper.delete_config_by_2id(botId, configId) + + return post_flag, "" + + def update_config(self, parameters): + bg = parameters["back"] + config_line = self.generate_single_config(parameters["configData"]) + botId = parameters["botId"] + configId = parameters["configId"] + categoryId = parameters["categoryId"] + configData = json.dumps(parameters["configData"], ensure_ascii=False) + configName = parameters["configData"]["configName"] if "configName" in parameters["configData"] else "" + _, originData = self.data_helper.query_config_by_configId(botId, configId) + update_flag = self.data_helper.update_config_by_2id(botId, configId, configData, categoryId, configName) + # 获得currentPremiseList中的condition列表 + conditionList = [premise["actionName"] for premise in parameters["configData"]["currentPremiseList"]] + conditionStr = ','.join(conditionList) + + data = config_line + "|configId=" + str(configId) + "---" + conditionStr + if update_flag ==1: + post_flag = bg.post_single_config_to_backend( + {"type": parameters["type"], "configId": configId, + "userName": parameters["botName"], "configData": data}) + + print "post_flag", post_flag + if post_flag != 1: + print "roll back" + self.data_helper.update_config_by_2id(botId, configId, + originData[0][1], originData[0][2], originData[0][3]) + + final_flag = post_flag + else: + final_flag = update_flag + + return final_flag, "" + + def query_config(self, parameters): + botId = parameters["botId"] + categoryId = parameters["categoryId"] + configs = [] + + flag, config_list = self.data_helper.query_config_by_2id(botId, categoryId) + # lag, config_list = self.data_helper.query_sleeping_config_by_botId(botId) + for config in config_list: + configData = json.loads(config[1]) + configData["configId"] = config[0] + configData["categoryId"] = config[2] + configs.append(configData) + return flag, configs + + def insert_category(self, parameters): + botId = parameters["botId"] + categoryParentId = parameters["categoryParentId"] + categoryName = parameters["categoryName"] + flag, data = self.data_helper.insert_category_by_2id(botId, categoryParentId, categoryName) + return flag, data + + def update_category(self, parameters): + botId = parameters["botId"] + categoryId = parameters["categoryId"] + newCategoryName = parameters["newCategoryName"] + flag = self.data_helper.update_category_by_2id(botId, categoryId, newCategoryName) + return flag, "" + + def query_category(self, parameters): + botId = parameters["botId"] + categoryTree = self.data_helper.query_category_by_botId(botId) + treeMap = defaultdict(lambda: dict()) + print categoryTree + treeMap[0]["children"] = [] + for i in range(len(categoryTree)): + categoryId = categoryTree[i][0] + categoryParentId = categoryTree[i][1] + categoryName = categoryTree[i][2] + # categoryId->value + # categoryName-> label + # 修改名称一遍前段处理 + treeMap[categoryId] = {"value": categoryId, "label": categoryName} + if "children" not in treeMap[categoryParentId]: + treeMap[categoryParentId]["children"] = [] + treeMap[categoryParentId]["children"].append(treeMap[categoryId]) + + return 1, {"category": treeMap[0]["children"]} + + def delete_category(self, parameters): + botId = parameters["botId"] + categoryId = parameters["categoryId"] + delete_list = [categoryId] + categoryTree = self.data_helper.query_category_by_botId(botId) + + for i in range(len(categoryTree)): + categoryId = categoryTree[i][0] + categoryParentId = categoryTree[i][1] + if categoryParentId in delete_list: + delete_list.append(categoryId) + + flag = self.data_helper.batch_delete_category(botId, delete_list) + if flag: + flag = self.data_helper.batch_delete_config(botId, delete_list) + + return flag, "" + + def post_single_config_to_backend(self, parameters): + """ + 提交单条配置文件操作到后台 + """ + try: + url= self.CONFIG_DIC["config_update_url"] + ret= requests.post(url, data=parameters) + print ret.text + + if(ret.status_code == 200): + return 1 + elif(ret.status_code == 111): + return 2 + else: + return 3 + except Exception as e: + print repr(e) + return 3 + + def generate_single_config(self, config): + feature = "" + currentPremiseList = [] + for premise in config["currentPremiseList"]: + if premise["actionName"] != "" or premise["keywords"] != "" or premise["question"] != "": + currentPremiseList.append(premise) + print "remove" + historyPremiseList = [] + for premise in config["historyPremiseList"]: + if premise["actionName"] != "" or premise["keywords"] != "" or premise["question"] != "": + historyPremiseList.append(premise) + + reply = config["reply"].strip() if config["reply"] != "" else " " + nextStepList = config["nextStepList"] + feature = [] + if "configStatus" not in config or config["configStatus"] == 0: + status = "waiting" + elif config["configStatus"] == 1: + status = "sleeping" + + if currentPremiseList is not [] or historyPremiseList is not []: + feature.append("match") + if "nextStepStatus" not in config: + config["nextStepStatus"] = "return" + if config["doPost"]: + feature.append("post(" + config["postURL"].strip() + ")") + if len(nextStepList) > 1 and config["nextStepStatus"] == "return": + feature.append("newNext") + elif config["nextStepStatus"] == "activate": + feature.append("activate") + + feature = ','.join(feature) + + if len(currentPremiseList) == 1 and currentPremiseList[0]["keywords"] == "": + return "error" + elif currentPremiseList == []: + curPreStr = " " + else: + curPreStr = ','.join([currentPremise["actionName"] + + "=+" + currentPremise["keywords"].lstrip("+").split("-")[0] + for currentPremise in currentPremiseList]) + + if historyPremiseList != [] and historyPremiseList[0]["keywords"] != "": + hisPreStr = ','.join([historyPremise["actionName"] + + "=+" + historyPremise["keywords"].lstrip("+").split("-")[0] + for historyPremise in historyPremiseList]) + else: + hisPreStr = " " + + if len(nextStepList) == 1: + nextStr = str(nextStepList[0]["nextStep"]) if nextStepList[0]['nextStep'] != "" else " " + else: + nextStr = "" + for next in nextStepList: + nextStr += "," + str(next["nextStep"]) + nextStr += "" if next["except"] == [] else ":" + '-'.join(next["except"]) + + nextStr = nextStr.lstrip(",") if nextStr != "" else " " + + config_line = curPreStr + "|" + hisPreStr + "|"\ + + feature + "|=>|" + reply + "|nextStep=" + nextStr + "|status=" + status + + return config_line + + def query_sleeping_config(self, parameters): + flag, data = self.data_helper.query_sleeping_config_by_botId(parameters["botId"]) + return flag, data + def get_config_text(self, parameters): + print "get_config_text, userName:", parameters["botName"] + payload = {"userName": parameters["botName"]} + url= self.CONFIG_DIC["config_update_url"][:-7] + "getConfig" + ret= requests.post(url, data=payload) + print "ret.text :", ret.text + return ret.text +# ------------------------------------------------ +# ----------------------------------------------- diff --git a/GenerateAction/BackgroundConfig.pyc b/GenerateAction/BackgroundConfig.pyc new file mode 100644 index 0000000..f46296c Binary files /dev/null and b/GenerateAction/BackgroundConfig.pyc differ diff --git a/GenerateAction/README.md b/GenerateAction/README.md new file mode 100644 index 0000000..ffe637a --- /dev/null +++ b/GenerateAction/README.md @@ -0,0 +1,5 @@ +#本服务是根据新编辑平台传过来的数据生成action和相应的后台配置文件。服务的主程序是action_service.py,其中一共有四个接口:saveAction、reloadAction、saveBackgroundConfig、reloadBackgroundConfig +##saveAction根据新平台提交的参数生成action提交到(引擎) +##saveBackgroundConfig根据新平台的参数生成配置文件提交到(后台,即backend) +##reloadAction返回用户上一次saveAction保存的参数 +##reloadBackgroundConfig返回用户上一次saveBackgroundConfig保存的参数 diff --git a/GenerateAction/SQLHelper.py b/GenerateAction/SQLHelper.py index 79dbb1a..2d6e59e 100644 --- a/GenerateAction/SQLHelper.py +++ b/GenerateAction/SQLHelper.py @@ -1,34 +1,38 @@ +# coding:utf8 import pymysql +import json -class SQLHelper: + +class SQLHelper_basic(object): def __init__(self): - self.conn_dict = dict(host="192.168.1.81",port=3306,user="root",passwd="admin",db="chatCN",charset="utf8") - #self.conn_dict = dict(host="http://qcloud-sh1.chewrobot.com",port=3306,user="root",passwd="3g9^pWQs#ft7",db="chatCN",charset="utf8") - def query_userid_by_username(self,username): + self.conn_dict = dict(host="192.168.1.81", port=3306, user="root", passwd="admin", charset="utf8") + # self.conn_dict = dict(host="http://qcloud-sh1.chewrobot.com", port=3306, user="root", passwd="admin", db="chatCN", charset="utf8") + + def query_userid_by_username(self, username): try: conn = pymysql.connect(**self.conn_dict) - sql = "select id from users where username='%s'"%username - parameters = (username) + sql = "select id from users where username='%s'" % username + # parameters = (username) cur = conn.cursor() cur.execute(sql) -#cur.execute(sql,username) +# cur.execute(sql,username) results = cur.fetchall() conn.commit() if len(results): return results[0][0] - else : + else: return -1 except Exception as e: - print repe(e) + print repr(e) + raise e finally: cur.close() conn.close() - def query_username_by_userid(self,userid): + def query_username_by_userid(self, userid): try: conn = pymysql.connect(**self.conn_dict) - sql = "select username from users where id=%d"%int(userid) - print "xx" + sql = "select username from users where id=%d" % int(userid) cur = conn.cursor() cur.execute(sql) results = cur.fetchall() @@ -37,18 +41,18 @@ class SQLHelper: return results[0][0] else: return "error" - + except Exception as e: print repr(e) + raise e finally: cur.close() conn.close() - - def query_keyword_unit_by_userid(self,userid): + def query_keyword_unit_by_userid(self, userid): try: conn = pymysql.connect(**self.conn_dict) - sql = "select text from units where user_id=%d and name='keywords'"%int(userid) + sql = "select text from units where user_id=%d and name='keywords'" % int(userid) cur = conn.cursor() cur.execute(sql) results = cur.fetchall() @@ -59,83 +63,670 @@ class SQLHelper: return "error" except Exception as e: print repr(e) + raise e finally: cur.close() conn.close() - - def update_keyword_unit_by_userid(self,userid,keyword_str): + def update_keyword_unit_by_userid(self, userid, keyword_str): try: conn = pymysql.connect(**self.conn_dict) - sql = "update units set text = '%s' where name='keywords' and user_id=%d"%(keyword_str,userid) + sql = "update units set text = '%s' where name='keywords' and user_id=%d" % (keyword_str, int(userid)) cur = conn.cursor(cursor=pymysql.cursors.DictCursor) effect_row = cur.execute(sql) conn.commit() return effect_row except Exception as e: print repr(e) + raise e finally: cur.close() conn.close() - def update_action_text_by_userid(self,userid,action_str): + def update_action_text_by_userid(self, userid, action_str): try: conn = pymysql.connect(**self.conn_dict) - sql = "update units set text = '%s' where name='actions' and user_id=%d"%(action_str,userid) + sql = "update units set text = '%s' where name='actions' and user_id=%d" % (action_str, int(userid)) cur = conn.cursor(cursor=pymysql.cursors.DictCursor) effect_row = cur.execute(sql) conn.commit() return effect_row except Exception as e: print repr(e) + raise e finally: cur.close() conn.close() - def update_url(self,bot_id,url): + def update_url(self, bot_id, url): try: conn = pymysql.connect(**self.conn_dict) - sql = "update users set url = '%s' where id= %d"%(url,bot_id) + sql = "update users set url = '%s' where id= %d" % (url, bot_id) cur = conn.cursor(cursor=pymysql.cursors.DictCursor) effect_row = cur.execute(sql) conn.commit() return effect_row except Exception as e: print repr(e) + raise e + finally: + cur.close() + conn.close() + + def insert_data_by_id(self, botId, action_data, config_data): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "INSERT INTO user_data (botId,action,config) VALUES (%d, '%s', '%s')" % (int(botId), action_data, config_data) + cur = conn.cursor() + sta = cur.execute(sql) + conn.commit() + if sta == 1: + return 1 + else: + return 3 + except Exception as e: + repr(e) + raise e + finally: + conn.close() + cur.close() + + def update_action_by_id(self, botId, action_data): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "update user_data set action = '%s' where botId=%d" % (action_data, int(botId)) + cur = conn.cursor(cursor=pymysql.cursors.DictCursor) + effect_row = cur.execute(sql) + conn.commit() + if effect_row == 1: + return 1 + else: + return 3 + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def update_config_by_id(self, botId, config_data): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "update user_data set config = '%s' where botId=%d" % (config_data, int(botId)) + cur = conn.cursor(cursor=pymysql.cursors.DictCursor) + effect_row = cur.execute(sql) + conn.commit() + if effect_row == 1: + return 1 + else: + return 3 + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_data_by_id(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select action,config from user_data where botId=%d" % int(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + if len(results): + return results[0][0], results[0][1] + else: + return "", "" + except Exception as e: + print repr(e) + raise e finally: cur.close() conn.close() + def query_config_list_by_category_id(self, category_id): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select configData from chatbot_config where categoryId = %d" % int(category_id) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + config_list = [] + if len(results): + for result in results: + config_list.append(json.loads(result[0])) + return config_list + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def query_condition_by_botId(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select conditionData, actionText, conditionId from chatbot_condition where botId = %d" % int(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_active_condition(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select conditionId, conditionData, categoryInfo, actionText from chatbot_condition where active = 1 and botId = %s" % str(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_condition_by_2Id(self, botId, conditionId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select conditionData, actionText, categoryInfo from chatbot_condition where botId = %s and conditionId = %d" %(str(botId), int(conditionId)) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_condition_by_category(self, botId, categoryStr): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select conditionData, actionText, conditionId from chatbot_condition where botId = %s and categoryInfo = '%s'" %(str(botId), categoryStr) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_condition_category_by_id(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select categoryInfo from chatbot_condition where botId = %s" % str(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def insert_condition_by_botid(self, botId, conditionData, actionText, categoryStr, active): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "insert into chatbot_condition (botId, conditionData, actionText, categoryInfo, active) VALUES ('%s', '%s', '%s' , '%s', %s)" % (str(botId), conditionData, actionText, categoryStr, active) + cur = conn.cursor() + effect_row = cur.execute(sql) + insert_id = int(cur.lastrowid) + conn.commit() + return effect_row, insert_id + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def update_condition_by_2id(self, botId, conditionId, conditionData, actionText, categoryStr, active): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "update chatbot_condition set conditionData = '%s', actionText = '%s', categoryInfo = '%s', active = %s where botId = %s and conditionId=%s" % (conditionData, actionText, categoryStr, active, botId, conditionId) + cur = conn.cursor(cursor=pymysql.cursors.DictCursor) + effect_row = cur.execute(sql) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def delete_condition_by_2id(self, botId, conditionId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "delete from chatbot_condition where botId = %s and conditionId = %s" % (botId, conditionId) + cur = conn.cursor() + effect_row = cur.execute(sql) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e ''' - def create_new_bot(self,userName,botName) + def insert_config_by_2id(self, bot_id, config_id, category_id, config_data): try: conn = pymysql.connect(**self.conn_dict) - sql = "INSERT INTO `users` (`id`, `username`, `nickname`, `password`, `firstname`, `lastname`, `status`, `action`, `timestamp`, `email`, `session_key`, `title`, `description`, `category`, `subcategory`, `welcome`, `terminal`, `url`, `website`, `icon`, `volume`, `user_interactions`, `user_chats`, `active_link`) VALUES (NULL, %s, 'cc', 'abc123', ' ', ' ', 'active', '', CURRENT_TIMESTAMP, ' abc@qiwu.ai', ' ', ' ', '', ' ', ' ', ' ', ' ', '', ' ', ' ', '0', '0', '0', '')"%(userName+"asdfghg"+"botName") + sql = "INSERT INTO user_data (botId,action,config) VALUES (%d, '%s', '%s')" % (int(botId), action_data, config_data) cur = conn.cursor() sta = cur.execute(sql) conn.commit() if sta == 1: return 1 else: - return 0 + return 3 except Exception as e: + repr(e) raise e finally: conn.close() cur.close() - def insert_action_text_by_userid(self,userid,action_str): - try: - conn = pymusql.connect(**self.conn_dict) - sql = "INSERT INTO `units` (`id`, `user_id`, `name`, `description`, `status`, `timestamp`, `text`, `xml`) VALUES (NULL, %d, 'actions\r\n', '', 'ready', CURRENT_TIMESTAMP, 'xxx', '')" ''' + def delete_config_by_2id(self, botId, configId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "delete from chatbot_config where botId = %d and configId = %d" %(int(botId), int(configId)) + cur = conn.cursor() + effect_row = cur.execute(sql) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def insert_config_by_2id(self, botId, categoryId, configData, configName): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "INSERT INTO chatbot_config (botId, categoryId, configData, configName) VALUES (%d, %d, '%s', '%s')" % (int(botId), int(categoryId), configData, configName) + cur = conn.cursor() + effect_row = cur.execute(sql) + insert_id = int(cur.lastrowid) + conn.commit() + return effect_row, insert_id + except Exception as e: + print repr(e) + raise e + finally: + conn.close() + cur.close() + + def update_config_by_2id(self, botId, configId, configData, categoryId, configName): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "update chatbot_config set configData = '%s' ,categoryId = %s, configName = '%s' where botId=%d and configId=%d" % (configData, str(categoryId), configName, int(botId), int(configId)) + cur = conn.cursor(cursor=pymysql.cursors.DictCursor) + effect_row = cur.execute(sql) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_config_by_2id(self, botId, categoryId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select configId, configData ,categoryId, configName from chatbot_config where botid=%d and categoryId = %d" %(int(botId), int(categoryId)) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return 1, results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_config_by_configId(self, botId, configId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select configId, configData ,categoryId, configName from chatbot_config where botid=%d and configId = %d" %(int(botId), int(configId)) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return 1, results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def query_category_by_botId(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select categoryId, categoryParentId, categoryName from config_categories where botid=%d order by categoryParentId asc" %int(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def insert_category_by_2id(self, botId, categoryParentId, categoryName): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "INSERT INTO config_categories (botId, categoryParentId, categoryName, categoryStatus) VALUES (%d, %d, '%s', '%s')" % (int(botId), int(categoryParentId), categoryName, "avaliable") + cur = conn.cursor() + effect_row = cur.execute(sql) + insert_id = int(cur.lastrowid) + print "insert_id", insert_id + conn.commit() + return effect_row, insert_id + except Exception as e: + print repr(e) + raise e + finally: + conn.close() + cur.close() + def update_category_by_2id(self, botId, categoryId, newCategoryName): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "update config_categories set categoryName = '%s' where botId = %d and categoryId = %d" % (newCategoryName, int(botId), int(categoryId)) + cur = conn.cursor(cursor=pymysql.cursors.DictCursor) + effect_row = cur.execute(sql) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def batch_delete_category(self, botId, categoryIdList): + ''' + 批量删除分类 + ''' + args = [(botId, categoryId) for categoryId in categoryIdList] + try: + conn = pymysql.connect(**self.conn_dict) + sql = "delete from config_categories where botId = %s and categoryId = %s" + cur = conn.cursor() + effect_row = cur.executemany(sql, args) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def batch_delete_config(self, botId, categoryIdList): + ''' + 批量删除配置文件 + ''' + args = [(botId, categoryId) for categoryId in categoryIdList] + try: + conn = pymysql.connect(**self.conn_dict) + sql = "delete from chatbot_config where botId = %s and categoryId = %s" + cur = conn.cursor() + effect_row = cur.executemany(sql, args) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def batch_insert_category(self, botId, categoryData): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "insert into config_categories (botId, categoryId, categoryParentId, categoryName, categoryStatus) values(%s, %s, %s, '%s','%s')" + cur = conn.cursor() + effect_row = cur.executemany(sql, categoryData) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def clear_user_data(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql1 = "delete from chatbot_config where botId = %s;"% str(botId) + sql2 = "delete from chatbot_condition where botId = %s;"% str(botId) + sql3 = "delete from config_categories where botId = %s;" % str(botId) + cur = conn.cursor() + effect_row = cur.execute(sql1) + effect_row = cur.execute(sql2) + effect_row = cur.execute(sql3) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def batch_insert_config(self, botId, configData): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "insert into chatbot_config (botId, configId, categoryId, configData, configName) values(%s) " + sql = sql % (configData[0]) + cur = conn.cursor() + effect_row = cur.executemany(sql, configData) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def batch_insert_condition(self, botId, conditionData): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "insert into chatbot_condition (botId, conditionId, conditionData, categoryInfo, actionText, active) values(%s,%s,'%s','%s','%s',%s) " + cur = conn.cursor() + effect_row = cur.executemany(sql, conditionData) + conn.commit() + return effect_row + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + def query_category_all_by_botId(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select * from config_categories where botid=%d order by categoryParentId asc" %int(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_config_all_by_botId(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select * from chatbot_config where botId = %d" % int(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_condition_all_by_botId(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select * from chatbot_condition where botId = %d" % int(botId) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def query_sleeping_config_by_botId(self, botId): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "select configId, configName from chatbot_config where configName != '' and botId = %s" % (str(botId)) + cur = conn.cursor() + cur.execute(sql) + results = cur.fetchall() + conn.commit() + return 1, results + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def reload_condition_by_botid(self, botId, conditionId, conditionData, actionText, categoryStr, active): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "insert into chatbot_condition (botId, conditionId, conditionData, actionText, categoryInfo, active) VALUES ('%s', %s,'%s', '%s' , '%s', %s)" % (str(botId), conditionId,conditionData, actionText, categoryStr, active) + cur = conn.cursor() + effect_row = cur.execute(sql) + insert_id = int(cur.lastrowid) + conn.commit() + return effect_row, insert_id + except Exception as e: + print repr(e) + raise e + finally: + cur.close() + conn.close() + + def reload_config_by_2id(self, botId, configId, categoryId, configData, configName): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "INSERT INTO chatbot_config (botId, configId, categoryId, configData, configName) VALUES (%d, %d, %d, '%s', '%s')" % (int(botId), int(configId),int(categoryId), configData, configName) + cur = conn.cursor() + effect_row = cur.execute(sql) + insert_id = int(cur.lastrowid) + conn.commit() + return effect_row, insert_id + except Exception as e: + print repr(e) + raise e + finally: + conn.close() + cur.close() + + + def reload_category_by_2id(self, botId, categoryId, categoryParentId, categoryName): + try: + conn = pymysql.connect(**self.conn_dict) + sql = "INSERT INTO config_categories (botId, categoryId, categoryParentId, categoryName, categoryStatus) VALUES (%d, %d, %d, '%s', '%s')" % (int(botId), int(categoryId),int(categoryParentId), categoryName, "avaliable") + cur = conn.cursor() + effect_row = cur.execute(sql) + insert_id = int(cur.lastrowid) + print "insert_id", insert_id + conn.commit() + return effect_row, insert_id + except Exception as e: + print repr(e) + raise e + finally: + conn.close() + cur.close() + +class SQLHelper_chat(SQLHelper_basic): + ''' + 用于在操作chatCN数据库上的数据 + ''' + def __init__(self): + super(SQLHelper_chat, self).__init__() + self.conn_dict["db"] = "chatCN" + + +class SQLHelper_data(SQLHelper_basic): + ''' + 用于保存和修改用户数据 + ''' + def __init__(self): + super(SQLHelper_data, self).__init__() + self.conn_dict["db"] = "SimplifiedBot" + + ''' + def create_new_bot(self,userName,botName) + try: + conn = pymysql.connect(**self.conn_dict) + sql = "INSERT INTO `users` (`id`, `username`, `nickname`, `password`, `firstname`, `lastname`, `status`, `action`, `timestamp`, `email`, `session_key`, `title`, `description`, `category`, `subcategory`, `welcome`, `terminal`, `url`, `website`, `icon`, `volume`, `user_interactions`, `user_chats`, `active_link`) VALUES (NULL, %s, 'cc', 'abc123', ' ', ' ', 'active', '', CURRENT_TIMESTAMP, ' abc@qiwu.ai', ' ', ' ', '', ' ', ' ', ' ', ' ', '', ' ', ' ', '0', '0', '0', '')"%(userName+"asdfghg"+"botName") + cur = conn.cursor() + sta = cur.execute(sql) + conn.commit() + if sta == 1: + return 1 + else: + return 0 + except Exception as e: + raise e + finally: + conn.close() + cur.close() + def insert_action_text_by_userid(self,userid,action_str): + try: + conn = pymusql.connect(**self.conn_dict) + sql = "INSERT INTO `units` (`id`, `user_id`, `name`, `description`, `status`, `timestamp`, `text`, `xml`) VALUES (NULL, %d, 'actions\r\n', '', 'ready', CURRENT_TIMESTAMP, 'xxx', '')" + ''' diff --git a/GenerateAction/SQLHelper.pyc b/GenerateAction/SQLHelper.pyc new file mode 100644 index 0000000..ef807f9 Binary files /dev/null and b/GenerateAction/SQLHelper.pyc differ diff --git a/GenerateAction/action_service.py b/GenerateAction/action_service.py index 9985ce4..e35d7e1 100644 --- a/GenerateAction/action_service.py +++ b/GenerateAction/action_service.py @@ -1,37 +1,32 @@ -#coding:utf8 +# coding:utf8 from flask import Flask -from flask import request -from flask import jsonify -from flask import make_response -from flask_cors import * +from flask import request, send_from_directory +from flask import jsonify, make_response +from flask_cors import CORS import json -from functools import wraps -from Action import * -from BackgroundConfig import * -import sys; -reload(sys); -sys.setdefaultencoding('utf8'); - - +from Action import Action +from BackgroundConfig import BackgroundConfig +import sys +reload(sys) +sys.setdefaultencoding('utf8') app = Flask(__name__) CORS(app, supports_credentials=True) - -@app.route('/saveAction', methods=[ 'POST',"OPTIONS"]) +@app.route('/saveAction', methods=['POST', "OPTIONS"]) def save_action(): if request.method == 'POST': action = Action() + bg_config = BackgroundConfig() dc = json.loads(request.get_data().decode("utf8")) flag = action.generate_action(dc) - print dc if flag == 1: auth = request.headers['Authorization'] - action.save_action(dc,auth) - if(dc["botId"] != ""): - bg_config = BackgroundConfig() - bg_config.change_bg_config(dc["userName"],dc["botName"],dc["conditionList"]) + action.save_action(dc, auth) + bg_config.post_single_config_to_backend({"type": "extra_info", "configId": "", "userName": dc["botName"], "configData": "-extraInfo-|activeAction|" + action.active}) + if(dc["botId"] != "undefined"): + bg_config.change_bg_config(dc["botId"], dc["userName"], dc["botName"], dc["conditionList"]) print flag if flag == 1: return "success" @@ -44,38 +39,43 @@ def save_action(): elif request.method == "OPTIONS": return "do it" -@app.route("/reloadAction", methods=["GET","POST"]) + +@app.route("/reloadAction", methods=["GET", "POST"]) def reload_action(): if request.method == "POST": action = Action() dc = json.loads(request.get_data().decode("utf8")) - userName = dc["userName"] - botName = dc["botName"] - return jsonify(action.reload_action(userName)) + botId = dc["botId"] + return jsonify(action.reload_action(botId)) if request.method == "GET": action = Action() userName = request.values.get("userName") botName = request.values.get("botName") - return jsonify(action.reload_action(userName,botName)) + botId = request.values.get("botId") + return jsonify(action.reload_action(userName, botName, botId)) -@app.route("/saveBackgroundConfig", methods=["POST","OPTIONS"]) + +@app.route("/saveBackgroundConfig", methods=["POST", "OPTIONS"]) def save_background_config(): if request.method == 'POST': bg_config = BackgroundConfig() parameters = json.loads(request.get_data().decode("utf8")) - print parameters - flag = bg_config.save_background_config(parameters) - + flag = bg_config.generate_background_config(parameters) + if flag == 1: + flag = bg_config.save_bg_config(parameters) if flag == 1: flag = bg_config.post_bg_config(parameters["botName"]) - - print flag + if flag == 1 and parameters["sayGoodBye"] != "": + action = Action() + flag = action.update_goodbye(parameters["sayGoodBye"], parameters["botId"]) + + # 根据flag返回结果 if flag == 1: return "success" elif flag == 2: return "lack parameter" elif flag == 3: - return "current information is empty" + return "sql error" elif flag == 4: return "post fail" @@ -83,18 +83,235 @@ def save_background_config(): return "do it" -@app.route("/reloadBackgroundConfig",methods=["GET"]) +@app.route("/reloadBackgroundConfig", methods=["GET"]) def reload_action_config(): if request.method == "GET": userName = request.values.get("userName") botName = request.values.get("botName") + botId = request.values.get("botId") bg_config = BackgroundConfig() - return jsonify(bg_config.reload_background_config(userName,botName)) - - + return jsonify(bg_config.reload_background_config(userName, botName, botId)) -if __name__ == '__main__': - app.run(threaded=True,host="0.0.0.0", - port=1111,) +@app.route("/save2file", methods=["POST", "OPTIONS"]) +def save_config_file(): + ''' + 保存备份文件 + ''' + if request.method == "POST": + action = Action() + bg = BackgroundConfig() + dc = json.loads(request.get_data().decode("utf8")) + botId = dc["botId"] + userName = dc["botName"] + botName_yhm =dc["botName_yhm"] + auth = request.headers['Authorization'] + cate, cdt_name_ls = action.get_cdt_ls(botId, auth) + + categoryDataset = action.data_helper.query_category_all_by_botId(botId) + conditionDataset = action.data_helper.query_condition_all_by_botId(botId) + configDataset = action.data_helper.query_config_all_by_botId(botId) + configText = bg.get_config_text(dc) + + data = {"botId": botId, "categoryDataset": categoryDataset, "conditionDataset": conditionDataset, "configDataset": configDataset, "cate": cate, + "cdt_name_ls": cdt_name_ls, "botName_yhm": botName_yhm, "configText": configText, "userName": userName} +# if "absPath" in dc: +# abs_path = dc["absPath"] +# data_path = abs_path + "/"+ userName + "-" + botName + "-" + data_type + ".json" +# else: +# data_path = os.path.abspath('.')+ "/tmp/"+ userName + "-" + botName + "-" + data_type + ".json" + data_path = './tmp' + file_name = botId + "-" + ".backup" + with open(data_path + "/" + file_name, 'w') as f: + f.write(json.dumps(data, ensure_ascii=False)) + # return send_from_directory(data_path, file_name, as_attachment=True) + return "download/"+ file_name + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/download/", methods=["GET"]) +def download_file(filename): + ''' + 返回备份 + ''' + directory = './tmp' + response = make_response(send_from_directory(directory, filename, as_attachment=True)) + response.headers["Content-Disposition"] = "attachment; filename={}".format(filename.encode().decode('latin-1')) + return response + + +@app.route("/dataRecovery", methods=["POST", "OPTIONS"]) +def data_recovery(): + if request.method == "POST": + bg = BackgroundConfig() + action = Action() + dc = json.loads(request.get_data().decode("utf8")) + botId = dc["botId"] + dc["data"]["botId"] = botId + dc["data"]["botName"] = dc["botName"] + dc["data"]["botName_yhm"] = dc["botName_yhm"] + dc = dc["data"] + dc["auth"] = request.headers['Authorization'] + categoryDataset = dc["categoryDataset"] + configDataset = dc["configDataset"] + conditionDataset = dc["conditionDataset"] + configText = dc["configText"] if dc["configText"] != "查无此bot" else "" + + bg.data_helper.clear_user_data(botId) + for category in categoryDataset: + bg.data_helper.insert_category_by_2id(botId, category[2], category[3]) + for condition in conditionDataset: + bg.data_helper.insert_condition_by_botid(botId, condition[2], condition[4], condition[3], condition[5]) + for config in configDataset: + bg.data_helper.insert_config_by_2id(botId, 0, config[3], config[4]) + bg.post_single_config_to_backend({"userName": dc["botName"], "type": "batch_update", "configId": -1, "configData": configText}) + action.merge_cdt_name_ls_from_engine(dc) + action.query_post_action(dc) + + else: + return "do it" + + return "1" + + +@app.route("/configProcess", methods=["POST", "OPTIONS"]) +def config_processing(): + if request.method == "POST": + dc = json.loads(request.get_data().decode("utf8")) + process_type = dc["type"] + bg = BackgroundConfig() + dc["back"] = bg + FUNC_MAP = {"delete_config": bg.delete_config, + "insert_config": bg.insert_config, + "update_config": bg.update_config, + "query_config": bg.query_config, + # "query_config": bg.query_sleeping_config, + "insert_category": bg.insert_category, + "update_category": bg.update_category, + "query_category": bg.query_category, + "query_sleeping_config": bg.query_sleeping_config, + "delete_category": bg.delete_category} + flag, data = FUNC_MAP[process_type](dc) + + if process_type in["query_config", "query_sleeping_config"] and flag == 1: + return jsonify({"configList": data}) + + # return json.dumps(data, ensure_ascii=False) + if process_type in ["delete_config", "update_config", "insert_config"]: + return str(flag) + else: + return json.dumps(data, ensure_ascii=False) + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/getNextStepException", methods=["GET", "OPTIONS"]) +def get_next_step_exception(): + if request.method == "GET": + return "active known" + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/conditionProcess", methods=["POST", "OPTIONS"]) +def condition_processing(): + ''' + condition的处理接口 + ''' + if request.method == "POST": + dc = json.loads(request.get_data().decode("utf8")) + dc["auth"] = request.headers['Authorization'] # 获得engine提交权限 + process_type = dc["type"] + action = Action() + bg_config = BackgroundConfig() + if dc["botId"] == "undefined": # botId不存在就新建bot + flag, botId = action.bot_initialization(dc) + dc["botId"] = botId + elif process_type not in ["update_goodbye", "query_condition", "query_category"]: # 将请求参数中的cdt_name_ls和引擎中的cdt_name_ls合并 + action.merge_cdt_name_ls_from_engine(dc) + flag = action.bot_initialization(dc) + + FUNC_MAP = {"delete_condition": action.delete_condition, # 返回0或1 + "insert_condition": action.insert_condition, # 返回conditionId + "update_condition": action.update_condition, # 返回0或1 + "query_condition": action.query_condition, # 返回condition列表 + "query_category": action.query_category, + "change_active": action.change_active, + "update_goodbye": action.update_goodbye} # 返回类别栏 + flag, message = FUNC_MAP[process_type](dc) + + print process_type + # print "flag", flag, "message", message + + if flag == 1: # 操作执行成功 + if process_type == "query_category": + return jsonify({"category": message}) + elif process_type == "query_condition": + return jsonify(message) + if process_type == "update_condition" and action.active != "": + userName = action.sql_helper.query_username_by_userid(dc["botId"]) + bg_config.post_single_config_to_backend({"type": "extra_info", "userName": userName, "configData": "--extraInfo-|activeAction|" + action.active}) + flag, conditionList = action.query_post_action(dc) + return str(1) + + if process_type in ["change_active", "delete_condition", "insert_condition", "update_condition"]: + print "generate_all" + # 先从数据库查询所有condition,再生成完整的action,最后提交完整的action + flag, conditionList = action.query_post_action(dc) + print flag + return str(flag) + elif flag == 2: # 插入condition时出现名字重复 + return message + + return str(flag) + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/dataTransfer", methods=["GET", "OPTIONS"]) +def data_transfer(): + if request.method == "GET": + botId = request.values.get("botId") + action = Action() + back = BackgroundConfig() + botName = action.sql_helper.query_username_by_userid(botId) + if botName == "error": + return "error" + actionStr, configStr = action.data_helper.query_data_by_id(botId) + conditionSet = json.loads(actionStr) + configSet = json.loads(configStr) + conditionSet["botId"] = botId + + back.data_helper.clear_user_data(botId) + action.data_helper.insert_category_by_2id(conditionSet["botId"], 0, "默认") + for condition in conditionSet["conditionList"]: + condition["active"] = False + for i in range(len(condition["repeatList"])): + condition["repeatList"][i].update({"macro": ""}) + condition["conditionCategory"] = "0:默认" + newCondition = {"botId": botId, "conditionData": condition} + action.insert_condition(newCondition) + + post_str = "" + configSet["botId"] = botId + for config in configSet["configList"]: + nextStep = [] + config["configStatus"] = 0 + config["nextStepStatus"] = "return" + config["nextStepList"] = [{}, ] + config["nextStepList"][0]["nextStep"] = config["nextStep"] if config["nextStep"] != "" else " " + config["nextStepList"][0]["except"] = [] + nextStep.append(config["nextStep"]) + newConfig = {"botId": botId, "configData": config, "categoryId": 0} + flag, str = back.insert_config_old(newConfig) + post_str += str + "\n" + back.post_single_config_to_backend({"userName": botName, "configData": post_str, "configId": -1, "type": "batch_update"}) + + return "xx" + + +if __name__ == '__main__': + app.run(threaded=True, host="0.0.0.0", + port=1111,) diff --git a/GenerateAction/action_service_old.py b/GenerateAction/action_service_old.py new file mode 100644 index 0000000..3a14b9b --- /dev/null +++ b/GenerateAction/action_service_old.py @@ -0,0 +1,320 @@ +# coding:utf8 +from flask import Flask +from flask import request, send_from_directory +from flask import jsonify, make_response +from flask_cors import CORS +import json +from Action import Action +from BackgroundConfig import BackgroundConfig +import sys +reload(sys) +sys.setdefaultencoding('utf8') +import time + +app = Flask(__name__) +CORS(app, supports_credentials=True) + + +@app.route('/saveAction', methods=['POST', "OPTIONS"]) +def save_action(): + if request.method == 'POST': + action = Action() + bg_config = BackgroundConfig() + dc = json.loads(request.get_data().decode("utf8")) + flag = action.generate_action(dc) + if flag == 1: + auth = request.headers['Authorization'] + action.save_action(dc, auth) + bg_config.post_single_config_to_backend({"type": "extra_info", "configId": "", "userName": dc["botName"], "configData": "-extraInfo-|activeAction|" + action.active}) + if(dc["botId"] != "undefined"): + bg_config.change_bg_config(dc["botId"], dc["userName"], dc["botName"], dc["conditionList"]) + print flag + if flag == 1: + return "success" + elif flag == 2: + return "lack parameter" + elif flag == 3: + return "sql error" + elif flag == 4: + return "no such user" + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/reloadAction", methods=["GET", "POST"]) +def reload_action(): + if request.method == "POST": + action = Action() + dc = json.loads(request.get_data().decode("utf8")) + botId = dc["botId"] + return jsonify(action.reload_action(botId)) + if request.method == "GET": + action = Action() + userName = request.values.get("userName") + botName = request.values.get("botName") + botId = request.values.get("botId") + return jsonify(action.reload_action(userName, botName, botId)) + + +@app.route("/saveBackgroundConfig", methods=["POST", "OPTIONS"]) +def save_background_config(): + if request.method == 'POST': + bg_config = BackgroundConfig() + parameters = json.loads(request.get_data().decode("utf8")) + flag = bg_config.generate_background_config(parameters) + if flag == 1: + flag = bg_config.save_bg_config(parameters) + if flag == 1: + flag = bg_config.post_bg_config(parameters["botName"]) + if flag == 1 and parameters["sayGoodBye"] != "": + action = Action() + flag = action.update_goodbye(parameters["sayGoodBye"], parameters["botId"]) + + # 根据flag返回结果 + if flag == 1: + return "success" + elif flag == 2: + return "lack parameter" + elif flag == 3: + return "sql error" + elif flag == 4: + return "post fail" + + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/reloadBackgroundConfig", methods=["GET"]) +def reload_action_config(): + if request.method == "GET": + userName = request.values.get("userName") + botName = request.values.get("botName") + botId = request.values.get("botId") + bg_config = BackgroundConfig() + return jsonify(bg_config.reload_background_config(userName, botName, botId)) + + +@app.route("/save2file", methods=["POST", "OPTIONS"]) +def save_config_file(): + ''' + 保存备份文件 + ''' + if request.method == "POST": + action = Action() + bg = BackgroundConfig() + dc = json.loads(request.get_data().decode("utf8")) + botId = dc["botId"] + userName = dc["botName"] + botName_yhm =dc["botName_yhm"] + auth = request.headers['Authorization'] + cate, cdt_name_ls = action.get_cdt_ls(botId, auth) + + categoryDataset = action.data_helper.query_category_all_by_botId(botId) + conditionDataset = action.data_helper.query_condition_all_by_botId(botId) + configDataset = action.data_helper.query_config_all_by_botId(botId) + configText = bg.get_config_text(dc) + + data = {"botId": botId, "categoryDataset": categoryDataset, "conditionDataset": conditionDataset, "configDataset": configDataset, "cate": cate, + "cdt_name_ls": cdt_name_ls, "botName_yhm": botName_yhm, "configText": configText, "userName": userName} +# if "absPath" in dc: +# abs_path = dc["absPath"] +# data_path = abs_path + "/"+ userName + "-" + botName + "-" + data_type + ".json" +# else: +# data_path = os.path.abspath('.')+ "/tmp/"+ userName + "-" + botName + "-" + data_type + ".json" + + data_path = './tmp' + file_name = botId + "-" + ".backup" + with open(data_path + "/" + file_name, 'w') as f: + f.write(json.dumps(data, ensure_ascii=False)) + # return send_from_directory(data_path, file_name, as_attachment=True) + return "download/"+ file_name + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/download/", methods=["GET"]) +def download_file(filename): + ''' + 返回备份 + ''' + directory = './tmp' + response = make_response(send_from_directory(directory, filename, as_attachment=True)) + response.headers["Content-Disposition"] = "attachment; filename={}".format(filename.encode().decode('latin-1')) + return response + + +@app.route("/dataRecovery", methods=["POST", "OPTIONS"]) +def data_recovery(): + if request.method == "POST": + bg = BackgroundConfig() + action = Action() + dc = json.loads(request.get_data().decode("utf8")) + botId = dc["botId"] + dc["data"]["botId"] = botId + dc = dc["data"] + dc["auth"] = request.headers['Authorization'] + categoryDataset = dc["categoryDataset"] + configDataset = dc["configDataset"] + conditionDataset = dc["conditionDataset"] + configText = dc["configText"] if dc["configText"] != "查无此bot" else "" + categoryDataset = tuple([tuple([str(a) for a in d]) for d in categoryDataset]) + conditionDataset = tuple([tuple([str(a) for a in d]) for d in conditionDataset]) + configDataset = tuple([tuple([str(a) for a in d]) for d in configDataset]) + ''' + bg.data_helper.clear_user_data(botId) + print "insert category" + bg.data_helper.batch_insert_category(botId, categoryDataset) + print "insert config" + bg.data_helper.batch_insert_config(botId, configDataset) + print "insert condition" + bg.data_helper.batch_insert_condition(botId, conditionDataset) + bg.post_single_config_to_backend({"userName": dc["userName"], "type": "batch_update", "configId": -1, "configData": configText}) + action.query_post_action(dc) + ''' + else: + return "do it" + + return "1" + + +@app.route("/configProcess", methods=["POST", "OPTIONS"]) +def config_processing(): + if request.method == "POST": + dc = json.loads(request.get_data().decode("utf8")) + process_type = dc["type"] + bg = BackgroundConfig() + dc["back"] = bg + FUNC_MAP = {"delete_config": bg.delete_config, + "insert_config": bg.insert_config, + "update_config": bg.update_config, + "query_config": bg.query_config, + # "query_config": bg.query_sleeping_config, + "insert_category": bg.insert_category, + "update_category": bg.update_category, + "query_category": bg.query_category, + "query_sleeping_config": bg.query_sleeping_config, + "delete_category": bg.delete_category} + flag, data = FUNC_MAP[process_type](dc) + + # print "flag", flag, "data", data + + if flag == 1 and process_type in ["delete_config", "update_config"]: + # print "post data:", data + flag = bg.post_single_config_to_backend({"type": process_type, "configId": dc["configId"], "userName": + elif process_type == "insert_config" and flag != 0: + flag = bg.post_single_config_to_backend({"type": process_type, "configId": flag, "userName": dc["botNam + elif process_type in["query_config", "query_sleeping_config"] and flag == 1: + return jsonify({"configList": data}) + + # return json.dumps(data, ensure_ascii=False) + if process_type == "insert_config": + return str(flag) + else: + return json.dumps(data, ensure_ascii=False) + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/getNextStepException", methods=["GET", "OPTIONS"]) +def get_next_step_exception(): + if request.method == "GET": + return "active known" + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/conditionProcess", methods=["POST", "OPTIONS"]) +def condition_processing(): + ''' + condition的处理接口 + ''' + if request.method == "POST": + dc = json.loads(request.get_data().decode("utf8")) + dc["auth"] = request.headers['Authorization'] # 获得engine提交权限 + process_type = dc["type"] + action = Action() + bg_config = BackgroundConfig() + if dc["botId"] == "undefined": # botId不存在就新建bot + flag, botId = action.bot_initialization(dc) + dc["botId"] = botId + elif process_type not in ["update_goodbye", "query_condition", "query_category"]: # 将请求参数中的cdt_name_ls和引擎中的cdt_name_ls合并 + action.merge_cdt_name_ls_from_engine(dc) + flag = action.bot_initialization(dc) + + FUNC_MAP = {"delete_condition": action.delete_condition, # 返回0或1 + "insert_condition": action.insert_condition, # 返回conditionId + "update_condition": action.update_condition, # 返回0或1 + "query_condition": action.query_condition, # 返回condition列表 + "query_category": action.query_category, + "change_active": action.change_active, + "update_goodbye": action.update_goodbye} # 返回类别栏 + flag, message = FUNC_MAP[process_type](dc) + + print process_type + # print "flag", flag, "message", message + + if flag == 1: # 操作执行成功 + if process_type == "query_category": + return jsonify({"category": message}) + elif process_type == "query_condition": + return jsonify(message) + if process_type == "update_condition" and action.active != "": + userName = action.sql_helper.query_username_by_userid(dc["botId"]) + bg_config.post_single_config_to_backend({"type": "extra_info", "userName": userName, "configData": "--extraInfo-|activeAction|" + action.active}) + flag, conditionList = action.query_post_action(dc) + return str(1) + + if process_type in ["change_active", "delete_condition", "insert_condition", "update_condition"]: + print "generate_all" + # 先从数据库查询所有condition,再生成完整的action,最后提交完整的action + flag, conditionList = action.query_post_action(dc) + print flag + return str(flag) + elif flag == 2: # 插入condition时出现名字重复 + return message + + return str(flag) + elif request.method == "OPTIONS": + return "do it" + + +@app.route("/dataTransfer", methods=["GET", "OPTIONS"]) +def data_transfer(): + if request.method == "GET": + botId = request.values.get("botId") + botName = request.values.get("botName") + action = Action() + back = BackgroundConfig() + actionStr, configStr = action.data_helper.query_data_by_id(botId) + conditionSet = json.loads(actionStr) + configSet = json.loads(configStr) + conditionSet["botId"] = botId + action.data_helper.insert_category_by_2id(conditionSet["botId"], 0, "默认") + for condition in conditionSet["conditionList"]: + condition["active"] = False + for i in range(len(condition["repeatList"])): + condition["repeatList"][i].update({"macro": ""}) + condition["conditionCategory"] = "0:默认" + newCondition = {"botId": botId, "conditionData": condition} + action.insert_condition(newCondition) + + post_str = "" + configSet["botId"] = botId + for config in configSet["configList"]: + nextStep = [] + config["nextStepStatus"] = "return" + config["nextStepList"] = [{}, ] + config["nextStepList"][0]["nextStep"] = config["nextStep"] if config["nextStep"] != "" else " " + config["nextStepList"][0]["except"] = [] + nextStep.append(config["nextStep"]) + newConfig = {"botId": botId, "configData": config, "categoryId": 0} + flag, str = back.insert_config(newConfig) + post_str += str + "\n" + back.post_single_config_to_backend({"userName": botName, "configData": post_str, "configId": -1, "type": "batch_update"}) + + return "xx" + + +if __name__ == '__main__': + app.run(threaded=True, host="0.0.0.0", + port=1111,) diff --git a/GenerateAction/add_style.py b/GenerateAction/add_style.py new file mode 100644 index 0000000..5c0bf29 --- /dev/null +++ b/GenerateAction/add_style.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +import json + +f = open("bot403", 'r') +k = json.load(f) +f.close() +cl = k["configList"] +newCl = [] +for config in cl: + config["doPost"] = True + config["postURL"] = "qiwu-zzh.chewrobot.com/api/form/loanrobot" + newCl.append(config) +k["configList"] = newCl +w_f = open("new_bot403", "w") +j = json.dumps(k, ensure_ascii=False) +w_f.write(j) +w_f.close() diff --git a/GenerateAction/bot403 b/GenerateAction/bot403 new file mode 100644 index 0000000..a8352e5 --- /dev/null +++ b/GenerateAction/bot403 @@ -0,0 +1 @@ +{"userName": "Kayser", "configList": [{"nextStepText": "对于利息高有什么疑问?", "doPost": false, "nextStep": "lixi_high", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的", "currentPremiseList": [{"keywords": "高吗+多高+多少+怎样+年息+月息+多少厘+几厘+高的+利息+利率+低的+厘+算高的", "actionName": "lixi00", "question": "对于我们的利息您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "对;我们现在真的是利息又低;放款又快;服务又好。了解一下绝对不吃亏的", "currentPremiseList": [{"keywords": "这么快+挺快的+快", "actionName": "fangkuan11", "question": "您想了解我们的放款吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们正常的话是3个工作日就能办下来.如果您资质好资料齐全的话;也是可以当天放款的;您只需要准备好身份证等审核资料;放款了我们会通知您的", "currentPremiseList": [{"keywords": "贷款+放款+速度+多久+快", "actionName": "fangkuansudu2524", "question": "对于我们的放款速度您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "客户的资质不同;资金需求额度的不同 我们所收取的服务费用也是不同的;详细的情况欢迎您来我们公司详谈", "currentPremiseList": [{"keywords": "服务费+费用+收费+中介费+点数+手续费", "actionName": "feiyong4039", "question": "对于我们的服务费用您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们是看具体情况的;如果信用贷款做不了的话;就要做抵押了。建议您来我们公司面谈一下", "currentPremiseList": [{"keywords": "抵押+黑户+征信不好", "actionName": "moshi2423", "question": "对于我们的抵押模式您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的;自己开车的话您直接导航我们公司名称就可以到我们这里的;到了后我去接您。", "currentPremiseList": [{"keywords": "怎么走+开车+怎么去+交通+路线", "actionName": "daohang4140", "question": "对于来我们公司的导航您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "公司地址稍后我会通过短信发给您。", "currentPremiseList": [{"keywords": "位置+地址+公司地址+公司在哪", "actionName": "dizhi4241", "question": "对于我们公司的地址您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们可以加一下微信;你可先把资料传过来;我们先审核;确定能做的;就通知你过来;你看这样可以么!微信号码一会我发你短信上!", "currentPremiseList": [{"keywords": "太远+有点远", "actionName": "lutu4342", "question": "对于路途远的问题您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": true, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "http://qiwu-zzh.chewrobot.com/api/form/loanrobot", "reply": "哦;那我先发个短信给你;等您方便的时候可以联系我喔", "currentPremiseList": [{"keywords": "信息+短信", "actionName": "yuningoutong1918", "question": "很高兴与您沟通!"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们是金融公司;专门做信用贷款和抵押贷款的", "currentPremiseList": [{"keywords": "公司+单位+什么公司+合法", "actionName": "gongsiyewu4443", "question": "对于我们公司的业务您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们有各种渠道的多元化产品;可以符合各种客户;相信我们是有办法可以给您解决资金问题的。", "currentPremiseList": [{"keywords": "征信+要求+信用", "actionName": "zhengxin4544", "question": "对于我们贷款公司的征信您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们会有专业人士帮您评估的 不用担心哦", "currentPremiseList": [{"keywords": "年龄+太大+不够+太小+条件", "actionName": "fuhenianling4645", "question": "对于符合年龄的问题您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个也没关系的;只要你有房子或者车子都可以的哦", "currentPremiseList": [{"keywords": "无业+没收入", "actionName": "gongzuobaozheng4948", "question": "对于你有无工作作保证您还有什么疑问吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "信用贷款是不用资产进行抵押的;具体的您来公司;我们帮您匹配一下好吧", "currentPremiseList": [{"keywords": "信用贷款+信贷", "actionName": "xindai1716", "question": "对于信贷需要抵押的问题您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "一般只要位置不太偏都可以的 具体还是要跟您当面商谈哦", "currentPremiseList": [{"keywords": "本地没房", "actionName": "fangziweizhi3029", "question": "对于房子位置偏的问题您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这样吧;我稍后给您发个短信;上面有我的个人手机号码;您看可以吧?", "currentPremiseList": [{"keywords": "电话+联系方式+短信+微信+QQ+联系电话", "actionName": "lianxifangshi4847", "question": "对于我的联系方式您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们是代理各大银行机构的贷款产品的;正规安全;您可以放心。", "currentPremiseList": [{"keywords": "保障+高利贷+骗人+诈骗+骗子+诈骗+哄人+正规+合法+有营业执照+空壳公司", "actionName": "zhengguixing77", "question": "对于您对我们机构的正规性的质疑还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们跟中国银行、工商银行、建行、农商行等各大银行都有合作的;您可以了解下", "currentPremiseList": [{"keywords": "银行+合作银行+哪家银行+关联银行", "actionName": "hezuoyinghang88", "question": "对于我们的合作银行您还有什么疑问吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们这边是专业办理银行信用贷款和抵押贷款的;通过率和额度都有保障;您考虑我们肯定是没错的。", "currentPremiseList": [{"keywords": "区别+不一样+优势+特点", "actionName": "zhuanyexing2726", "question": "对于我们贷款业务的专业性您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我姓张;您叫我小张就可以了", "currentPremiseList": [{"keywords": "叫什么+姓什么+称呼+贵姓", "actionName": "xingming66", "question": "您想知道我的姓名吗?"}]}, {"nextStepText": "您看可以吗?", "doPost": false, "nextStep": "zhuanye", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "不好意思;我这边也是新来的;有些问题还不是很了解;具体的还是让我们专业的客户经理给您回电在做一个详细的介绍;您看可以吗?", "currentPremiseList": [{"keywords": "不专业+知不知道+傻+蠢+笨+业余", "actionName": "kehujingli3332", "question": "给您转专业的客户经理可以吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个我们都是电脑随机拨号的。如果不巧打扰到您向您说声抱歉", "currentPremiseList": [{"keywords": "怎么知道+怎么有+哪里来的", "actionName": "haoma1413", "question": "对于我们如何获取您号码的还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个不重要哦!重要的是我们把最新的贷款消息带给了您;如果您以后有资金需要;我们公司也可以成为您备选的解决方案之一不是很好吗?", "currentPremiseList": [{"keywords": "机器人+假人+人工智能+AI", "actionName": "kefushengfen44", "question": "对于客服身份您还有什么疑问吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个可以根据您的时间;后续我们贷款专员联系您的时候您跟他说下您大概什么时候有空就好了;可以吧?", "currentPremiseList": [{"keywords": "时间", "actionName": "lianxishijian4746", "question": "对于联系时间您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "谢谢;我这个人比较容易害羞的。", "currentPremiseList": [{"keywords": "声音+挺好听+请吃饭", "actionName": "kuazan1211", "question": "感谢您的夸赞"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们是根据客户的需求来确定期数的;1年;3年;5年;10年期都有的;具体您可以来公司做详细了解", "currentPremiseList": [{"keywords": "期数+期限+多少期", "actionName": "nianxian1312", "question": "对于贷款的年限您还有什么疑问?"}]}, {"doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那您名下有房产或者有车吗?", "currentPremiseList": [{"keywords": "要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣", "actionName": "yongqian3534", "question": "可以再考虑了解下吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那打扰您了; 祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+听不懂+哥屋恩滚+烦+真的烦+不可能", "actionName": "yongqian3534", "question": "可以再考虑了解下吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下", "actionName": "daikuanchanpin3837", "question": "对于我们给您提供的贷款产品还有疑问吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那打扰您了; 祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑", "actionName": "daikuanchanpin3837", "question": "对于我们给您提供的贷款产品还有疑问吗?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不", "actionName": "hangqing3231", "question": "您需要了解目前贷款的行情吗?"}]}, {"doPost": false, "nextStep": "liaojie", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?", "currentPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下", "actionName": "daikuanbianli", "question": "对于我们的贷款便利您还有疑问吗?"}]}, {"nextStepText": ".", "doPost": false, "nextStep": "zanting", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的", "currentPremiseList": [{"keywords": "等等+等一下+等一会+稍等+等下+等会", "actionName": "fangbian", "question": "您现在方便电话沟通吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那打扰您了; 祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲", "actionName": "daikuanbianli", "question": "对于我们的贷款便利您还有疑问吗?"}]}, {"doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那您名下有房产或者车子吗?", "currentPremiseList": [{"keywords": "上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}]}, {"doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那您名下有房产或者有车吗?", "currentPremiseList": [{"keywords": "做生意+创业+开公司 ", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}]}, {"doPost": false, "nextStep": "yongqian3534", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "谁都有急用钱的时候;提前了解一下这方面的信息也是好的嘛!", "currentPremiseList": [{"keywords": "不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着+不贷+问这么多+不+挂了+管的+管得+烦+管+有病", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}]}, {"doPost": false, "nextStep": "daikuanbianli", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们这边的贷款利息低;下款也快;确实值得您考虑呢;", "currentPremiseList": [{"keywords": "不需要+不感兴趣+不用+没兴趣+不想说+不考虑+不想告诉+干嘛+问这+你管我+拒绝+啰嗦+烦死+管+管的+太多+不告诉+管得+浪费时间+再见", "actionName": "zichanchefang", "question": "您名下的资产中有没有车或房?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开-挂了", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}]}, {"doPost": false, "nextStep": "hangqing3231", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚蛋+不想听+不行+不可以+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+够+不好意思+有钱+不缺钱+上班+吃饭+挺忙+很忙+挂了+走开+扯犊子+滚开+没时间+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+挂+忙+做事+有事+正在+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+只剩+不能+不会+不太喜欢+资金周转+不太需要+没有+睡觉+别说了+滚+不想+开车-条件", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑+想一下", "actionName": "liaojie", "question": "您可以来我们公司了解嘛?"}]}, {"doPost": false, "nextStep": "daikuanchanpin3837", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "没关系的;给您电话主要是给您提供市场上利息最低的贷款产品;这样如果您以后有需要的话;也可以随时沟通", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+行了+不+不好+拒绝+不知道+扯这些", "actionName": "liaojie", "question": "您可以来我们公司了解嘛?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始", "actionName": "yewuzhence", "question": "对于我们贷款业务政策您满意吗?"}]}, {"doPost": false, "nextStep": "hangqing3231", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢", "actionName": "yewuzhence", "question": "对于我们贷款业务政策您满意吗?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "unknown", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "您看这样行吗?为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "unknown", "actionName": "yewuzhence", "question": "对于我们贷款业务政策您满意吗?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "您看这样行吗?为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "unknown", "actionName": "hangqing3231", "question": "您需要了解目前贷款的行情吗?"}]}, {"doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,那您名下有房产或者有车吗?", "currentPremiseList": [{"keywords": "unknown", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}]}, {"doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,那您名下有房产或者有车吗?", "currentPremiseList": [{"keywords": "unknown", "actionName": "yongqian3534", "question": "可以再考虑了解下吗?"}]}, {"doPost": false, "nextStep": "liaojie", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,明白。要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?", "currentPremiseList": [{"keywords": "unknown", "actionName": "zichanchefang", "question": "您名下的资产中有没有车或房?"}]}, {"doPost": false, "nextStep": "liaojie", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,明白。要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?", "currentPremiseList": [{"keywords": "unknown", "actionName": "daikuanbianli", "question": "对于我们的贷款便利您还有疑问吗?"}]}, {"doPost": false, "nextStep": "empty5150", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "行,好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "unknown", "actionName": "liaojie", "question": "您可以来我们公司了解嘛?"}]}, {"doPost": false, "nextStep": "empty5150", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "行,好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "unknown", "actionName": "daikuanchanpin3837", "question": "对于我们给您提供的贷款产品还有疑问吗?"}]}, {"doPost": false, "nextStep": "", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "那打扰您了; 祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别讲+我不用+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要+不缺钱+有钱+上班+开会+开车+吃饭", "actionName": "hangqing3231", "question": "您需要了解目前贷款的行情吗?"}]}, {"doPost": false, "nextStep": "", "historyPremiseList": [{"keywords": "不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}], "postURL": "", "reply": "那打扰您了; 祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷", "actionName": "yongqian3534", "question": "可以再考虑了解下吗?"}]}, {"doPost": false, "nextStep": "hangqing3231", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑+想一下+什么+计划", "actionName": "liaojie", "question": "您可以来我们公司了解嘛?"}]}, {"doPost": false, "nextStep": "yewuzhence", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "是这样的;我们这边是专业办理银行信用贷款和抵押贷款的;月息在6厘左右也就是说您如果贷款1万;一个月利息只有60元。多划算啊;您说是吧?", "currentPremiseList": [{"keywords": "你哪里+哪里+是谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+你是哪个+你是那个+干嘛+公司+有什么关系+什么事+事+什么+干啥+啥事+让我+让我借钱+有事+觉得-烦死-条件", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}]}, {"doPost": false, "nextStep": "hangqing3231", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦", "actionName": "liaojie", "question": "您可以来我们公司了解嘛?"}]}, {"doPost": false, "nextStep": "", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的", "currentPremiseList": [{"keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "利息+高吗+多高+多少+怎样+怎么算+利率+年息+月息+多少厘+几厘+厘", "actionName": "lixi00", "question": "对于我们的利息您还有什么疑问?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个就要看您的个人资质情况了;每个人情况不同;具体的要您提供资料审核后才能确定哦", "currentPremiseList": [{"keywords": "额度+贷多少+放款金额+放款多少+最多+多少款+多少", "actionName": "fangkuanedu", "question": "对于我们的放款额度您还有什么疑问?"}]}, {"doPost": false, "nextStep": "", "historyPremiseList": [{"keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}], "postURL": "", "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的", "currentPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下", "actionName": "daikuanbianli", "question": "对于我们的贷款便利您还有疑问吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个就要看您的个人资质情况了;每个人情况不同;具体的要您提供资料审核后才能确定哦", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "额度+贷多少+放款金额+放款多少+最多+多少款", "actionName": "fangkuanedu", "question": "对于我们的放款额度您还有什么疑问?"}]}, {"doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的", "actionName": "zichanchefang", "question": "您名下的资产中有没有车或房?"}]}, {"doPost": false, "nextStep": "hangqing3231", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+不能+钱+不太喜欢+不太需要-车", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着+不贷+问这么多", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+不能+钱+不太喜欢+不太需要-车", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "利息+高吗+多高+多少+怎样+怎么算", "actionName": "lixi00", "question": "对于我们的利息您还有什么疑问?"}]}, {"nextStepText": "您可以来我们公司了解嘛?", "doPost": false, "nextStep": "liaojie", "historyPremiseList": [{"keywords": "要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对", "actionName": "yongqian3534", "question": "可以再考虑了解下吗?"}], "postURL": "", "reply": "要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?", "currentPremiseList": [{"keywords": "有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的", "actionName": "zichanchefang", "question": "您名下的资产中有没有车或房?"}]}, {"nextStepText": "您可以来我们公司了解嘛?", "doPost": false, "nextStep": "liaojie", "historyPremiseList": [{"keywords": "unknown+老师+教师+司机+律师+设计+运营+市场+研发+技术+客服+金融+上学+大学生+高中生+初中生+服务员+农民+学生+搬砖+上班+打工+IT+科技+工作+创业+老板+坐办公室+计算机+销售+医生+工程师+产品+硬件+种地+农村+做生意+开公司 ", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}], "postURL": "", "reply": "要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?", "currentPremiseList": [{"keywords": "有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的", "actionName": "zichanchefang", "question": "您名下的资产中有没有车或房?"}]}, {"nextStepText": "可以了解您的基本情况是什么吗?", "doPost": false, "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-没", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}, {"keywords": "不要+不用+没兴趣+用不到+滚蛋+不想听+不行+不可以+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不划算+有多专业+太贵了+贷不起+没钱+不需要+不感兴趣+不想了解+没+不准备+没计划+算了吧+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+只剩+不能+钱+不太喜欢+不太需要+滚+不想+没有+别说了-没", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}]}, {"nextStepText": "您需要了解目前贷款的行情吗?", "doPost": false, "nextStep": "hangqing3231", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?", "currentPremiseList": [{"keywords": "不要+不用+用不到+滚蛋+不想听+不行+不可以+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+管+别说了+滚", "actionName": "jibenqingkuang", "question": "可以了解您的基本情况是什么吗?"}, {"keywords": "你哪里+哪里+是谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+你是哪个+你是那个+干嘛+公司+有什么关系+什么事+事+什么+干啥+啥事-不会-条件", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}]}, {"doPost": false, "nextStep": "", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这个因为我也是刚来的,对于业务不是非常熟悉,稍后让客户经理您详聊吧!", "currentPremiseList": [{"keywords": "+再见+unknown", "actionName": "tiaozhuan", "question": "。"}]}, {"nextStepText": "您名下的资产中有没有车或房?", "doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开", "actionName": "talk", "question": "贷款项目您有兴趣了解一下吗?"}], "postURL": "", "reply": "那您名下有房产或者车子吗?", "currentPremiseList": [{"keywords": "无业+没工作+没收入", "actionName": "gongzuobaozheng4948", "question": "对于你有无工作作保证您还有什么疑问吗?"}]}, {"nextStepText": "您名下的资产中有没有车或房?", "doPost": false, "nextStep": "zichanchefang", "historyPremiseList": [{"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不", "actionName": "hangqing3231", "question": "您需要了解目前贷款的行情吗?"}], "postURL": "", "reply": "那您名下有房产或者车子吗?", "currentPremiseList": [{"keywords": "无业+没工作+没收入", "actionName": "gongzuobaozheng4948", "question": "对于你有无工作作保证您还有什么疑问吗?"}]}, {"nextStepText": "。", "doPost": false, "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,那等您方便的时候我们再沟通,先不打扰您了,再见", "currentPremiseList": [{"keywords": "在忙+没空+开车+上班+开会+没时间+在电梯+不方便", "actionName": "baoqian", "question": "很抱歉打扰您?##"}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "我们没有任何抵押和担保的信用贷款,风险很高。而且我们手续简单快捷,签完合同1-3个工作日放款!", "currentPremiseList": [{"keywords": "高+贵+太高+太贵+不低", "actionName": "lixi_high", "question": "对于利息高有什么疑问?"}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "是的呢,我们的利息相比市面产品还是相当有性价比的。", "currentPremiseList": [{"keywords": "便宜+不错+还行+划算", "actionName": "lixi_high", "question": "对于利息高有什么疑问?"}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "这边需要您的身份证以及您的工作或劳动合同复印件,稍后我也会将详细材料清单短信发送到您的手机上。", "currentPremiseList": [{"keywords": "材料+资质+条件", "actionName": "lixi_high", "question": "对于利息高有什么疑问?"}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "是这样的。", "currentPremiseList": [{"keywords": "继续+好吧+讲+说+回来了+什么事", "actionName": "zanting", "question": "."}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的;那等您方便的时候我们再联系;祝您生活愉快;再见!", "currentPremiseList": [{"keywords": "不说了+再见+下次聊+忙", "actionName": "zanting", "question": "."}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "好的,那感谢您的接听,稍后让我们客户经理和您详聊,再见。", "currentPremiseList": [{"keywords": "行吧+好吧+可以+好+嗯+行", "actionName": "zhuanye", "question": "您看可以吗?"}]}, {"nextStepText": "。", "doPost": "", "nextStep": "tiaozhuan", "historyPremiseList": [{"keywords": "不专业+知不知道+傻+蠢+笨+业余", "actionName": "kehujingli3332", "question": "给您转专业的客户经理可以吗?"}], "postURL": "", "reply": "好的,那打扰了,再见。", "currentPremiseList": [{"keywords": "算了+不用了+别了+不需要+没兴趣+再见", "actionName": "zhuanye", "question": "您看可以吗?"}]}, {"nextStepText": "可以了解您的基本情况是什么吗?", "doPost": "", "nextStep": "jibenqingkuang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?", "currentPremiseList": [{"keywords": "不要+不用+没兴趣+用不到+滚蛋+不想听+不行+不可以+别讲+我不用+没有+我不需要+不好+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不想+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要+不需要+不感兴趣+滚+不想了解-条件", "actionName": "hangqing3231", "question": "您需要了解目前贷款的行情吗?"}, {"keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不", "actionName": "hangqing3231", "question": "您需要了解目前贷款的行情吗?"}]}], "sayGoodBye": "那先不打扰了,您先忙,后续有空我们客户经理再和您约个时间详聊!", "botId": "403", "botName": "1516398427"} diff --git a/GenerateAction/data/bingli-1410948564-action.data b/GenerateAction/data/bingli-1410948564-action.data new file mode 100644 index 0000000..ac2556c --- /dev/null +++ b/GenerateAction/data/bingli-1410948564-action.data @@ -0,0 +1,375 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aa(lp11 +I272 +aVrule0find0youxi +p12 +aa(lp13 +I307 +aVrule0find0business02 +p14 +aa(lp15 +I307 +aVrule0find0business02 +p16 +aa(lp17 +I308 +aVrule0find0business03 +p18 +aasVbotName_yhm +p19 +Vceshi +p20 +sVcate +p21 +(lp22 +I20 +asVbotId +p23 +V364 +p24 +sVconditionList +p25 +(lp26 +(dp27 +VquestionList +p28 +(lp29 +(dp30 +Vque_start_time +p31 +V100 +p32 +sVbase +p33 +I1 +sVque_stop_time +p34 +V101 +p35 +sVque_sen +p36 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p37 +sa(dp38 +Vque_start_time +p39 +V1 +p40 +sVbase +p41 +I0 +sVque_stop_time +p42 +V100 +p43 +sVque_sen +p44 +V +p45 +sasVidx +p46 +I0 +sVrepeatList +p47 +(lp48 +(dp49 +VrepeatString +p50 +V#visitorname\u611f\u5174\u8da3 +p51 +sVrepeatKeywords +p52 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p53 +sa(dp54 +VrepeatString +p55 +V#visitorname\u4e0d\u611f\u5174\u8da3 +p56 +sVrepeatKeywords +p57 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p58 +sasVrelationName +p59 +Vrule-find-jieshi +p60 +sVconditionName +p61 +Vjieshi +p62 +sVrelationTail +p63 +V? +p64 +sVactive +p65 +I00 +sVrelationHead +p66 +V#visitorname +p67 +sa(dp68 +VquestionList +p69 +(lp70 +(dp71 +Vque_start_time +p72 +V100 +p73 +sVbase +p74 +I1 +sVque_stop_time +p75 +V101 +p76 +sVque_sen +p77 +V\u6211\u4eec\u9879\u76ee\u7cfb\u653f\u5e9c\u4e09\u65e7\u6539\u9020\u91cd\u70b9\u5de5\u7a0b;\u7d27\u6328\u7740\u5e02\u4e2d\u5fc3;\u5468\u8fb9\u62e5\u6709\u4e09\u7eb5\u4e09\u6a2a\u4e24\u8f68\u9053\u7684\u4ea4\u901a\u7cfb\u7edf;\u53ef\u4e0e\u9f13\u697c;\u4ed3\u5c71;\u4e07\u8fbe\u7b49\u5730\u533a\u65e0\u7f1d\u8fde\u63a5\u3002 +p78 +sa(dp79 +Vque_start_time +p80 +g40 +sVbase +p81 +I0 +sVque_stop_time +p82 +V100 +p83 +sVque_sen +p84 +g45 +sasVidx +p85 +I0 +sVrepeatList +p86 +(lp87 +(dp88 +VrepeatString +p89 +V#visitorname\u60f3\u4e70 +p90 +sVrepeatKeywords +p91 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p92 +sa(dp93 +VrepeatString +p94 +V#visitorname\u4e0d\u60f3\u4e70 +p95 +sVrepeatKeywords +p96 +V\u6ca1\u6709;\u4e0d\u9700\u8981;\u6ca1\u5174\u8da3;\u4e0d\u7528;\u4e0d\u8981;\u4e0d\u4e70;\u6ca1\u94b1 +p97 +sasVrelationName +p98 +Vrule-find-jieshao1 +p99 +sVconditionName +p100 +Vjieshao1 +p101 +sVrelationTail +p102 +V\uff1f +p103 +sVactive +p104 +I00 +sVrelationHead +p105 +V#visitorname +p106 +sa(dp107 +VquestionList +p108 +(lp109 +(dp110 +Vque_start_time +p111 +V100 +p112 +sVbase +p113 +I1 +sVque_stop_time +p114 +V101 +p115 +sVque_sen +p116 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p117 +sa(dp118 +Vque_start_time +p119 +g40 +sVbase +p120 +I0 +sVque_stop_time +p121 +V100 +p122 +sVque_sen +p123 +V\u4e00\u4e00 +p124 +sasVidx +p125 +I0 +sVrepeatList +p126 +(lp127 +(dp128 +VrepeatString +p129 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p130 +sVrepeatKeywords +p131 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p132 +sa(dp133 +VrepeatString +p134 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p135 +sVrepeatKeywords +p136 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e0d\u7528+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528; \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+ \u4e0d\u60f3\u8981+\u522b\u6253\u4e86+ \u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+ \u4e0d\u611f\u5174\u8da3 +p137 +sa(dp138 +VrepeatString +p139 +V#visitorname\u6709\u7591\u95ee +p140 +sVrepeatKeywords +p141 +V\u4f60\u662f\u8c01+\u5e72\u561b+ \u54ea\u4f4d+\u54ea\u91cc+\u5e72\u561b+\u600e\u4e48\u4e86+\u4ec0\u4e48\u4e8b+\u5e72\u4ec0\u4e48+\u8bf4\u4ec0\u4e48+\u542c\u4e0d\u6e05+\u518d\u8bf4 +p142 +sasVrelationName +p143 +Vrule-find-business +p144 +sVconditionName +p145 +Vask +p146 +sVrelationTail +p147 +g64 +sVactive +p148 +I01 +sVrelationHead +p149 +V#visitorname +p150 +sa(dp151 +VquestionList +p152 +(lp153 +(dp154 +Vque_start_time +p155 +V100 +p156 +sVbase +p157 +I1 +sVque_stop_time +p158 +V101 +p159 +sVque_sen +p160 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p161 +sa(dp162 +Vque_start_time +p163 +g40 +sVbase +p164 +I0 +sVque_stop_time +p165 +V100 +p166 +sVque_sen +p167 +V12 +p168 +sasVidx +p169 +I0 +sVrepeatList +p170 +(lp171 +(dp172 +VrepeatString +p173 +V#visitorname\u8bf4\u597d\u7684 +p174 +sVrepeatKeywords +p175 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p176 +sa(dp177 +VrepeatString +p178 +V#visitorname\u8bf4\u4e0d\u611f\u5174\u8da3 +p179 +sVrepeatKeywords +p180 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p181 +sasVrelationName +p182 +Vrule-find-wanhui1 +p183 +sVconditionName +p184 +Vwanhui1 +p185 +sVrelationTail +p186 +g64 +sVactive +p187 +I00 +sVrelationHead +p188 +V#visitorname +p189 +sasVbotName +p190 +V1410948564 +p191 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-1410948564-action.txt b/GenerateAction/data/bingli-1410948564-action.txt new file mode 100644 index 0000000..d5d31ad --- /dev/null +++ b/GenerateAction/data/bingli-1410948564-action.txt @@ -0,0 +1,107 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=jieshao1|#visitorname,rule-find-jieshao1,?|100:101:我们项目系政府三旧改造重点工程;紧挨着市中心;周边拥有三纵三横两轨道的交通系统;可与鼓楼;仓山;万达等地区无缝连接。:base~1:100: |#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有;不需要;没兴趣;不用;不要;不买;没钱 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=nextStep=jieshi|jieshi=active| +process=nextStep=jieshao1|jieshao1=active| +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=jieshao1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshao1::1|#visitorname,rule-find-jieshao1,?|100:101:我们项目系政府三旧改造重点工程;紧挨着市中心;周边拥有三纵三横两轨道的交通系统;可与鼓楼;仓山;万达等地区无缝连接。:base~1:100: |#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有;不需要;没兴趣;不用;不要;不买;没钱 +process=jieshao1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshao1=+没有;不需要;没兴趣;不用;不要;不买;没钱|pivot_httppost=active| +process=jieshao1=unknown|pivot_httppost=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=jieshao1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshao1|#visitorname,rule-find-jieshao1,?|100:101:我们项目系政府三旧改造重点工程;紧挨着市中心;周边拥有三纵三横两轨道的交通系统;可与鼓楼;仓山;万达等地区无缝连接。:base~1:100: |#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有;不需要;没兴趣;不用;不要;不买;没钱 +process=jieshao1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshao1=+没有;不需要;没兴趣;不用;不要;不买;没钱|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-1410948564-config.data b/GenerateAction/data/bingli-1410948564-config.data new file mode 100644 index 0000000..a874f0d --- /dev/null +++ b/GenerateAction/data/bingli-1410948564-config.data @@ -0,0 +1,92 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vwanhui1 +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +S'keywords' +p12 +S'' +p13 +sS'actionName' +p14 +g13 +sS'question' +p15 +V +p16 +sasVpostURL +p17 +g16 +sVreply +p18 +V\u662f\u4e2aVS\u5206v +p19 +sVcurrentPremiseList +p20 +(lp21 +(dp22 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p23 +sg14 +Vask +p24 +sg15 +g16 +sasa(dp25 +VdoPost +p26 +I00 +sVnextStep +p27 +Vjieshi +p28 +sVhistoryPremiseList +p29 +(lp30 +(dp31 +g12 +g13 +sg14 +g13 +sg15 +g16 +sasVpostURL +p32 +g16 +sVreply +p33 +V\u6253\u8f66X +p34 +sVcurrentPremiseList +p35 +(lp36 +(dp37 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p38 +sg14 +Vwanhui1 +p39 +sg15 +g16 +sasasVbotName +p40 +V1410948564 +p41 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-236149560-action.data b/GenerateAction/data/bingli-236149560-action.data new file mode 100644 index 0000000..df654b1 --- /dev/null +++ b/GenerateAction/data/bingli-236149560-action.data @@ -0,0 +1,273 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +Vceshi2 +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +V367 +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p50 +sasVrelationName +p51 +Vrule-find-business +p52 +sVconditionName +p53 +Vask +p54 +sVrelationTail +p55 +V? +p56 +sVactive +p57 +I01 +sVrelationHead +p58 +V#visitorname +p59 +sa(dp60 +VquestionList +p61 +(lp62 +(dp63 +Vque_start_time +p64 +V100 +p65 +sVbase +p66 +I1 +sVque_stop_time +p67 +V101 +p68 +sVque_sen +p69 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p70 +sa(dp71 +Vque_start_time +p72 +g32 +sVbase +p73 +I0 +sVque_stop_time +p74 +V100 +p75 +sVque_sen +p76 +V12 +p77 +sasVidx +p78 +I0 +sVrepeatList +p79 +(lp80 +(dp81 +VrepeatString +p82 +V#visitorname\u6709\u5174\u8da3 +p83 +sVrepeatKeywords +p84 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p85 +sa(dp86 +VrepeatString +p87 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p88 +sVrepeatKeywords +p89 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p90 +sasVrelationName +p91 +Vrule-find-wanhui1 +p92 +sVconditionName +p93 +Vwanhui1 +p94 +sVrelationTail +p95 +g56 +sVactive +p96 +I00 +sVrelationHead +p97 +V#visitorname +p98 +sa(dp99 +VquestionList +p100 +(lp101 +(dp102 +Vque_start_time +p103 +V100 +p104 +sVbase +p105 +I1 +sVque_stop_time +p106 +V101 +p107 +sVque_sen +p108 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p109 +sa(dp110 +Vque_start_time +p111 +g32 +sVbase +p112 +I0 +sVque_stop_time +p113 +V100 +p114 +sVque_sen +p115 +V135 +p116 +sasVidx +p117 +I0 +sVrepeatList +p118 +(lp119 +(dp120 +VrepeatString +p121 +V#visitorname\u6709\u5174\u8da3 +p122 +sVrepeatKeywords +p123 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p124 +sa(dp125 +VrepeatString +p126 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p129 +sasVrelationName +p130 +Vrule-find-jieshi +p131 +sVconditionName +p132 +Vjieshi +p133 +sVrelationTail +p134 +g56 +sVactive +p135 +I00 +sVrelationHead +p136 +V#visitorname +p137 +sasVbotName +p138 +V236149560 +p139 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-236149560-action.txt b/GenerateAction/data/bingli-236149560-action.txt new file mode 100644 index 0000000..4e9ae06 --- /dev/null +++ b/GenerateAction/data/bingli-236149560-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-236149560-config.data b/GenerateAction/data/bingli-236149560-config.data new file mode 100644 index 0000000..60ce1ab --- /dev/null +++ b/GenerateAction/data/bingli-236149560-config.data @@ -0,0 +1,88 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vwanhui1 +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +Vkeywords +p12 +V +p13 +sVactionName +p14 +g13 +sasVpostURL +p15 +g13 +sVreply +p16 +Vwaefvarfvf +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +Vkeywords +p21 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p22 +sVactionName +p23 +Vask +p24 +sasa(dp25 +VdoPost +p26 +I00 +sVnextStep +p27 +Vjieshi +p28 +sVhistoryPremiseList +p29 +(lp30 +(dp31 +Vkeywords +p32 +g13 +sVactionName +p33 +g13 +sasVpostURL +p34 +g13 +sVreply +p35 +Vaccvc +p36 +sVcurrentPremiseList +p37 +(lp38 +(dp39 +Vkeywords +p40 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p41 +sVactionName +p42 +Vwanhui1 +p43 +sasasVbotName +p44 +V236149560 +p45 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-5622984035-action.data b/GenerateAction/data/bingli-5622984035-action.data new file mode 100644 index 0000000..d244b38 --- /dev/null +++ b/GenerateAction/data/bingli-5622984035-action.data @@ -0,0 +1,461 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aa(lp11 +I307 +aVrule0find0business02 +p12 +aa(lp13 +I279 +aVrule0find0jieshu01 +p14 +aa(lp15 +I273 +aVrule0find0jishu +p16 +aa(lp17 +I341 +aVrule0find0huaiyi +p18 +aa(lp19 +I291 +aVrile0find0wenxihuan +p20 +aa(lp21 +I313 +aVrule0find0zhuangao +p22 +aa(lp23 +I314 +aVrule0find0zhuangao01 +p24 +aa(lp25 +I314 +aVrule0find0zhuangao01 +p26 +aa(lp27 +I315 +aVrule0find0zhuangao02 +p28 +aa(lp29 +I339 +aVrule0find0yaoqiu +p30 +aa(lp31 +I344 +aVrule0find0zhidao +p32 +aa(lp33 +I347 +aVrule0find0lianxi +p34 +aa(lp35 +I228 +aVrule0like +p36 +aa(lp37 +I359 +aVrule0sport0type +p38 +aa(lp39 +I348 +aVrule0find0business04 +p40 +aa(lp41 +I348 +aVrule0find0business04 +p42 +aa(lp43 +I348 +aVrule0find0business04 +p44 +aa(lp45 +I348 +aVrule0find0business04 +p46 +aa(lp47 +I348 +aVrule0find0business04 +p48 +aa(lp49 +I348 +aVrule0find0business04 +p50 +aa(lp51 +I348 +aVrule0find0business04 +p52 +aasVbotName_yhm +p53 +V\u6d4b\u8bd511 +p54 +sVcate +p55 +(lp56 +I14 +asVbotId +p57 +V378 +p58 +sVconditionList +p59 +(lp60 +(dp61 +VquestionList +p62 +(lp63 +(dp64 +Vque_start_time +p65 +V100 +p66 +sVbase +p67 +I1 +sVque_stop_time +p68 +V101 +p69 +sVque_sen +p70 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p71 +sa(dp72 +Vque_start_time +p73 +V1 +p74 +sVbase +p75 +I0 +sVque_stop_time +p76 +V100 +p77 +sVque_sen +p78 +V12 +p79 +sasVidx +p80 +I0 +sVrepeatList +p81 +(lp82 +(dp83 +VrepeatString +p84 +V#visitorname\u6709\u5174\u8da3 +p85 +sVrepeatKeywords +p86 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p87 +sa(dp88 +VrepeatString +p89 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p90 +sVrepeatKeywords +p91 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p92 +sasVrelationName +p93 +Vrule-find-wanhui1 +p94 +sVconditionName +p95 +Vwanhui1 +p96 +sVrelationTail +p97 +V? +p98 +sVactive +p99 +I00 +sVrelationHead +p100 +V#visitorname +p101 +sa(dp102 +VquestionList +p103 +(lp104 +(dp105 +Vque_start_time +p106 +V100 +p107 +sVbase +p108 +I1 +sVque_stop_time +p109 +V101 +p110 +sVque_sen +p111 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p112 +sa(dp113 +Vque_start_time +p114 +g74 +sVbase +p115 +I0 +sVque_stop_time +p116 +V100 +p117 +sVque_sen +p118 +V135 +p119 +sasVidx +p120 +I0 +sVrepeatList +p121 +(lp122 +(dp123 +VrepeatString +p124 +V#visitorname\u6709\u5174\u8da3 +p125 +sVrepeatKeywords +p126 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p127 +sa(dp128 +VrepeatString +p129 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p130 +sVrepeatKeywords +p131 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p132 +sasVrelationName +p133 +Vrule-find-jieshi +p134 +sVconditionName +p135 +Vjieshi +p136 +sVrelationTail +p137 +g98 +sVactive +p138 +I00 +sVrelationHead +p139 +V#visitorname +p140 +sa(dp141 +VquestionList +p142 +(lp143 +(dp144 +Vque_start_time +p145 +g74 +sVbase +p146 +I1 +sVque_stop_time +p147 +V100 +p148 +sVque_sen +p149 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p150 +sa(dp151 +Vque_start_time +p152 +V100 +p153 +sVbase +p154 +I0 +sVque_stop_time +p155 +V101 +p156 +sVque_sen +p157 +V\u4e00\u4e00 +p158 +sasVidx +p159 +I0 +sVrepeatList +p160 +(lp161 +(dp162 +VrepeatString +p163 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p164 +sVrepeatKeywords +p165 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p166 +sa(dp167 +VrepeatString +p168 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p169 +sVrepeatKeywords +p170 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p171 +sasVrelationName +p172 +Vrule-find-business +p173 +sVconditionName +p174 +Vask +p175 +sVrelationTail +p176 +g98 +sVactive +p177 +I01 +sVrelationHead +p178 +V#visitorname +p179 +sa(dp180 +VquestionList +p181 +(lp182 +(dp183 +Vque_start_time +p184 +g74 +sVbase +p185 +I1 +sVque_stop_time +p186 +V100 +p187 +sVque_sen +p188 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p189 +sasVidx +p190 +I0 +sVrepeatList +p191 +(lp192 +(dp193 +VrepeatString +p194 +V#visitorname\u559c\u6b22[] +p195 +sVrepeatKeywords +p196 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p197 +sasVrelationName +p198 +Vrule-sport-type +p199 +sVconditionName +p200 +Vsport +p201 +sVrelationTail +p202 +g98 +sVactive +p203 +I01 +sVrelationHead +p204 +V#visitorname +p205 +sa(dp206 +VquestionList +p207 +(lp208 +(dp209 +Vque_start_time +p210 +g74 +sVbase +p211 +I1 +sVque_stop_time +p212 +V100 +p213 +sVque_sen +p214 +V\u4f60\u597d +p215 +sasVidx +p216 +I0 +sVrepeatList +p217 +(lp218 +(dp219 +VrepeatString +p220 +V +p221 +sVrepeatKeywords +p222 +g221 +sasVrelationName +p223 +Vrule-find-business +p224 +sVconditionName +p225 +Vsport +p226 +sVrelationTail +p227 +V\uff1f +p228 +sVactive +p229 +I01 +sVrelationHead +p230 +VAZDFV +p231 +sasVbotName +p232 +V5622984035 +p233 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-5622984035-action.txt b/GenerateAction/data/bingli-5622984035-action.txt new file mode 100644 index 0000000..c0602f3 --- /dev/null +++ b/GenerateAction/data/bingli-5622984035-action.txt @@ -0,0 +1,125 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=sport|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +reference=sport|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| +process=nextStep=ask|ask=active| +process=nextStep=sport|sport=active| +process=nextStep=sport|sport=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=sport +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=sport +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=sport=+|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=sport=+|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-5622984035-config.data b/GenerateAction/data/bingli-5622984035-config.data new file mode 100644 index 0000000..39dbbbd --- /dev/null +++ b/GenerateAction/data/bingli-5622984035-config.data @@ -0,0 +1,101 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vwanhui1 +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +S'keywords' +p14 +S'' +p15 +sS'actionName' +p16 +g15 +sS'question' +p17 +V +p18 +sasVpostURL +p19 +g18 +sVreply +p20 +VAX\u5e02\u4e2d\u5fc3 +p21 +sVcurrentPremiseList +p22 +(lp23 +(dp24 +g14 +Vdasd +p25 +sg16 +Vsport +p26 +sg17 +V\u4f60\u597d1 +p27 +sasa(dp28 +VnextStepText +p29 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p30 +sVdoPost +p31 +I00 +sVnextStep +p32 +Vjieshi +p33 +sVhistoryPremiseList +p34 +(lp35 +(dp36 +g14 +g15 +sg16 +g15 +sg17 +g18 +sasVpostURL +p37 +g18 +sVreply +p38 +V\u6d4b\u8bd5\u90fd\u60f3\u5403 +p39 +sVcurrentPremiseList +p40 +(lp41 +(dp42 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p43 +sg16 +Vask +p44 +sg17 +g18 +sasasVbotName +p45 +V5622984035 +p46 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-5889275960-action.data b/GenerateAction/data/bingli-5889275960-action.data new file mode 100644 index 0000000..415526a --- /dev/null +++ b/GenerateAction/data/bingli-5889275960-action.data @@ -0,0 +1,282 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +V\u4fa7\u77f3 +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +Vundefined +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e0d\u7528+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528; \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+ \u4e0d\u60f3\u8981+\u522b\u6253\u4e86+ \u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+ \u4e0d\u611f\u5174\u8da3 +p50 +sa(dp51 +VrepeatString +p52 +V#visitorname\u6709\u7591\u95ee +p53 +sVrepeatKeywords +p54 +V\u4f60\u662f\u8c01+\u5e72\u561b+ \u54ea\u4f4d+\u54ea\u91cc+\u5e72\u561b+\u600e\u4e48\u4e86+\u4ec0\u4e48\u4e8b+\u5e72\u4ec0\u4e48+\u8bf4\u4ec0\u4e48+\u542c\u4e0d\u6e05+\u518d\u8bf4 +p55 +sasVrelationName +p56 +Vrule-find-business +p57 +sVconditionName +p58 +Vask +p59 +sVrelationHead +p60 +V#visitorname +p61 +sVactive +p62 +I01 +sVrelationTail +p63 +V? +p64 +sa(dp65 +VquestionList +p66 +(lp67 +(dp68 +Vque_start_time +p69 +V100 +p70 +sVbase +p71 +I1 +sVque_stop_time +p72 +V101 +p73 +sVque_sen +p74 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p75 +sa(dp76 +Vque_start_time +p77 +g32 +sVbase +p78 +I0 +sVque_stop_time +p79 +V100 +p80 +sVque_sen +p81 +V12 +p82 +sasVidx +p83 +I0 +sVrepeatList +p84 +(lp85 +(dp86 +VrepeatString +p87 +V#visitorname\u8bf4\u597d\u7684 +p88 +sVrepeatKeywords +p89 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p90 +sa(dp91 +VrepeatString +p92 +V#visitorname\u8bf4\u4e0d\u611f\u5174\u8da3 +p93 +sVrepeatKeywords +p94 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p95 +sasVrelationName +p96 +Vrule-find-wanhui1 +p97 +sVconditionName +p98 +Vwanhui1 +p99 +sVrelationHead +p100 +V#visitorname +p101 +sVactive +p102 +I00 +sVrelationTail +p103 +g64 +sa(dp104 +VquestionList +p105 +(lp106 +(dp107 +Vque_start_time +p108 +V100 +p109 +sVbase +p110 +I1 +sVque_stop_time +p111 +V101 +p112 +sVque_sen +p113 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p114 +sa(dp115 +Vque_start_time +p116 +g32 +sVbase +p117 +I0 +sVque_stop_time +p118 +V100 +p119 +sVque_sen +p120 +V135 +p121 +sasVidx +p122 +I0 +sVrepeatList +p123 +(lp124 +(dp125 +VrepeatString +p126 +V#visitorname\u611f\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p129 +sa(dp130 +VrepeatString +p131 +V#visitorname\u4e0d\u611f\u5174\u8da3 +p132 +sVrepeatKeywords +p133 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p134 +sasVrelationName +p135 +Vrule-find-jieshi +p136 +sVconditionName +p137 +Vjieshi +p138 +sVrelationHead +p139 +V#visitorname +p140 +sVactive +p141 +I00 +sVrelationTail +p142 +g64 +sasVbotName +p143 +V +p144 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-5889275960-action.txt b/GenerateAction/data/bingli-5889275960-action.txt new file mode 100644 index 0000000..3bfa66e --- /dev/null +++ b/GenerateAction/data/bingli-5889275960-action.txt @@ -0,0 +1,83 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-5889275960-config.data b/GenerateAction/data/bingli-5889275960-config.data new file mode 100644 index 0000000..23e1926 --- /dev/null +++ b/GenerateAction/data/bingli-5889275960-config.data @@ -0,0 +1,88 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vwanhui1 +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +Vkeywords +p12 +V +p13 +sVactionName +p14 +g13 +sasVpostURL +p15 +g13 +sVreply +p16 +V\u5e74\u53f7 +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +Vkeywords +p21 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p22 +sVactionName +p23 +Vask +p24 +sasa(dp25 +VdoPost +p26 +I00 +sVnextStep +p27 +Vjieshi +p28 +sVhistoryPremiseList +p29 +(lp30 +(dp31 +Vkeywords +p32 +g13 +sVactionName +p33 +g13 +sasVpostURL +p34 +g13 +sVreply +p35 +V\u963f\u65e0\u6cd5\u8ba9v\u5427 +p36 +sVcurrentPremiseList +p37 +(lp38 +(dp39 +Vkeywords +p40 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p41 +sVactionName +p42 +Vwanhui1 +p43 +sasasVbotName +p44 +V5889275960 +p45 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-5985401483-action.data b/GenerateAction/data/bingli-5985401483-action.data new file mode 100644 index 0000000..b12785a --- /dev/null +++ b/GenerateAction/data/bingli-5985401483-action.data @@ -0,0 +1,28 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +sVbotName_yhm +p5 +V5985401483 +p6 +sVcate +p7 +(lp8 +I14 +asVbotId +p9 +V275 +p10 +sVconditionList +p11 +(lp12 +sVbotName +p13 +V5985401483 +p14 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-5985401483-action.txt b/GenerateAction/data/bingli-5985401483-action.txt new file mode 100644 index 0000000..0f911a5 --- /dev/null +++ b/GenerateAction/data/bingli-5985401483-action.txt @@ -0,0 +1,9 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 + + + diff --git a/GenerateAction/data/bingli-6637370072-action.data b/GenerateAction/data/bingli-6637370072-action.data new file mode 100644 index 0000000..c4385ba --- /dev/null +++ b/GenerateAction/data/bingli-6637370072-action.data @@ -0,0 +1,273 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +Vceshi3 +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +V368 +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p50 +sasVrelationName +p51 +Vrule-find-business +p52 +sVconditionName +p53 +Vask +p54 +sVrelationTail +p55 +V? +p56 +sVactive +p57 +I01 +sVrelationHead +p58 +V#visitorname +p59 +sa(dp60 +VquestionList +p61 +(lp62 +(dp63 +Vque_start_time +p64 +V100 +p65 +sVbase +p66 +I1 +sVque_stop_time +p67 +V101 +p68 +sVque_sen +p69 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p70 +sa(dp71 +Vque_start_time +p72 +g32 +sVbase +p73 +I0 +sVque_stop_time +p74 +V100 +p75 +sVque_sen +p76 +V12 +p77 +sasVidx +p78 +I0 +sVrepeatList +p79 +(lp80 +(dp81 +VrepeatString +p82 +V#visitorname\u6709\u5174\u8da3 +p83 +sVrepeatKeywords +p84 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p85 +sa(dp86 +VrepeatString +p87 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p88 +sVrepeatKeywords +p89 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p90 +sasVrelationName +p91 +Vrule-find-wanhui1 +p92 +sVconditionName +p93 +Vwanhui1 +p94 +sVrelationTail +p95 +g56 +sVactive +p96 +I00 +sVrelationHead +p97 +V#visitorname +p98 +sa(dp99 +VquestionList +p100 +(lp101 +(dp102 +Vque_start_time +p103 +V100 +p104 +sVbase +p105 +I1 +sVque_stop_time +p106 +V101 +p107 +sVque_sen +p108 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p109 +sa(dp110 +Vque_start_time +p111 +g32 +sVbase +p112 +I0 +sVque_stop_time +p113 +V100 +p114 +sVque_sen +p115 +V135 +p116 +sasVidx +p117 +I0 +sVrepeatList +p118 +(lp119 +(dp120 +VrepeatString +p121 +V#visitorname\u6709\u5174\u8da3 +p122 +sVrepeatKeywords +p123 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p124 +sa(dp125 +VrepeatString +p126 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p129 +sasVrelationName +p130 +Vrule-find-jieshi +p131 +sVconditionName +p132 +Vjieshi +p133 +sVrelationTail +p134 +g56 +sVactive +p135 +I00 +sVrelationHead +p136 +V#visitorname +p137 +sasVbotName +p138 +V6637370072 +p139 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-6637370072-action.txt b/GenerateAction/data/bingli-6637370072-action.txt new file mode 100644 index 0000000..4e9ae06 --- /dev/null +++ b/GenerateAction/data/bingli-6637370072-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-6637370072-config.data b/GenerateAction/data/bingli-6637370072-config.data new file mode 100644 index 0000000..888a30e --- /dev/null +++ b/GenerateAction/data/bingli-6637370072-config.data @@ -0,0 +1,100 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vwanhui1 +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +Vkeywords +p14 +V +p15 +sVactionName +p16 +g15 +sasVpostURL +p17 +g15 +sVreply +p18 +Vzdgvfdv f +p19 +sVcurrentPremiseList +p20 +(lp21 +(dp22 +Vkeywords +p23 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p24 +sVactionName +p25 +Vask +p26 +sVquestion +p27 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p28 +sasa(dp29 +VdoPost +p30 +I00 +sVnextStep +p31 +Vjieshi +p32 +sVhistoryPremiseList +p33 +(lp34 +(dp35 +Vkeywords +p36 +g15 +sVactionName +p37 +g15 +sasVpostURL +p38 +g15 +sVreply +p39 +Vninini +p40 +sVcurrentPremiseList +p41 +(lp42 +(dp43 +Vkeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p45 +sVactionName +p46 +Vwanhui1 +p47 +sVquestion +p48 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p49 +sasasVbotName +p50 +V6637370072 +p51 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-8228744942-action.data b/GenerateAction/data/bingli-8228744942-action.data new file mode 100644 index 0000000..471acc3 --- /dev/null +++ b/GenerateAction/data/bingli-8228744942-action.data @@ -0,0 +1,282 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +Vceshi2 +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +Vundefined +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e0d\u7528+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528; \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+ \u4e0d\u60f3\u8981+\u522b\u6253\u4e86+ \u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+ \u4e0d\u611f\u5174\u8da3 +p50 +sa(dp51 +VrepeatString +p52 +V#visitorname\u6709\u7591\u95ee +p53 +sVrepeatKeywords +p54 +V\u4f60\u662f\u8c01+\u5e72\u561b+ \u54ea\u4f4d+\u54ea\u91cc+\u5e72\u561b+\u600e\u4e48\u4e86+\u4ec0\u4e48\u4e8b+\u5e72\u4ec0\u4e48+\u8bf4\u4ec0\u4e48+\u542c\u4e0d\u6e05+\u518d\u8bf4 +p55 +sasVrelationName +p56 +Vrule-find-business +p57 +sVconditionName +p58 +Vask +p59 +sVrelationHead +p60 +V#visitorname +p61 +sVactive +p62 +I01 +sVrelationTail +p63 +V? +p64 +sa(dp65 +VquestionList +p66 +(lp67 +(dp68 +Vque_start_time +p69 +V100 +p70 +sVbase +p71 +I1 +sVque_stop_time +p72 +V101 +p73 +sVque_sen +p74 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p75 +sa(dp76 +Vque_start_time +p77 +g32 +sVbase +p78 +I0 +sVque_stop_time +p79 +V100 +p80 +sVque_sen +p81 +V12 +p82 +sasVidx +p83 +I0 +sVrepeatList +p84 +(lp85 +(dp86 +VrepeatString +p87 +V#visitorname\u8bf4\u597d\u7684 +p88 +sVrepeatKeywords +p89 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p90 +sa(dp91 +VrepeatString +p92 +V#visitorname\u8bf4\u4e0d\u611f\u5174\u8da3 +p93 +sVrepeatKeywords +p94 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p95 +sasVrelationName +p96 +Vrule-find-wanhui1 +p97 +sVconditionName +p98 +Vwanhui1 +p99 +sVrelationHead +p100 +V#visitorname +p101 +sVactive +p102 +I00 +sVrelationTail +p103 +g64 +sa(dp104 +VquestionList +p105 +(lp106 +(dp107 +Vque_start_time +p108 +V100 +p109 +sVbase +p110 +I1 +sVque_stop_time +p111 +V101 +p112 +sVque_sen +p113 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p114 +sa(dp115 +Vque_start_time +p116 +g32 +sVbase +p117 +I0 +sVque_stop_time +p118 +V100 +p119 +sVque_sen +p120 +V +p121 +sasVidx +p122 +I0 +sVrepeatList +p123 +(lp124 +(dp125 +VrepeatString +p126 +V#visitorname\u611f\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p129 +sa(dp130 +VrepeatString +p131 +V#visitorname\u4e0d\u611f\u5174\u8da3 +p132 +sVrepeatKeywords +p133 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p134 +sasVrelationName +p135 +Vrule-find-jieshi +p136 +sVconditionName +p137 +Vjieshi +p138 +sVrelationHead +p139 +V#visitorname +p140 +sVactive +p141 +I00 +sVrelationTail +p142 +g64 +sasVbotName +p143 +V +p144 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-8228744942-action.txt b/GenerateAction/data/bingli-8228744942-action.txt new file mode 100644 index 0000000..d01587b --- /dev/null +++ b/GenerateAction/data/bingli-8228744942-action.txt @@ -0,0 +1,83 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-8228744942-config.data b/GenerateAction/data/bingli-8228744942-config.data new file mode 100644 index 0000000..5a83a69 --- /dev/null +++ b/GenerateAction/data/bingli-8228744942-config.data @@ -0,0 +1,88 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vwanhui1 +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +Vkeywords +p12 +V +p13 +sVactionName +p14 +g13 +sasVpostURL +p15 +g13 +sVreply +p16 +VSAC +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +Vkeywords +p21 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p22 +sVactionName +p23 +Vask +p24 +sasa(dp25 +VdoPost +p26 +I00 +sVnextStep +p27 +Vjieshi +p28 +sVhistoryPremiseList +p29 +(lp30 +(dp31 +Vkeywords +p32 +g13 +sVactionName +p33 +g13 +sasVpostURL +p34 +g13 +sVreply +p35 +VAC dxcv +p36 +sVcurrentPremiseList +p37 +(lp38 +(dp39 +Vkeywords +p40 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p41 +sVactionName +p42 +Vwanhui1 +p43 +sasasVbotName +p44 +V8228744942 +p45 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-9273893148-action.data b/GenerateAction/data/bingli-9273893148-action.data new file mode 100644 index 0000000..40e0f54 --- /dev/null +++ b/GenerateAction/data/bingli-9273893148-action.data @@ -0,0 +1,273 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +V\u7b56\u58eb +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +V380 +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p50 +sasVrelationName +p51 +Vrule-find-business +p52 +sVconditionName +p53 +Vask +p54 +sVrelationTail +p55 +V? +p56 +sVactive +p57 +I01 +sVrelationHead +p58 +V#visitorname +p59 +sa(dp60 +VquestionList +p61 +(lp62 +(dp63 +Vque_start_time +p64 +V100 +p65 +sVbase +p66 +I1 +sVque_stop_time +p67 +V101 +p68 +sVque_sen +p69 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p70 +sa(dp71 +Vque_start_time +p72 +g32 +sVbase +p73 +I0 +sVque_stop_time +p74 +V100 +p75 +sVque_sen +p76 +V12 +p77 +sasVidx +p78 +I0 +sVrepeatList +p79 +(lp80 +(dp81 +VrepeatString +p82 +V#visitorname\u6709\u5174\u8da3 +p83 +sVrepeatKeywords +p84 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p85 +sa(dp86 +VrepeatString +p87 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p88 +sVrepeatKeywords +p89 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p90 +sasVrelationName +p91 +Vrule-find-wanhui1 +p92 +sVconditionName +p93 +Vwanhui1 +p94 +sVrelationTail +p95 +g56 +sVactive +p96 +I00 +sVrelationHead +p97 +V#visitorname +p98 +sa(dp99 +VquestionList +p100 +(lp101 +(dp102 +Vque_start_time +p103 +V100 +p104 +sVbase +p105 +I1 +sVque_stop_time +p106 +V101 +p107 +sVque_sen +p108 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p109 +sa(dp110 +Vque_start_time +p111 +g32 +sVbase +p112 +I0 +sVque_stop_time +p113 +V100 +p114 +sVque_sen +p115 +V135 +p116 +sasVidx +p117 +I0 +sVrepeatList +p118 +(lp119 +(dp120 +VrepeatString +p121 +V#visitorname\u6709\u5174\u8da3 +p122 +sVrepeatKeywords +p123 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p124 +sa(dp125 +VrepeatString +p126 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p129 +sasVrelationName +p130 +Vrule-find-jieshi +p131 +sVconditionName +p132 +Vjieshi +p133 +sVrelationTail +p134 +g56 +sVactive +p135 +I00 +sVrelationHead +p136 +V#visitorname +p137 +sasVbotName +p138 +V9273893148 +p139 +s. \ No newline at end of file diff --git a/GenerateAction/data/bingli-9273893148-action.txt b/GenerateAction/data/bingli-9273893148-action.txt new file mode 100644 index 0000000..4e9ae06 --- /dev/null +++ b/GenerateAction/data/bingli-9273893148-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/bingli-9273893148-config.data b/GenerateAction/data/bingli-9273893148-config.data new file mode 100644 index 0000000..a6ae7a2 --- /dev/null +++ b/GenerateAction/data/bingli-9273893148-config.data @@ -0,0 +1,104 @@ +(dp0 +VuserName +p1 +Vbingli +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vwanhui1 +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +Vkeywords +p14 +V +p15 +sVactionName +p16 +g15 +sasVpostURL +p17 +g15 +sVreply +p18 +V\u554a\u662f\u975e\u5e38\u7684\u662f\u975e\u5e38 +p19 +sVcurrentPremiseList +p20 +(lp21 +(dp22 +Vkeywords +p23 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p24 +sVactionName +p25 +Vask +p26 +sVquestion +p27 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p28 +sasa(dp29 +VnextStepText +p30 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p31 +sVdoPost +p32 +I00 +sVnextStep +p33 +Vjieshi +p34 +sVhistoryPremiseList +p35 +(lp36 +(dp37 +Vkeywords +p38 +g15 +sVactionName +p39 +g15 +sasVpostURL +p40 +g15 +sVreply +p41 +VAFVC\u8bf4\u5f97\u975e\u5e38 +p42 +sVcurrentPremiseList +p43 +(lp44 +(dp45 +Vkeywords +p46 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p47 +sVactionName +p48 +Vwanhui1 +p49 +sVquestion +p50 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p51 +sasasVbotName +p52 +V9273893148 +p53 +s. \ No newline at end of file diff --git a/GenerateAction/data/hxw-post_test-action.data b/GenerateAction/data/hxw-post_test-action.data new file mode 100644 index 0000000..1c9cda3 --- /dev/null +++ b/GenerateAction/data/hxw-post_test-action.data @@ -0,0 +1,146 @@ +(dp0 +VuserName +p1 +Vhxw +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I250 +aVrule0find0daikuan +p6 +aa(lp7 +I251 +aVrule0find0zhuangxiu +p8 +aa(lp9 +I252 +aVrule0find0dianti +p10 +aasVbotName_yhm +p11 +Vxx +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +V275 +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V1 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V100 +p27 +sVque_sen +p28 +V\u4f60\u559c\u6b22\u73a9\u6e38\u620f\u5417\uff1f +p29 +sasVidx +p30 +I0 +sVrepeatList +p31 +(lp32 +(dp33 +VrepeatString +p34 +V#visitorname\u559c\u6b22\u73a9\u6e38\u620f +p35 +sVrepeatKeywords +p36 +V\u559c\u6b22-\u4e0d\u559c\u6b22 +p37 +sasVrelationName +p38 +Vrule-find-daikuan +p39 +sVconditionName +p40 +Vdaikuan +p41 +sVrelationHead +p42 +V#visitorname +p43 +sVactive +p44 +I01 +sVrelationTail +p45 +V? +p46 +sa(dp47 +VquestionList +p48 +(lp49 +(dp50 +Vque_start_time +p51 +g24 +sVbase +p52 +I1 +sVque_stop_time +p53 +V100 +p54 +sVque_sen +p55 +V\u4f60\u559c\u6b22\u770b\u7535\u5f71\u5417\uff1f +p56 +sasVidx +p57 +I0 +sVrepeatList +p58 +(lp59 +(dp60 +VrepeatString +p61 +V#visitorname\u559c\u6b22\u770b\u7535\u5f71 +p62 +sVrepeatKeywords +p63 +V\u55ef+\u7535\u5f71+\u559c\u6b22 +p64 +sasVrelationName +p65 +Vrule-find-zhuangxiu +p66 +sVconditionName +p67 +Vzhuangxiu +p68 +sVrelationHead +p69 +V#visitorname +p70 +sVactive +p71 +I01 +sVrelationTail +p72 +g46 +sasVbotName +p73 +Vpost_test +p74 +s. \ No newline at end of file diff --git a/GenerateAction/data/hxw-post_test-action.txt b/GenerateAction/data/hxw-post_test-action.txt new file mode 100644 index 0000000..59b47cb --- /dev/null +++ b/GenerateAction/data/hxw-post_test-action.txt @@ -0,0 +1,53 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=daikuan|#visitorname,rule-find-daikuan,?|1:100:你喜欢玩游戏吗?:base|#visitorname喜欢玩游戏=+喜欢-不喜欢 +reference=zhuangxiu|#visitorname,rule-find-zhuangxiu,?|1:100:你喜欢看电影吗?:base|#visitorname喜欢看电影=+嗯+电影+喜欢 +process=nextStep=daikuan|daikuan=active| +process=nextStep=zhuangxiu|zhuangxiu=active| + + +name=daikuan +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=daikuan::1|#visitorname,rule-find-daikuan,?|1:100:你喜欢玩游戏吗?:base|#visitorname喜欢玩游戏=+喜欢-不喜欢 +process=daikuan=+喜欢|pivot_httppost=active| +process=daikuan=unknown|pivot_httppost=active| + + +name=zhuangxiu +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=zhuangxiu::1|#visitorname,rule-find-zhuangxiu,?|1:100:你喜欢看电影吗?:base|#visitorname喜欢看电影=+嗯+电影+喜欢 +process=zhuangxiu=+嗯+电影+喜欢|pivot_httppost=active| +process=zhuangxiu=unknown|pivot_httppost=active| + + +name=daikuan_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=daikuan|#visitorname,rule-find-daikuan,?|1:100:你喜欢玩游戏吗?:base|#visitorname喜欢玩游戏=+喜欢-不喜欢 +process=daikuan=+喜欢|pivot_httppost=active| + + +name=zhuangxiu_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=zhuangxiu|#visitorname,rule-find-zhuangxiu,?|1:100:你喜欢看电影吗?:base|#visitorname喜欢看电影=+嗯+电影+喜欢 +process=zhuangxiu=+嗯+电影+喜欢|pivot_httppost=active| + + + diff --git a/GenerateAction/data/hxw-post_test-config.data b/GenerateAction/data/hxw-post_test-config.data new file mode 100644 index 0000000..a7ff451 --- /dev/null +++ b/GenerateAction/data/hxw-post_test-config.data @@ -0,0 +1,125 @@ +(dp0 +VuserName +p1 +Vhxw +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vzhuangxiu +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +Vkeywords +p12 +V +p13 +sVactionName +p14 +g13 +sasVpostURL +p15 +g13 +sVreply +p16 +Vxx +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +Vkeywords +p21 +V\u8d37\u6b3e-\u4e0d\u8d37\u6b3e +p22 +sVactionName +p23 +Vdaikuan +p24 +sasa(dp25 +VdoPost +p26 +I00 +sVnextStep +p27 +Vdianti +p28 +sVhistoryPremiseList +p29 +(lp30 +(dp31 +Vkeywords +p32 +g13 +sVactionName +p33 +g13 +sasVpostURL +p34 +g13 +sVreply +p35 +Vcc +p36 +sVcurrentPremiseList +p37 +(lp38 +(dp39 +Vkeywords +p40 +V\u6bdb\u576f\u623f+\u7cbe\u88c5+\u88c5\u4fee +p41 +sVactionName +p42 +Vzhuangxiu +p43 +sasa(dp44 +VdoPost +p45 +I00 +sVnextStep +p46 +Vdaikuan +p47 +sVhistoryPremiseList +p48 +(lp49 +(dp50 +Vkeywords +p51 +g13 +sVactionName +p52 +g13 +sasVpostURL +p53 +g13 +sVreply +p54 +Vzz +p55 +sVcurrentPremiseList +p56 +(lp57 +(dp58 +Vkeywords +p59 +V\u7535\u68af +p60 +sVactionName +p61 +Vdianti +p62 +sasasVbotName +p63 +Vpost_test +p64 +s. \ No newline at end of file diff --git a/GenerateAction/data/lk-1288236704-config.json b/GenerateAction/data/lk-1288236704-config.json new file mode 100644 index 0000000..5a5eca5 --- /dev/null +++ b/GenerateAction/data/lk-1288236704-config.json @@ -0,0 +1 @@ +{"userName": "lk", "configList": [{"nextStepText": "你去过什么地方", "doPost": false, "nextStep": "lvyou", "historyPremiseList": [{"keywords": "深圳北-酒店", "actionName": "mudidi", "question": "请问你想去哪里?"}], "postURL": "", "reply": "11深圳北", "currentPremiseList": [{"keywords": "深圳北+北京-酒店", "actionName": "mudidi", "question": "请问你想去哪里?"}, {"keywords": "天津+云南+北京+武汉+贵州-火腿肠", "actionName": "lvyou", "question": "你去过什么地方"}]}], "sayGoodBye": "", "botId": "487", "botName": "1288236704"} \ No newline at end of file diff --git a/GenerateAction/data/test2-1325100603-action.data b/GenerateAction/data/test2-1325100603-action.data new file mode 100644 index 0000000..57896f9 --- /dev/null +++ b/GenerateAction/data/test2-1325100603-action.data @@ -0,0 +1,273 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +V123 +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +Vundefined +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p50 +sasVrelationName +p51 +Vrule-find-business +p52 +sVconditionName +p53 +Vask +p54 +sVrelationHead +p55 +V#visitorname +p56 +sVactive +p57 +I00 +sVrelationTail +p58 +V? +p59 +sa(dp60 +VquestionList +p61 +(lp62 +(dp63 +Vque_start_time +p64 +V100 +p65 +sVbase +p66 +I1 +sVque_stop_time +p67 +V101 +p68 +sVque_sen +p69 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p70 +sa(dp71 +Vque_start_time +p72 +g32 +sVbase +p73 +I0 +sVque_stop_time +p74 +V100 +p75 +sVque_sen +p76 +V12 +p77 +sasVidx +p78 +I0 +sVrepeatList +p79 +(lp80 +(dp81 +VrepeatString +p82 +V#visitorname\u6709\u5174\u8da3 +p83 +sVrepeatKeywords +p84 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p85 +sa(dp86 +VrepeatString +p87 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p88 +sVrepeatKeywords +p89 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p90 +sasVrelationName +p91 +Vrule-find-wanhui1 +p92 +sVconditionName +p93 +Vwanhui1 +p94 +sVrelationHead +p95 +V#visitorname +p96 +sVactive +p97 +I01 +sVrelationTail +p98 +g59 +sa(dp99 +VquestionList +p100 +(lp101 +(dp102 +Vque_start_time +p103 +V100 +p104 +sVbase +p105 +I1 +sVque_stop_time +p106 +V101 +p107 +sVque_sen +p108 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p109 +sa(dp110 +Vque_start_time +p111 +g32 +sVbase +p112 +I0 +sVque_stop_time +p113 +V100 +p114 +sVque_sen +p115 +V135 +p116 +sasVidx +p117 +I0 +sVrepeatList +p118 +(lp119 +(dp120 +VrepeatString +p121 +V#visitorname\u6709\u5174\u8da3 +p122 +sVrepeatKeywords +p123 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p124 +sa(dp125 +VrepeatString +p126 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p129 +sasVrelationName +p130 +Vrule-find-jieshi +p131 +sVconditionName +p132 +Vjieshi +p133 +sVrelationHead +p134 +V#visitorname +p135 +sVactive +p136 +I00 +sVrelationTail +p137 +g59 +sasVbotName +p138 +V +p139 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-1325100603-action.txt b/GenerateAction/data/test2-1325100603-action.txt new file mode 100644 index 0000000..e0ebcd3 --- /dev/null +++ b/GenerateAction/data/test2-1325100603-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-1535106120-action.data b/GenerateAction/data/test2-1535106120-action.data new file mode 100644 index 0000000..929605e --- /dev/null +++ b/GenerateAction/data/test2-1535106120-action.data @@ -0,0 +1,255 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aa(lp11 +I272 +aVrule0find0youxi +p12 +aa(lp13 +I273 +aVrule0find0jishu +p14 +aa(lp15 +I279 +aVrule0find0jieshu01 +p16 +aasVbotName_yhm +p17 +Vnew1 +p18 +sVcate +p19 +(lp20 +I14 +asVbotId +p21 +V375 +p22 +sVconditionList +p23 +(lp24 +(dp25 +VquestionList +p26 +(lp27 +(dp28 +Vque_start_time +p29 +V100 +p30 +sVbase +p31 +I1 +sVque_stop_time +p32 +V101 +p33 +sVque_sen +p34 +V\u6211\u4eec\u9879\u76ee\u7cfb\u653f\u5e9c\u4e09\u65e7\u6539\u9020\u91cd\u70b9\u5de5\u7a0b;\u7d27\u6328\u7740\u5e02\u4e2d\u5fc3;\u5468\u8fb9\u62e5\u6709\u4e09\u7eb5\u4e09\u6a2a\u4e24\u8f68\u9053\u7684\u4ea4\u901a\u7cfb\u7edf;\u53ef\u4e0e\u9f13\u697c;\u4ed3\u5c71;\u4e07\u8fbe\u7b49\u5730\u533a\u65e0\u7f1d\u8fde\u63a5\u3002 +p35 +sa(dp36 +Vque_start_time +p37 +V1 +p38 +sVbase +p39 +I0 +sVque_stop_time +p40 +V100 +p41 +sVque_sen +p42 +V +p43 +sasVidx +p44 +I0 +sVrepeatList +p45 +(lp46 +(dp47 +VrepeatString +p48 +V#visitorname\u60f3\u4e70 +p49 +sVrepeatKeywords +p50 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p51 +sa(dp52 +VrepeatString +p53 +V#visitorname\u4e0d\u60f3\u4e70 +p54 +sVrepeatKeywords +p55 +V\u6ca1\u6709;\u4e0d\u9700\u8981;\u6ca1\u5174\u8da3;\u4e0d\u7528;\u4e0d\u8981;\u4e0d\u4e70;\u6ca1\u94b1 +p56 +sasVrelationName +p57 +Vrule-find-jieshao1 +p58 +sVconditionName +p59 +Vjieshao1 +p60 +sVrelationTail +p61 +V\uff1f +p62 +sVactive +p63 +I01 +sVrelationHead +p64 +V#visitorname +p65 +sa(dp66 +VquestionList +p67 +(lp68 +(dp69 +Vque_start_time +p70 +g38 +sVbase +p71 +I1 +sVque_stop_time +p72 +V100 +p73 +sVque_sen +p74 +V\u6211\u4eec\u8fd9\u4e2a\u4f4d\u7f6e\u662f\u975e\u5e38\u6709\u4f18\u52bf\u7684;\u4ea4\u901a\u662f\u975e\u5e38\u7684\u65b9\u4fbf;\u800c\u4e14\u968f\u7740\u4e8c\u671f\u5730\u94c1\u7684\u521b\u5efa\u662f\u975e\u5e38\u6709\u5347\u503c\u7a7a\u95f4\u7684;\u8981\u4e0d\u6211\u7ed9\u60a8\u4ecb\u7ecd\u4e0b\u4ef7\u683c +p75 +sasVidx +p76 +I0 +sVrepeatList +p77 +(lp78 +(dp79 +VrepeatString +p80 +V#visiturname\u8bf4\u60f3\u4e70 +p81 +sVrepeatKeywords +p82 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p83 +sa(dp84 +VrepeatString +p85 +V#visitorname\u8bf4\u4e0d\u60f3\u4e70 +p86 +sVrepeatKeywords +p87 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p88 +sasVrelationName +p89 +Vrule-find-wanhui2 +p90 +sVconditionName +p91 +Vwanhui2 +p92 +sVrelationTail +p93 +V\uff1f +p94 +sVactive +p95 +I01 +sVrelationHead +p96 +V3visiturname +p97 +sa(dp98 +VquestionList +p99 +(lp100 +(dp101 +Vque_start_time +p102 +g38 +sVbase +p103 +I1 +sVque_stop_time +p104 +V100 +p105 +sVque_sen +p106 +V\u6211\u4eec\u9879\u76ee\u5355\u4ef7\u57287000-9000\u4e4b\u95f4;\u9762\u79ef20-60\u5e73\u7c73;\u4f4d\u7f6e;\u5927\u5c0f\u53ef\u9009;\u9996\u4ed8\u53ea\u898112\u4e07;\u662f\u975e\u5e38\u4fbf\u5b9c\u7684\u3002 +p107 +sasVidx +p108 +I0 +sVrepeatList +p109 +(lp110 +(dp111 +VrepeatString +p112 +V#visitorname\u60f3\u4e70 +p113 +sVrepeatKeywords +p114 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p115 +sa(dp116 +VrepeatString +p117 +V#visitorname\u4e0d\u60f3\u4e70 +p118 +sVrepeatKeywords +p119 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p120 +sasVrelationName +p121 +Vrule-find-jiage +p122 +sVconditionName +p123 +Vjiage +p124 +sVrelationTail +p125 +V? +p126 +sVactive +p127 +I01 +sVrelationHead +p128 +V#visitorname +p129 +sasVbotName +p130 +V1535106120 +p131 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-1535106120-action.txt b/GenerateAction/data/test2-1535106120-action.txt new file mode 100644 index 0000000..e230111 --- /dev/null +++ b/GenerateAction/data/test2-1535106120-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=jieshao1|#visitorname,rule-find-jieshao1,?|100:101:我们项目系政府三旧改造重点工程;紧挨着市中心;周边拥有三纵三横两轨道的交通系统;可与鼓楼;仓山;万达等地区无缝连接。:base~1:100: |#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有;不需要;没兴趣;不用;不要;不买;没钱 +reference=wanhui2|3visiturname,rule-find-wanhui2,?|1:100:我们这个位置是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=jiage|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=nextStep=jieshao1|jieshao1=active| +process=nextStep=wanhui2|wanhui2=active| +process=nextStep=jiage|jiage=active| + + +name=jieshao1 +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshao1::1|#visitorname,rule-find-jieshao1,?|100:101:我们项目系政府三旧改造重点工程;紧挨着市中心;周边拥有三纵三横两轨道的交通系统;可与鼓楼;仓山;万达等地区无缝连接。:base~1:100: |#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有;不需要;没兴趣;不用;不要;不买;没钱 +process=jieshao1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshao1=+没有;不需要;没兴趣;不用;不要;不买;没钱|pivot_httppost=active| +process=jieshao1=unknown|pivot_httppost=active| + + +name=wanhui2 +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui2::1|3visiturname,rule-find-wanhui2,?|1:100:我们这个位置是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui2=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui2=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui2=unknown|pivot_httppost=active| + + +name=jiage +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jiage::1|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jiage=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jiage=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=jiage=unknown|pivot_httppost=active| + + +name=jieshao1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshao1|#visitorname,rule-find-jieshao1,?|100:101:我们项目系政府三旧改造重点工程;紧挨着市中心;周边拥有三纵三横两轨道的交通系统;可与鼓楼;仓山;万达等地区无缝连接。:base~1:100: |#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有;不需要;没兴趣;不用;不要;不买;没钱 +process=jieshao1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshao1=+没有;不需要;没兴趣;不用;不要;不买;没钱|pivot_httppost=active| + + +name=wanhui2_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui2|3visiturname,rule-find-wanhui2,?|1:100:我们这个位置是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui2=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui2=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=jiage_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jiage|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jiage=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jiage=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-1535106120-config.data b/GenerateAction/data/test2-1535106120-config.data new file mode 100644 index 0000000..66c8b68 --- /dev/null +++ b/GenerateAction/data/test2-1535106120-config.data @@ -0,0 +1,13 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +sVbotName +p5 +V1535106120 +p6 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-3054054578-action.data b/GenerateAction/data/test2-3054054578-action.data new file mode 100644 index 0000000..5bab9f3 --- /dev/null +++ b/GenerateAction/data/test2-3054054578-action.data @@ -0,0 +1,501 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I348 +aVrule0find0business04 +p6 +aa(lp7 +I359 +aVrule0sport0type +p8 +aa(lp9 +I359 +aVrule0sport0type +p10 +aa(lp11 +I348 +aVrule0find0business04 +p12 +aa(lp13 +I307 +aVrule0find0business02 +p14 +aa(lp15 +I308 +aVrule0find0business03 +p16 +aa(lp17 +I308 +aVrule0find0business03 +p18 +aa(lp19 +I270 +aVrule0find0business +p20 +aa(lp21 +I270 +aVrule0find0business +p22 +aa(lp23 +I348 +aVrule0find0business04 +p24 +aa(lp25 +I307 +aVrule0find0business02 +p26 +aa(lp27 +I308 +aVrule0find0business03 +p28 +aa(lp29 +I307 +aVrule0find0business02 +p30 +aa(lp31 +I308 +aVrule0find0business03 +p32 +aa(lp33 +I270 +aVrule0find0business +p34 +aa(lp35 +I307 +aVrule0find0business02 +p36 +aa(lp37 +I359 +aVrule0sport0type +p38 +aa(lp39 +I348 +aVrule0find0business04 +p40 +aa(lp41 +I359 +aVrule0sport0type +p42 +aasVbotName_yhm +p43 +Vwuye +p44 +sVcate +p45 +(lp46 +I14 +asVbotId +p47 +V357 +p48 +sVconditionList +p49 +(lp50 +(dp51 +VquestionList +p52 +(lp53 +(dp54 +Vque_start_time +p55 +V100 +p56 +sVbase +p57 +I1 +sVque_stop_time +p58 +V101 +p59 +sVque_sen +p60 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p61 +sa(dp62 +Vque_start_time +p63 +V1 +p64 +sVbase +p65 +I0 +sVque_stop_time +p66 +V100 +p67 +sVque_sen +p68 +V +p69 +sasVidx +p70 +I0 +sVrepeatList +p71 +(lp72 +(dp73 +VrepeatString +p74 +V#visitorname\u8bf4\u597d\u7684 +p75 +sVrepeatKeywords +p76 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p77 +sa(dp78 +VrepeatString +p79 +V#visitorname\u8bf4\u4e0d\u611f\u5174\u8da3 +p80 +sVrepeatKeywords +p81 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p82 +sasVrelationName +p83 +Vrule-find-wanhui1 +p84 +sVconditionName +p85 +Vwanhui1 +p86 +sVrelationTail +p87 +V? +p88 +sVactive +p89 +I00 +sVrelationHead +p90 +V#visitorname +p91 +sa(dp92 +VquestionList +p93 +(lp94 +(dp95 +Vque_start_time +p96 +V100 +p97 +sVbase +p98 +I1 +sVque_stop_time +p99 +V101 +p100 +sVque_sen +p101 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p102 +sa(dp103 +Vque_start_time +p104 +g64 +sVbase +p105 +I0 +sVque_stop_time +p106 +V100 +p107 +sVque_sen +p108 +g69 +sasVidx +p109 +I0 +sVrepeatList +p110 +(lp111 +(dp112 +VrepeatString +p113 +V#visitorname\u611f\u5174\u8da3 +p114 +sVrepeatKeywords +p115 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p116 +sa(dp117 +VrepeatString +p118 +V#visitorname\u4e0d\u611f\u5174\u8da3 +p119 +sVrepeatKeywords +p120 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p121 +sasVrelationName +p122 +Vrule-find-jieshi +p123 +sVconditionName +p124 +Vjieshi +p125 +sVrelationTail +p126 +g88 +sVactive +p127 +I00 +sVrelationHead +p128 +V#visitorname +p129 +sa(dp130 +VquestionList +p131 +(lp132 +(dp133 +Vque_start_time +p134 +V100 +p135 +sVbase +p136 +I1 +sVque_stop_time +p137 +V101 +p138 +sVque_sen +p139 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p140 +sa(dp141 +Vque_start_time +p142 +g64 +sVbase +p143 +I0 +sVque_stop_time +p144 +V100 +p145 +sVque_sen +p146 +V\u4e00\u4e00 +p147 +sasVidx +p148 +I0 +sVrepeatList +p149 +(lp150 +(dp151 +VrepeatString +p152 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p153 +sVrepeatKeywords +p154 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p155 +sa(dp156 +VrepeatString +p157 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p158 +sVrepeatKeywords +p159 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e0d\u7528+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528; \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+ \u4e0d\u60f3\u8981+\u522b\u6253\u4e86+ \u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+ \u4e0d\u611f\u5174\u8da3 +p160 +sa(dp161 +VrepeatString +p162 +V#visitorname\u6709\u7591\u95ee +p163 +sVrepeatKeywords +p164 +V\u4f60\u662f\u8c01+\u5e72\u561b+ \u54ea\u4f4d+\u54ea\u91cc+\u5e72\u561b+\u600e\u4e48\u4e86+\u4ec0\u4e48\u4e8b+\u5e72\u4ec0\u4e48+\u8bf4\u4ec0\u4e48+\u542c\u4e0d\u6e05+\u518d\u8bf4 +p165 +sasVrelationName +p166 +Vrule-find-business +p167 +sVconditionName +p168 +Vask +p169 +sVrelationTail +p170 +g88 +sVactive +p171 +I00 +sVrelationHead +p172 +V#visitorname +p173 +sa(dp174 +VquestionList +p175 +(lp176 +(dp177 +Vque_start_time +p178 +g64 +sVbase +p179 +I1 +sVque_stop_time +p180 +V100 +p181 +sVque_sen +p182 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p183 +sasVidx +p184 +I0 +sVrepeatList +p185 +(lp186 +(dp187 +VrepeatString +p188 +V#visitorname\u559c\u6b22[] +p189 +sVrepeatKeywords +p190 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p191 +sasVrelationName +p192 +Vrule-sport-type +p193 +sVconditionName +p194 +Vsport1 +p195 +sVrelationHead +p196 +V#visitorname +p197 +sVactive +p198 +I01 +sVrelationTail +p199 +g88 +sa(dp200 +VquestionList +p201 +(lp202 +(dp203 +Vque_start_time +p204 +g64 +sVbase +p205 +I1 +sVque_stop_time +p206 +V100 +p207 +sVque_sen +p208 +V\u4f60\u597d +p209 +sasVidx +p210 +I0 +sVrepeatList +p211 +(lp212 +(dp213 +VrepeatString +p214 +V +p215 +sVrepeatKeywords +p216 +g215 +sasVrelationName +p217 +Vrule-find-business +p218 +sVconditionName +p219 +Vsport2 +p220 +sVrelationHead +p221 +VAZDFV +p222 +sVactive +p223 +I00 +sVrelationTail +p224 +V\uff1f +p225 +sa(dp226 +VquestionList +p227 +(lp228 +(dp229 +Vque_start_time +p230 +g64 +sVbase +p231 +I1 +sVque_stop_time +p232 +V100 +p233 +sVque_sen +p234 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p235 +sasVidx +p236 +I0 +sVrepeatList +p237 +(lp238 +(dp239 +VrepeatString +p240 +V#visitorname\u559c\u6b22[] +p241 +sVrepeatKeywords +p242 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p243 +sasVrelationName +p244 +Vrule-sport-type +p245 +sVconditionName +p246 +Vsport3 +p247 +sVrelationHead +p248 +V#visitorname +p249 +sVactive +p250 +I00 +sVrelationTail +p251 +g88 +sasVbotName +p252 +V3054054578 +p253 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-3054054578-action.txt b/GenerateAction/data/test2-3054054578-action.txt new file mode 100644 index 0000000..0c82fcb --- /dev/null +++ b/GenerateAction/data/test2-3054054578-action.txt @@ -0,0 +1,149 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100: |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +reference=sport1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +reference=sport2|AZDFV,rule-find-business,?|1:100:你好:base|=+ +reference=sport3|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| +process=nextStep=ask|ask=active| +process=nextStep=sport1|sport1=active| +process=nextStep=sport2|sport2=active| +process=nextStep=sport3|sport3=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100: |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=sport1 +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport1::1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport1=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| +process=sport1=unknown|pivot_httppost=active| + + +name=sport2 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport2::1|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=sport2=+|pivot_httppost=active| +process=sport2=unknown|pivot_httppost=active| + + +name=sport3 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport3::1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport3=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| +process=sport3=unknown|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100: |#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100: |#visitorname感兴趣=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jieshi=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| + + +name=sport1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport1=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| + + +name=sport2_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport2|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=sport2=+|pivot_httppost=active| + + +name=sport3_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport3|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport3=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-3054054578-config.data b/GenerateAction/data/test2-3054054578-config.data new file mode 100644 index 0000000..67c2731 --- /dev/null +++ b/GenerateAction/data/test2-3054054578-config.data @@ -0,0 +1,83 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vwanhui1 +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +S'keywords' +p12 +S'' +p13 +sS'actionName' +p14 +g13 +sasVpostURL +p15 +V +p16 +sVreply +p17 +Vbb +p18 +sVcurrentPremiseList +p19 +(lp20 +(dp21 +g12 +Vunknown +p22 +sg14 +Vask +p23 +sasa(dp24 +VdoPost +p25 +I00 +sVnextStep +p26 +Vask +p27 +sVhistoryPremiseList +p28 +(lp29 +(dp30 +g12 +g13 +sg14 +g13 +sasVpostURL +p31 +g16 +sVreply +p32 +Vdd +p33 +sVcurrentPremiseList +p34 +(lp35 +(dp36 +g12 +Vunknown +p37 +sg14 +Vwanhui1 +p38 +sasasVbotName +p39 +V3054054578 +p40 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-3179779851-action.data b/GenerateAction/data/test2-3179779851-action.data new file mode 100644 index 0000000..ac94dc6 --- /dev/null +++ b/GenerateAction/data/test2-3179779851-action.data @@ -0,0 +1,273 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +V\u4ec0\u4e48 +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +V379 +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V1 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V100 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V100 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V101 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p50 +sasVrelationName +p51 +Vrule-find-business +p52 +sVconditionName +p53 +Vask +p54 +sVrelationTail +p55 +V? +p56 +sVactive +p57 +I00 +sVrelationHead +p58 +V#visitorname +p59 +sa(dp60 +VquestionList +p61 +(lp62 +(dp63 +Vque_start_time +p64 +V100 +p65 +sVbase +p66 +I1 +sVque_stop_time +p67 +V101 +p68 +sVque_sen +p69 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p70 +sa(dp71 +Vque_start_time +p72 +g24 +sVbase +p73 +I0 +sVque_stop_time +p74 +V100 +p75 +sVque_sen +p76 +V12 +p77 +sasVidx +p78 +I0 +sVrepeatList +p79 +(lp80 +(dp81 +VrepeatString +p82 +V#visitorname\u6709\u5174\u8da3 +p83 +sVrepeatKeywords +p84 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p85 +sa(dp86 +VrepeatString +p87 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p88 +sVrepeatKeywords +p89 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p90 +sasVrelationName +p91 +Vrule-find-wanhui1 +p92 +sVconditionName +p93 +Vwanhui1 +p94 +sVrelationTail +p95 +g56 +sVactive +p96 +I00 +sVrelationHead +p97 +V#visitorname +p98 +sa(dp99 +VquestionList +p100 +(lp101 +(dp102 +Vque_start_time +p103 +V100 +p104 +sVbase +p105 +I1 +sVque_stop_time +p106 +V101 +p107 +sVque_sen +p108 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p109 +sa(dp110 +Vque_start_time +p111 +g24 +sVbase +p112 +I0 +sVque_stop_time +p113 +V100 +p114 +sVque_sen +p115 +V135 +p116 +sasVidx +p117 +I0 +sVrepeatList +p118 +(lp119 +(dp120 +VrepeatString +p121 +V#visitorname\u6709\u5174\u8da3 +p122 +sVrepeatKeywords +p123 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p124 +sa(dp125 +VrepeatString +p126 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p129 +sasVrelationName +p130 +Vrule-find-jieshi +p131 +sVconditionName +p132 +Vjieshi +p133 +sVrelationTail +p134 +g56 +sVactive +p135 +I01 +sVrelationHead +p136 +V#visitorname +p137 +sasVbotName +p138 +V3179779851 +p139 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-3179779851-action.txt b/GenerateAction/data/test2-3179779851-action.txt new file mode 100644 index 0000000..c068128 --- /dev/null +++ b/GenerateAction/data/test2-3179779851-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-3179779851-config.data b/GenerateAction/data/test2-3179779851-config.data new file mode 100644 index 0000000..e5944ca --- /dev/null +++ b/GenerateAction/data/test2-3179779851-config.data @@ -0,0 +1,180 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vjieshi +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +S'keywords' +p14 +S'' +p15 +sS'actionName' +p16 +g15 +sS'question' +p17 +V +p18 +sasVpostURL +p19 +g18 +sVreply +p20 +Vcc +p21 +sVcurrentPremiseList +p22 +(lp23 +(dp24 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p25 +sg16 +Vask +p26 +sg17 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p27 +sasa(dp28 +VnextStepText +p29 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p30 +sVdoPost +p31 +I00 +sVnextStep +p32 +Vjieshi +p33 +sVhistoryPremiseList +p34 +(lp35 +(dp36 +g14 +g15 +sg16 +g15 +sg17 +g18 +sasVpostURL +p37 +g18 +sVreply +p38 +V\u5b89\u5b89 +p39 +sVcurrentPremiseList +p40 +(lp41 +(dp42 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p43 +sg16 +Vjieshi +p44 +sg17 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p45 +sasa(dp46 +VnextStepText +p47 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p48 +sVdoPost +p49 +I00 +sVnextStep +p50 +Vask +p51 +sVhistoryPremiseList +p52 +(lp53 +(dp54 +g14 +g15 +sg16 +g15 +sg17 +g18 +sasVpostURL +p55 +g18 +sVreply +p56 +V\u4f60\u7279\u4e48\u518d\u8bf4\u4e00\u904d +p57 +sVcurrentPremiseList +p58 +(lp59 +(dp60 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p61 +sg16 +Vwanhui1 +p62 +sg17 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p63 +sasa(dp64 +VdoPost +p65 +I00 +sVnextStep +p66 +g15 +sVhistoryPremiseList +p67 +(lp68 +(dp69 +g14 +g15 +sg16 +g15 +sg17 +g18 +sasVpostURL +p70 +g18 +sVreply +p71 +g18 +sVcurrentPremiseList +p72 +(lp73 +(dp74 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p75 +sg16 +Vask +p76 +sg17 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p77 +sasasVbotName +p78 +V3179779851 +p79 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-3677705052-action.data b/GenerateAction/data/test2-3677705052-action.data new file mode 100644 index 0000000..b2c136e --- /dev/null +++ b/GenerateAction/data/test2-3677705052-action.data @@ -0,0 +1,273 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aasVbotName_yhm +p11 +Vaaa +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +Vundefined +p16 +sVconditionList +p17 +(lp18 +(dp19 +VquestionList +p20 +(lp21 +(dp22 +Vque_start_time +p23 +V100 +p24 +sVbase +p25 +I1 +sVque_stop_time +p26 +V101 +p27 +sVque_sen +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sa(dp30 +Vque_start_time +p31 +V1 +p32 +sVbase +p33 +I0 +sVque_stop_time +p34 +V100 +p35 +sVque_sen +p36 +V\u4e00\u4e00 +p37 +sasVidx +p38 +I0 +sVrepeatList +p39 +(lp40 +(dp41 +VrepeatString +p42 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p43 +sVrepeatKeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sa(dp46 +VrepeatString +p47 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p48 +sVrepeatKeywords +p49 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p50 +sasVrelationName +p51 +Vrule-find-business +p52 +sVconditionName +p53 +Vask +p54 +sVrelationHead +p55 +V#visitorname +p56 +sVactive +p57 +I01 +sVrelationTail +p58 +V? +p59 +sa(dp60 +VquestionList +p61 +(lp62 +(dp63 +Vque_start_time +p64 +V100 +p65 +sVbase +p66 +I1 +sVque_stop_time +p67 +V101 +p68 +sVque_sen +p69 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p70 +sa(dp71 +Vque_start_time +p72 +g32 +sVbase +p73 +I0 +sVque_stop_time +p74 +V100 +p75 +sVque_sen +p76 +V12 +p77 +sasVidx +p78 +I0 +sVrepeatList +p79 +(lp80 +(dp81 +VrepeatString +p82 +V#visitorname\u6709\u5174\u8da3 +p83 +sVrepeatKeywords +p84 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p85 +sa(dp86 +VrepeatString +p87 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p88 +sVrepeatKeywords +p89 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p90 +sasVrelationName +p91 +Vrule-find-wanhui1 +p92 +sVconditionName +p93 +Vwanhui1 +p94 +sVrelationHead +p95 +V#visitorname +p96 +sVactive +p97 +I00 +sVrelationTail +p98 +g59 +sa(dp99 +VquestionList +p100 +(lp101 +(dp102 +Vque_start_time +p103 +V100 +p104 +sVbase +p105 +I1 +sVque_stop_time +p106 +V101 +p107 +sVque_sen +p108 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p109 +sa(dp110 +Vque_start_time +p111 +g32 +sVbase +p112 +I0 +sVque_stop_time +p113 +V100 +p114 +sVque_sen +p115 +V135 +p116 +sasVidx +p117 +I0 +sVrepeatList +p118 +(lp119 +(dp120 +VrepeatString +p121 +V#visitorname\u6709\u5174\u8da3 +p122 +sVrepeatKeywords +p123 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p124 +sa(dp125 +VrepeatString +p126 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p127 +sVrepeatKeywords +p128 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p129 +sasVrelationName +p130 +Vrule-find-jieshi +p131 +sVconditionName +p132 +Vjieshi +p133 +sVrelationHead +p134 +V#visitorname +p135 +sVactive +p136 +I00 +sVrelationTail +p137 +g59 +sasVbotName +p138 +V +p139 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-3677705052-action.txt b/GenerateAction/data/test2-3677705052-action.txt new file mode 100644 index 0000000..4e9ae06 --- /dev/null +++ b/GenerateAction/data/test2-3677705052-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-4711989787-action.data b/GenerateAction/data/test2-4711989787-action.data new file mode 100644 index 0000000..3417d21 --- /dev/null +++ b/GenerateAction/data/test2-4711989787-action.data @@ -0,0 +1,400 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I359 +aVrule0sport0type +p6 +aa(lp7 +I348 +aVrule0find0business04 +p8 +aa(lp9 +I307 +aVrule0find0business02 +p10 +aa(lp11 +I308 +aVrule0find0business03 +p12 +aa(lp13 +I273 +aVrule0find0jishu +p14 +aa(lp15 +I279 +aVrule0find0jieshu01 +p16 +aa(lp17 +I291 +aVrile0find0wenxihuan +p18 +aa(lp19 +I307 +aVrule0find0business02 +p20 +aasVbotName_yhm +p21 +Vnew +p22 +sVcate +p23 +(lp24 +I14 +asVbotId +p25 +V381 +p26 +sVconditionList +p27 +(lp28 +(dp29 +VquestionList +p30 +(lp31 +(dp32 +Vque_start_time +p33 +V100 +p34 +sVbase +p35 +I1 +sVque_stop_time +p36 +V101 +p37 +sVque_sen +p38 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p39 +sa(dp40 +Vque_start_time +p41 +V1 +p42 +sVbase +p43 +I0 +sVque_stop_time +p44 +V100 +p45 +sVque_sen +p46 +V12 +p47 +sasVidx +p48 +I0 +sVrepeatList +p49 +(lp50 +(dp51 +VrepeatString +p52 +V#visitorname\u6709\u5174\u8da3 +p53 +sVrepeatKeywords +p54 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p55 +sa(dp56 +VrepeatString +p57 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p58 +sVrepeatKeywords +p59 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p60 +sasVrelationName +p61 +Vrule-find-wanhui1 +p62 +sVconditionName +p63 +Vwanhui1 +p64 +sVrelationTail +p65 +V? +p66 +sVactive +p67 +I00 +sVrelationHead +p68 +V#visitorname +p69 +sa(dp70 +VquestionList +p71 +(lp72 +(dp73 +Vque_start_time +p74 +g42 +sVbase +p75 +I1 +sVque_stop_time +p76 +V100 +p77 +sVque_sen +p78 +V\u6211\u4eec\u8fd9\u4e2a\u4f4d\u7f6e\u662f\u975e\u5e38\u6709\u4f18\u52bf\u7684;\u4ea4\u901a\u662f\u975e\u5e38\u7684\u65b9\u4fbf;\u800c\u4e14\u968f\u7740\u4e8c\u671f\u5730\u94c1\u7684\u521b\u5efa\u662f\u975e\u5e38\u6709\u5347\u503c\u7a7a\u95f4\u7684;\u8981\u4e0d\u6211\u7ed9\u60a8\u4ecb\u7ecd\u4e0b\u4ef7\u683c +p79 +sasVidx +p80 +I0 +sVrepeatList +p81 +(lp82 +(dp83 +VrepeatString +p84 +V#visiturname\u8bf4\u60f3\u4e70 +p85 +sVrepeatKeywords +p86 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p87 +sa(dp88 +VrepeatString +p89 +V#visitorname\u8bf4\u4e0d\u60f3\u4e70 +p90 +sVrepeatKeywords +p91 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p92 +sasVrelationName +p93 +Vrule-find-wanhui2 +p94 +sVconditionName +p95 +Vwanhui2 +p96 +sVrelationTail +p97 +V\uff1f +p98 +sVactive +p99 +I01 +sVrelationHead +p100 +V3visiturname +p101 +sa(dp102 +VquestionList +p103 +(lp104 +(dp105 +Vque_start_time +p106 +g42 +sVbase +p107 +I1 +sVque_stop_time +p108 +V100 +p109 +sVque_sen +p110 +V\u6211\u4eec\u9879\u76ee\u5355\u4ef7\u57287000-9000\u4e4b\u95f4;\u9762\u79ef20-60\u5e73\u7c73;\u4f4d\u7f6e;\u5927\u5c0f\u53ef\u9009;\u9996\u4ed8\u53ea\u898112\u4e07;\u662f\u975e\u5e38\u4fbf\u5b9c\u7684\u3002 +p111 +sasVidx +p112 +I0 +sVrepeatList +p113 +(lp114 +(dp115 +VrepeatString +p116 +V#visitorname\u60f3\u4e70 +p117 +sVrepeatKeywords +p118 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p119 +sa(dp120 +VrepeatString +p121 +V#visitorname\u4e0d\u60f3\u4e70 +p122 +sVrepeatKeywords +p123 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p124 +sasVrelationName +p125 +Vrule-find-jiage +p126 +sVconditionName +p127 +Vjiage +p128 +sVrelationTail +p129 +g66 +sVactive +p130 +I00 +sVrelationHead +p131 +V#visitorname +p132 +sa(dp133 +VquestionList +p134 +(lp135 +(dp136 +Vque_start_time +p137 +g42 +sVbase +p138 +I1 +sVque_stop_time +p139 +V100 +p140 +sVque_sen +p141 +V\u60a8\u53ef\u4ee5\u505a\u4e2a\u6295\u8d44\u561b;\u6211\u4eec\u603b\u4ef7\u4e5f\u4e0d\u9ad8;\u800c\u4e14\u5e74\u6536\u76ca\u9ad8\u8fbe7%;\u6536\u76ca\u8fd8\u662f\u5f88\u53ef\u89c2\u7684 +p142 +sasVidx +p143 +I0 +sVrepeatList +p144 +(lp145 +(dp146 +VrepeatString +p147 +V#visitorname\u60f3\u4e70 +p148 +sVrepeatKeywords +p149 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p150 +sa(dp151 +VrepeatString +p152 +V#visitorname\u4e0d\u60f3\u4e70 +p153 +sVrepeatKeywords +p154 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1+\u592a\u8d35\u4e86 +p155 +sasVrelationName +p156 +Vrile-find-wanhui3 +p157 +sVconditionName +p158 +Vwanhui3 +p159 +sVrelationTail +p160 +g66 +sVactive +p161 +I00 +sVrelationHead +p162 +V#visitornamme +p163 +sa(dp164 +VquestionList +p165 +(lp166 +(dp167 +Vque_start_time +p168 +g42 +sVbase +p169 +I1 +sVque_stop_time +p170 +V100 +p171 +sVque_sen +p172 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p173 +sa(dp174 +Vque_start_time +p175 +V100 +p176 +sVbase +p177 +I0 +sVque_stop_time +p178 +V101 +p179 +sVque_sen +p180 +V\u4e00\u4e00 +p181 +sasVidx +p182 +I0 +sVrepeatList +p183 +(lp184 +(dp185 +VrepeatString +p186 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p187 +sVrepeatKeywords +p188 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p189 +sa(dp190 +VrepeatString +p191 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p192 +sVrepeatKeywords +p193 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p194 +sasVrelationName +p195 +Vrule-find-business +p196 +sVconditionName +p197 +Vask +p198 +sVrelationTail +p199 +g66 +sVactive +p200 +I00 +sVrelationHead +p201 +V#visitorname +p202 +sasVbotName +p203 +V4711989787 +p204 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-4711989787-action.txt b/GenerateAction/data/test2-4711989787-action.txt new file mode 100644 index 0000000..55c90af --- /dev/null +++ b/GenerateAction/data/test2-4711989787-action.txt @@ -0,0 +1,129 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui2|3visiturname,rule-find-wanhui2,?|1:100:我们这个位置是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=jiage|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +reference=wanhui3|#visitornamme,rile-find-wanhui3,?|1:100:您可以做个投资嘛;我们总价也不高;而且年收益高达7%;收益还是很可观的:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+太贵了 +reference=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=wanhui2|wanhui2=active| +process=nextStep=jiage|jiage=active| +process=nextStep=wanhui3|wanhui3=active| +process=nextStep=ask|ask=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=wanhui2 +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui2::1|3visiturname,rule-find-wanhui2,?|1:100:我们这个位置是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui2=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui2=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui2=unknown|pivot_httppost=active| + + +name=jiage +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jiage::1|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jiage=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jiage=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=jiage=unknown|pivot_httppost=active| + + +name=wanhui3 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui3::1|#visitornamme,rile-find-wanhui3,?|1:100:您可以做个投资嘛;我们总价也不高;而且年收益高达7%;收益还是很可观的:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+太贵了 +process=wanhui3=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui3=+没有+不需要+没兴趣+不用+不要+不买+没钱+太贵了|pivot_httppost=active| +process=wanhui3=unknown|pivot_httppost=active| + + +name=ask +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui2_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui2|3visiturname,rule-find-wanhui2,?|1:100:我们这个位置是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui2=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui2=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=jiage_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jiage|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=jiage=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=jiage=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + +name=wanhui3_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui3|#visitornamme,rile-find-wanhui3,?|1:100:您可以做个投资嘛;我们总价也不高;而且年收益高达7%;收益还是很可观的:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+太贵了 +process=wanhui3=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui3=+没有+不需要+没兴趣+不用+不要+不买+没钱+太贵了|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-4711989787-config.data b/GenerateAction/data/test2-4711989787-config.data new file mode 100644 index 0000000..8df5175 --- /dev/null +++ b/GenerateAction/data/test2-4711989787-config.data @@ -0,0 +1,106 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vwanhui1 +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +Vkeywords +p14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p15 +sVactionName +p16 +Vask +p17 +sasVpostURL +p18 +V +p19 +sVreply +p20 +g19 +sVcurrentPremiseList +p21 +(lp22 +(dp23 +Vkeywords +p24 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p25 +sVactionName +p26 +Vask +p27 +sVquestion +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sasa(dp30 +VnextStepText +p31 +V\u6211\u4eec\u8fd9\u4e2a\u4f4d\u7f6e\u662f\u975e\u5e38\u6709\u4f18\u52bf\u7684;\u4ea4\u901a\u662f\u975e\u5e38\u7684\u65b9\u4fbf;\u800c\u4e14\u968f\u7740\u4e8c\u671f\u5730\u94c1\u7684\u521b\u5efa\u662f\u975e\u5e38\u6709\u5347\u503c\u7a7a\u95f4\u7684;\u8981\u4e0d\u6211\u7ed9\u60a8\u4ecb\u7ecd\u4e0b\u4ef7\u683c +p32 +sVdoPost +p33 +I00 +sVnextStep +p34 +Vwanhui2 +p35 +sVhistoryPremiseList +p36 +(lp37 +(dp38 +Vkeywords +p39 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p40 +sVactionName +p41 +Vwanhui1 +p42 +sasVpostURL +p43 +g19 +sVreply +p44 +g19 +sVcurrentPremiseList +p45 +(lp46 +(dp47 +Vkeywords +p48 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p49 +sVactionName +p50 +Vwanhui1 +p51 +sVquestion +p52 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p53 +sasasVbotName +p54 +V4711989787 +p55 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-5207887486-action.data b/GenerateAction/data/test2-5207887486-action.data new file mode 100644 index 0000000..9a93913 --- /dev/null +++ b/GenerateAction/data/test2-5207887486-action.data @@ -0,0 +1,272 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I359 +aVrule0sport0type +p6 +aa(lp7 +I348 +aVrule0find0business04 +p8 +aa(lp9 +I348 +aVrule0find0business04 +p10 +aa(lp11 +I359 +aVrule0sport0type +p12 +aa(lp13 +I307 +aVrule0find0business02 +p14 +aa(lp15 +I308 +aVrule0find0business03 +p16 +aa(lp17 +I307 +aVrule0find0business02 +p18 +aa(lp19 +I308 +aVrule0find0business03 +p20 +aa(lp21 +I348 +aVrule0find0business04 +p22 +aasVbotName_yhm +p23 +V301\u7efc\u5408 +p24 +sVcate +p25 +(lp26 +I14 +asVbotId +p27 +V301 +p28 +sVconditionList +p29 +(lp30 +(dp31 +VquestionList +p32 +(lp33 +(dp34 +Vque_start_time +p35 +V1 +p36 +sVbase +p37 +I1 +sVque_stop_time +p38 +V100 +p39 +sVque_sen +p40 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p41 +sasVidx +p42 +I0 +sVrepeatList +p43 +(lp44 +(dp45 +VrepeatString +p46 +V#visitorname\u559c\u6b22[] +p47 +sVrepeatKeywords +p48 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p49 +sasVrelationName +p50 +Vrule-sport-type +p51 +sVconditionName +p52 +Vsport +p53 +sVrelationTail +p54 +V? +p55 +sVactive +p56 +I00 +sVrelationHead +p57 +V#visitorname +p58 +sa(dp59 +VquestionList +p60 +(lp61 +(dp62 +Vque_start_time +p63 +g36 +sVbase +p64 +I1 +sVque_stop_time +p65 +V100 +p66 +sVque_sen +p67 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p68 +sa(dp69 +Vque_start_time +p70 +V100 +p71 +sVbase +p72 +I0 +sVque_stop_time +p73 +V101 +p74 +sVque_sen +p75 +V\u4e00\u4e00 +p76 +sasVidx +p77 +I0 +sVrepeatList +p78 +(lp79 +(dp80 +VrepeatString +p81 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p82 +sVrepeatKeywords +p83 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p84 +sa(dp85 +VrepeatString +p86 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p87 +sVrepeatKeywords +p88 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p89 +sasVrelationName +p90 +Vrule-find-business +p91 +sVconditionName +p92 +Vask +p93 +sVrelationTail +p94 +g55 +sVactive +p95 +I01 +sVrelationHead +p96 +V#visitorname +p97 +sa(dp98 +VquestionList +p99 +(lp100 +(dp101 +Vque_start_time +p102 +V100 +p103 +sVbase +p104 +I1 +sVque_stop_time +p105 +V101 +p106 +sVque_sen +p107 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p108 +sa(dp109 +Vque_start_time +p110 +g36 +sVbase +p111 +I0 +sVque_stop_time +p112 +V100 +p113 +sVque_sen +p114 +V12 +p115 +sasVidx +p116 +I0 +sVrepeatList +p117 +(lp118 +(dp119 +VrepeatString +p120 +V#visitorname\u6709\u5174\u8da3 +p121 +sVrepeatKeywords +p122 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p123 +sa(dp124 +VrepeatString +p125 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p126 +sVrepeatKeywords +p127 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p128 +sasVrelationName +p129 +Vrule-find-wanhui1 +p130 +sVconditionName +p131 +Vwanhui1 +p132 +sVrelationTail +p133 +g55 +sVactive +p134 +I00 +sVrelationHead +p135 +V#visitorname +p136 +sasVbotName +p137 +V5207887486 +p138 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-5207887486-action.txt b/GenerateAction/data/test2-5207887486-action.txt new file mode 100644 index 0000000..8c59c49 --- /dev/null +++ b/GenerateAction/data/test2-5207887486-action.txt @@ -0,0 +1,79 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=sport|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +reference=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=sport|sport=active| +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| + + +name=sport +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-5207887486-config.data b/GenerateAction/data/test2-5207887486-config.data new file mode 100644 index 0000000..05461da --- /dev/null +++ b/GenerateAction/data/test2-5207887486-config.data @@ -0,0 +1,137 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vask +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +Vkeywords +p14 +V +p15 +sVactionName +p16 +g15 +sasVpostURL +p17 +g15 +sVreply +p18 +Vdd +p19 +sVcurrentPremiseList +p20 +(lp21 +(dp22 +Vkeywords +p23 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p24 +sVactionName +p25 +Vsport +p26 +sasa(dp27 +VnextStepText +p28 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p29 +sVdoPost +p30 +I00 +sVnextStep +p31 +Vwanhui1 +p32 +sVhistoryPremiseList +p33 +(lp34 +(dp35 +Vkeywords +p36 +g15 +sVactionName +p37 +g15 +sasVpostURL +p38 +g15 +sVreply +p39 +Vaa +p40 +sVcurrentPremiseList +p41 +(lp42 +(dp43 +Vkeywords +p44 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p45 +sVactionName +p46 +Vask +p47 +sasa(dp48 +VnextStepText +p49 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p50 +sVdoPost +p51 +I00 +sVnextStep +p52 +Vsport +p53 +sVhistoryPremiseList +p54 +(lp55 +(dp56 +Vkeywords +p57 +g15 +sVactionName +p58 +g15 +sasVpostURL +p59 +g15 +sVreply +p60 +Vdd +p61 +sVcurrentPremiseList +p62 +(lp63 +(dp64 +Vkeywords +p65 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p66 +sVactionName +p67 +Vwanhui1 +p68 +sasasVbotName +p69 +V5207887486 +p70 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-584097831-config.data b/GenerateAction/data/test2-584097831-config.data new file mode 100644 index 0000000..8293fc3 --- /dev/null +++ b/GenerateAction/data/test2-584097831-config.data @@ -0,0 +1,87 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +S'' +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +S'keywords' +p12 +g8 +sS'actionName' +p13 +g8 +sasVpostURL +p14 +V +p15 +sVreply +p16 +Vcc +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p21 +sg13 +Vask +p22 +sa(dp23 +g12 +g8 +sg13 +g8 +sasa(dp24 +VdoPost +p25 +I00 +sVnextStep +p26 +Vask +p27 +sVhistoryPremiseList +p28 +(lp29 +(dp30 +g12 +g8 +sg13 +g8 +sasVpostURL +p31 +g15 +sVreply +p32 +Vaa +p33 +sVcurrentPremiseList +p34 +(lp35 +(dp36 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p37 +sg13 +Vwanhui1 +p38 +sasasVbotName +p39 +V6413212388 +p40 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-6084518778-action.data b/GenerateAction/data/test2-6084518778-action.data new file mode 100644 index 0000000..7fe98eb --- /dev/null +++ b/GenerateAction/data/test2-6084518778-action.data @@ -0,0 +1,324 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I359 +aVrule0sport0type +p6 +aa(lp7 +I348 +aVrule0find0business04 +p8 +aa(lp9 +I307 +aVrule0find0business02 +p10 +aa(lp11 +I308 +aVrule0find0business03 +p12 +aa(lp13 +I359 +aVrule0sport0type +p14 +aa(lp15 +I348 +aVrule0find0business04 +p16 +aa(lp17 +I348 +aVrule0find0business04 +p18 +aa(lp19 +I348 +aVrule0find0business04 +p20 +aa(lp21 +I307 +aVrule0find0business02 +p22 +aasVbotName_yhm +p23 +Vdemo1 +p24 +sVcate +p25 +(lp26 +I14 +asVbotId +p27 +V306 +p28 +sVconditionList +p29 +(lp30 +(dp31 +VquestionList +p32 +(lp33 +(dp34 +Vque_start_time +p35 +V1 +p36 +sVbase +p37 +I1 +sVque_stop_time +p38 +V100 +p39 +sVque_sen +p40 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p41 +sasVidx +p42 +I0 +sVrepeatList +p43 +(lp44 +(dp45 +VrepeatString +p46 +V#visitorname\u559c\u6b22[] +p47 +sVrepeatKeywords +p48 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p49 +sasVrelationName +p50 +Vrule-sport-type +p51 +sVconditionName +p52 +Vsport +p53 +sVrelationTail +p54 +V? +p55 +sVactive +p56 +I00 +sVrelationHead +p57 +V#visitorname +p58 +sa(dp59 +VquestionList +p60 +(lp61 +(dp62 +Vque_start_time +p63 +g36 +sVbase +p64 +I1 +sVque_stop_time +p65 +V100 +p66 +sVque_sen +p67 +V\u4f60\u597d +p68 +sasVidx +p69 +I0 +sVrepeatList +p70 +(lp71 +(dp72 +VrepeatString +p73 +V +p74 +sVrepeatKeywords +p75 +g74 +sasVrelationName +p76 +Vrule-find-business +p77 +sVconditionName +p78 +Vsport +p79 +sVrelationTail +p80 +V\uff1f +p81 +sVactive +p82 +I01 +sVrelationHead +p83 +VAZDFV +p84 +sa(dp85 +VquestionList +p86 +(lp87 +(dp88 +Vque_start_time +p89 +g36 +sVbase +p90 +I1 +sVque_stop_time +p91 +V100 +p92 +sVque_sen +p93 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p94 +sa(dp95 +Vque_start_time +p96 +V100 +p97 +sVbase +p98 +I0 +sVque_stop_time +p99 +V101 +p100 +sVque_sen +p101 +V\u4e00\u4e00 +p102 +sasVidx +p103 +I0 +sVrepeatList +p104 +(lp105 +(dp106 +VrepeatString +p107 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p108 +sVrepeatKeywords +p109 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p110 +sa(dp111 +VrepeatString +p112 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p113 +sVrepeatKeywords +p114 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p115 +sasVrelationName +p116 +Vrule-find-business +p117 +sVconditionName +p118 +Vask +p119 +sVrelationTail +p120 +g55 +sVactive +p121 +I00 +sVrelationHead +p122 +V#visitorname +p123 +sa(dp124 +VquestionList +p125 +(lp126 +(dp127 +Vque_start_time +p128 +V100 +p129 +sVbase +p130 +I1 +sVque_stop_time +p131 +V101 +p132 +sVque_sen +p133 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p134 +sa(dp135 +Vque_start_time +p136 +g36 +sVbase +p137 +I0 +sVque_stop_time +p138 +V100 +p139 +sVque_sen +p140 +V12 +p141 +sasVidx +p142 +I0 +sVrepeatList +p143 +(lp144 +(dp145 +VrepeatString +p146 +V#visitorname\u6709\u5174\u8da3 +p147 +sVrepeatKeywords +p148 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p149 +sa(dp150 +VrepeatString +p151 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p152 +sVrepeatKeywords +p153 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p154 +sasVrelationName +p155 +Vrule-find-wanhui1 +p156 +sVconditionName +p157 +Vwanhui1 +p158 +sVrelationTail +p159 +g55 +sVactive +p160 +I00 +sVrelationHead +p161 +V#visitorname +p162 +sasVbotName +p163 +V6084518778 +p164 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-6084518778-action.txt b/GenerateAction/data/test2-6084518778-action.txt new file mode 100644 index 0000000..ed5ca97 --- /dev/null +++ b/GenerateAction/data/test2-6084518778-action.txt @@ -0,0 +1,101 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=sport|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +reference=sport|AZDFV,rule-find-business,?|1:100:你好:base|=+ +reference=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=sport|sport=active| +process=nextStep=sport|sport=active| +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| + + +name=sport +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=sport +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=sport=+|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=ask +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|#visitorname,rule-sport-type,?|1:100:你喜欢什么运动?:base|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|AZDFV,rule-find-business,?|1:100:你好:base|=+ +process=sport=+|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|1:100:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~100:101:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-6084518778-config.data b/GenerateAction/data/test2-6084518778-config.data new file mode 100644 index 0000000..d84fd74 --- /dev/null +++ b/GenerateAction/data/test2-6084518778-config.data @@ -0,0 +1,141 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VnextStepText +p6 +V\u4f60\u597d +p7 +sVdoPost +p8 +I00 +sVnextStep +p9 +Vsport +p10 +sVhistoryPremiseList +p11 +(lp12 +(dp13 +S'keywords' +p14 +S'' +p15 +sS'actionName' +p16 +g15 +sS'question' +p17 +V +p18 +sasVpostURL +p19 +g18 +sVreply +p20 +g18 +sVcurrentPremiseList +p21 +(lp22 +(dp23 +g14 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p24 +sg16 +Vsport +p25 +sg17 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p26 +sasa(dp27 +VnextStepText +p28 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p29 +sVdoPost +p30 +I00 +sVnextStep +p31 +Vask +p32 +sVhistoryPremiseList +p33 +(lp34 +(dp35 +g14 +g15 +sg16 +g15 +sg17 +g18 +sasVpostURL +p36 +g18 +sVreply +p37 +g18 +sVcurrentPremiseList +p38 +(lp39 +(dp40 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p41 +sg16 +Vask +p42 +sg17 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p43 +sasa(dp44 +VnextStepText +p45 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p46 +sVdoPost +p47 +I00 +sVnextStep +p48 +Vwanhui1 +p49 +sVhistoryPremiseList +p50 +(lp51 +(dp52 +g14 +g15 +sg16 +g15 +sg17 +g18 +sasVpostURL +p53 +g18 +sVreply +p54 +g18 +sVcurrentPremiseList +p55 +(lp56 +(dp57 +g14 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p58 +sg16 +Vwanhui1 +p59 +sg17 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p60 +sasasVbotName +p61 +V6084518778 +p62 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-6413212388-action.data b/GenerateAction/data/test2-6413212388-action.data new file mode 100644 index 0000000..ff82040 --- /dev/null +++ b/GenerateAction/data/test2-6413212388-action.data @@ -0,0 +1,148 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I270 +aVrule0find0business +p10 +aa(lp11 +I308 +aVrule0find0business03 +p12 +aasVbotName_yhm +p13 +Vhahaha +p14 +sVcate +p15 +(lp16 +I14 +asVbotId +p17 +V363 +p18 +sVconditionList +p19 +(lp20 +(dp21 +Vidx +p22 +I0 +sVrepeatList +p23 +(lp24 +(dp25 +VrepeatString +p26 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p27 +sVrepeatKeywords +p28 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p29 +sa(dp30 +VrepeatString +p31 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p32 +sVrepeatKeywords +p33 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e0d\u7528+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528; \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+ \u4e0d\u60f3\u8981+\u522b\u6253\u4e86+ \u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+ \u4e0d\u611f\u5174\u8da3 +p34 +sa(dp35 +VrepeatString +p36 +V#visitorname\u6709\u7591\u95ee +p37 +sVrepeatKeywords +p38 +V\u4f60\u662f\u8c01+\u5e72\u561b+ \u54ea\u4f4d+\u54ea\u91cc+\u5e72\u561b+\u600e\u4e48\u4e86+\u4ec0\u4e48\u4e8b+\u5e72\u4ec0\u4e48+\u8bf4\u4ec0\u4e48+\u542c\u4e0d\u6e05+\u518d\u8bf4 +p39 +sasVrelationName +p40 +Vrule-find-business +p41 +sVquestion +p42 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p43 +sVconditionName +p44 +Vask +p45 +sVrelationTail +p46 +V? +p47 +sVactive +p48 +I00 +sVrelationHead +p49 +V#visitornaem +p50 +sa(dp51 +Vidx +p52 +I0 +sVrepeatList +p53 +(lp54 +(dp55 +VrepeatString +p56 +V#visitorname\u8bf4\u597d\u7684 +p57 +sVrepeatKeywords +p58 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p59 +sa(dp60 +VrepeatString +p61 +V#visitorname\u8bf4\u4e0d\u611f\u5174\u8da3 +p62 +sVrepeatKeywords +p63 +V\u6ca1\u6709+\u4e0d\u9700\u8981+\u6ca1\u5174\u8da3+\u4e0d\u7528+\u4e0d\u8981+\u4e0d\u4e70+\u6ca1\u94b1 +p64 +sasVrelationName +p65 +Vrule-find-wanhui1 +p66 +sVquestion +p67 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p68 +sVconditionName +p69 +Vwanhui1 +p70 +sVrelationTail +p71 +g47 +sVactive +p72 +I00 +sVrelationHead +p73 +V#visitorname +p74 +sasVbotName +p75 +V6413212388 +p76 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-6413212388-action.txt b/GenerateAction/data/test2-6413212388-action.txt new file mode 100644 index 0000000..4946d37 --- /dev/null +++ b/GenerateAction/data/test2-6413212388-action.txt @@ -0,0 +1,59 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitornaem,rule-find-business,?|嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下|#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| + + +name=ask +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitornaem,rule-find-business,?|嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下|#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitornaem,rule-find-business,?|嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下|#visitorname说好的=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍~#visitorname说不感兴趣=+没有+不需要+没兴趣+不用+不要+不买+没钱 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=wanhui1=+没有+不需要+没兴趣+不用+不要+不买+没钱|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-6413212388-config.data b/GenerateAction/data/test2-6413212388-config.data new file mode 100644 index 0000000..8293fc3 --- /dev/null +++ b/GenerateAction/data/test2-6413212388-config.data @@ -0,0 +1,87 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +S'' +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +S'keywords' +p12 +g8 +sS'actionName' +p13 +g8 +sasVpostURL +p14 +V +p15 +sVreply +p16 +Vcc +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p21 +sg13 +Vask +p22 +sa(dp23 +g12 +g8 +sg13 +g8 +sasa(dp24 +VdoPost +p25 +I00 +sVnextStep +p26 +Vask +p27 +sVhistoryPremiseList +p28 +(lp29 +(dp30 +g12 +g8 +sg13 +g8 +sasVpostURL +p31 +g15 +sVreply +p32 +Vaa +p33 +sVcurrentPremiseList +p34 +(lp35 +(dp36 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd +p37 +sg13 +Vwanhui1 +p38 +sasasVbotName +p39 +V6413212388 +p40 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-6568980786-action.data b/GenerateAction/data/test2-6568980786-action.data new file mode 100644 index 0000000..74916e6 --- /dev/null +++ b/GenerateAction/data/test2-6568980786-action.data @@ -0,0 +1,277 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I307 +aVrule0find0business02 +p6 +aa(lp7 +I308 +aVrule0find0business03 +p8 +aa(lp9 +I308 +aVrule0find0business03 +p10 +aa(lp11 +I270 +aVrule0find0business +p12 +aasVbotName_yhm +p13 +Vccc1 +p14 +sVcate +p15 +(lp16 +I14 +asVbotId +p17 +Vundefined +p18 +sVconditionList +p19 +(lp20 +(dp21 +VquestionList +p22 +(lp23 +(dp24 +Vque_start_time +p25 +V100 +p26 +sVbase +p27 +I1 +sVque_stop_time +p28 +V101 +p29 +sVque_sen +p30 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p31 +sa(dp32 +Vque_start_time +p33 +V1 +p34 +sVbase +p35 +I0 +sVque_stop_time +p36 +V100 +p37 +sVque_sen +p38 +V\u4e00\u4e00 +p39 +sasVidx +p40 +I0 +sVrepeatList +p41 +(lp42 +(dp43 +VrepeatString +p44 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p45 +sVrepeatKeywords +p46 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p47 +sa(dp48 +VrepeatString +p49 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p50 +sVrepeatKeywords +p51 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p52 +sasVrelationName +p53 +Vrule-find-business +p54 +sVconditionName +p55 +Vask +p56 +sVrelationHead +p57 +V#visitorname +p58 +sVactive +p59 +I01 +sVrelationTail +p60 +V? +p61 +sa(dp62 +VquestionList +p63 +(lp64 +(dp65 +Vque_start_time +p66 +V100 +p67 +sVbase +p68 +I1 +sVque_stop_time +p69 +V101 +p70 +sVque_sen +p71 +V\u73b0\u5728\u6211\u4eec\u5f00\u53d1\u5546\u4fc3\u9500\u8fd4\u52295-8\u4e07\u6bcf\u5957\uff1b3-5\u5e74\u514d\u606f\u5206\u671f\uff1b\u524d18\u4e2a\u67080\u6708\u4f9b;\u66f4\u6709600-1000\u73b0\u91d1\u76c8\u5229\uff1b\u540e18\u4e2a\u6708\u4ee5\u79df\u62b5\u4f9b0\u538b\u529b\uff1b\u76f8\u5f53\u4e8e10\u4e07\u6210\u672c0\u6708\u4f9b\u62e5\u6709\u5730\u94c1\u516c\u5bd3\u7269\u4e1a;\u6536\u79df30\u5e74;\u60a8\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b +p72 +sa(dp73 +Vque_start_time +p74 +g34 +sVbase +p75 +I0 +sVque_stop_time +p76 +V100 +p77 +sVque_sen +p78 +V12 +p79 +sasVidx +p80 +I0 +sVrepeatList +p81 +(lp82 +(dp83 +VrepeatString +p84 +V#visitorname\u6709\u5174\u8da3 +p85 +sVrepeatKeywords +p86 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p87 +sa(dp88 +VrepeatString +p89 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p90 +sVrepeatKeywords +p91 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p92 +sasVrelationName +p93 +Vrule-find-wanhui1 +p94 +sVconditionName +p95 +Vwanhui1 +p96 +sVrelationHead +p97 +V#visitorname +p98 +sVactive +p99 +I00 +sVrelationTail +p100 +g61 +sa(dp101 +VquestionList +p102 +(lp103 +(dp104 +Vque_start_time +p105 +V100 +p106 +sVbase +p107 +I1 +sVque_stop_time +p108 +V101 +p109 +sVque_sen +p110 +V\u60a8\u597d\uff01\u6211\u8fd9\u8fb9\u662f\u4e07\u5609\u552e\u697c\u5904\u7684;\u7ed9\u60a8\u6253\u7535\u8bdd\u662f\u60f3\u7ed9\u60a8\u63a8\u835020-60\u5e73\u65b9;\u9996\u4ed812\u4e07\u7684\u516c\u5bd3;\u7ed9\u60a8\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b +p111 +sa(dp112 +Vque_start_time +p113 +g34 +sVbase +p114 +I0 +sVque_stop_time +p115 +V100 +p116 +sVque_sen +p117 +V135 +p118 +sasVidx +p119 +I0 +sVrepeatList +p120 +(lp121 +(dp122 +VrepeatString +p123 +V#visitorname\u6709\u5174\u8da3 +p124 +sVrepeatKeywords +p125 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p126 +sa(dp127 +VrepeatString +p128 +V#visitorname\u6ca1\u6709\u5174\u8da3 +p129 +sVrepeatKeywords +p130 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528+ \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+\u4e0d\u60f3\u8981+\u522b\u6253\u4e86+\u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+\u4e0d\u611f\u5174\u8da3+\u4e0d\u60f3\u4e70+\u6ca1+\u6ca1\u6709\u5174\u8da3 +p131 +sasVrelationName +p132 +Vrule-find-jieshi +p133 +sVconditionName +p134 +Vjieshi +p135 +sVrelationHead +p136 +V#visitorname +p137 +sVactive +p138 +I00 +sVrelationTail +p139 +g61 +sasVbotName +p140 +V +p141 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-6568980786-action.txt b/GenerateAction/data/test2-6568980786-action.txt new file mode 100644 index 0000000..4e9ae06 --- /dev/null +++ b/GenerateAction/data/test2-6568980786-action.txt @@ -0,0 +1,81 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +reference=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=nextStep=ask|ask=active| +process=nextStep=wanhui1|wanhui1=active| +process=nextStep=jieshi|jieshi=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=wanhui1 +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1::1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=wanhui1=unknown|pivot_httppost=active| + + +name=jieshi +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| +process=jieshi=unknown|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitorname,rule-find-business,?|100:101:嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?:base~1:100:一一|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=wanhui1_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=wanhui1|#visitorname,rule-find-wanhui1,?|100:101:现在我们开发商促销返利5-8万每套;3-5年免息分期;前18个月0月供;更有600-1000现金盈利;后18个月以租抵供0压力;相当于10万成本0月供拥有地铁公寓物业;收租30年;您可以考虑一下:base~1:100:12 |#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=wanhui1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=wanhui1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + +name=jieshi_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=jieshi|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣 +process=jieshi=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active| +process=jieshi=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-6568980786-config.data b/GenerateAction/data/test2-6568980786-config.data new file mode 100644 index 0000000..9e8d020 --- /dev/null +++ b/GenerateAction/data/test2-6568980786-config.data @@ -0,0 +1,125 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vwanhui1 +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +Vkeywords +p12 +V +p13 +sVactionName +p14 +g13 +sasVpostURL +p15 +g13 +sVreply +p16 +V\u64e6\u64e6\u64e6 +p17 +sVcurrentPremiseList +p18 +(lp19 +(dp20 +Vkeywords +p21 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70-\u4e0d-\u4e0d\u8981 +p22 +sVactionName +p23 +Vask +p24 +sasa(dp25 +VdoPost +p26 +I00 +sVnextStep +p27 +Vjieshi +p28 +sVhistoryPremiseList +p29 +(lp30 +(dp31 +Vkeywords +p32 +g13 +sVactionName +p33 +g13 +sasVpostURL +p34 +g13 +sVreply +p35 +V\u662f\u662f\u662f +p36 +sVcurrentPremiseList +p37 +(lp38 +(dp39 +Vkeywords +p40 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u8bf4+\u4ecb\u7ecd+\u611f\u5174\u8da3+\u60f3\u4e70 +p41 +sVactionName +p42 +Vwanhui1 +p43 +sasa(dp44 +VdoPost +p45 +I00 +sVnextStep +p46 +Vask +p47 +sVhistoryPremiseList +p48 +(lp49 +(dp50 +Vkeywords +p51 +g13 +sVactionName +p52 +g13 +sasVpostURL +p53 +g13 +sVreply +p54 +V\u554a\u554a\u554a +p55 +sVcurrentPremiseList +p56 +(lp57 +(dp58 +Vkeywords +p59 +Vunknown +p60 +sVactionName +p61 +Vjieshi +p62 +sasasVbotName +p63 +V6568980786 +p64 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-7433042236-action.data b/GenerateAction/data/test2-7433042236-action.data new file mode 100644 index 0000000..c373add --- /dev/null +++ b/GenerateAction/data/test2-7433042236-action.data @@ -0,0 +1,173 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVcdt_name_ls +p3 +(lp4 +(lp5 +I359 +aVrule0sport0type +p6 +aa(lp7 +I348 +aVrule0find0business04 +p8 +aa(lp9 +I307 +aVrule0find0business02 +p10 +aasVbotName_yhm +p11 +Vasd +p12 +sVcate +p13 +(lp14 +I14 +asVbotId +p15 +V361 +p16 +sVconditionList +p17 +(lp18 +(dp19 +Vidx +p20 +I0 +sVrepeatList +p21 +(lp22 +(dp23 +VrepeatString +p24 +V#visitorname\u559c\u6b22[] +p25 +sVrepeatKeywords +p26 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p27 +sasVrelationName +p28 +Vrule-sport-type +p29 +sVquestion +p30 +V\u4f60\u559c\u6b22\u4ec0\u4e48\u8fd0\u52a8\uff1f +p31 +sVconditionName +p32 +Vsport +p33 +sVrelationTail +p34 +V? +p35 +sVactive +p36 +I00 +sVrelationHead +p37 +V#visitorname +p38 +sa(dp39 +Vidx +p40 +I1 +sVrepeatList +p41 +(lp42 +(dp43 +VrepeatString +p44 +V +p45 +sVrepeatKeywords +p46 +g45 +sasVrelationName +p47 +Vrule-find-business +p48 +sVquestion +p49 +V\u4f60\u597d +p50 +sVconditionName +p51 +Vsport +p52 +sVrelationTail +p53 +V\uff1f +p54 +sVactive +p55 +I01 +sVrelationHead +p56 +VAZDFV +p57 +sa(dp58 +Vidx +p59 +I0 +sVrepeatList +p60 +(lp61 +(dp62 +VrepeatString +p63 +V#visitorname\u6709\u5174\u8da3\u4e86\u89e3 +p64 +sVrepeatKeywords +p65 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p66 +sa(dp67 +VrepeatString +p68 +V#visitorname\u6ca1\u5174\u8da3\u4e86\u89e3 +p69 +sVrepeatKeywords +p70 +V\u6ca1\u6709+\u6ca1\u5174\u8da3+\u4e0d\u9700\u8981+\u6ca1\u94b1+\u7a77+\u4e0d\u4e70+\u8d70\u5f00+\u4e0d\u7528+\u4e70\u4e86+\u521a\u4e70+\u4e0d\u7528; \u4e0d\u8981+\u7528\u4e0d\u5230+\u4e0d\u7528\u4ecb\u7ecd+\u6ca1\u5174\u8da3+\u4e0d\u8003\u8651+\u6ca1\u8003\u8651+\u6253\u9519\u4e86+\u4e0d\u9700\u8981+\u771f\u70e6\u4eba+\u6ca1\u9700\u6c42+ \u4e0d\u60f3\u8981+\u522b\u6253\u4e86+ \u4e0d\u60f3\u4e86\u89e3+\u4e0d\u8981\u518d\u6253+ \u4e0d\u611f\u5174\u8da3 +p71 +sa(dp72 +VrepeatString +p73 +V#visitorname\u6709\u7591\u95ee +p74 +sVrepeatKeywords +p75 +V\u4f60\u662f\u8c01+\u5e72\u561b+ \u54ea\u4f4d+\u54ea\u91cc+\u5e72\u561b+\u600e\u4e48\u4e86+\u4ec0\u4e48\u4e8b+\u5e72\u4ec0\u4e48+\u8bf4\u4ec0\u4e48+\u542c\u4e0d\u6e05+\u518d\u8bf4 +p76 +sasVrelationName +p77 +Vrule-find-business +p78 +sVquestion +p79 +V\u55e8;\u60a8\u597d\uff01\u6211\u4eec\u662f\u4e07\u5609\u623f\u5730\u4ea7;\u6211\u4eec\u73b0\u5728\u63a8\u51fa\u53cc\u5730\u94c1\u4e0a\u76d6\u7269\u4e1a;\u9996\u4ed812\u4e07;\u96f6\u6708\u4f9b;\u8bf7\u95ee\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u4e0b\u5417\uff1f +p80 +sVconditionName +p81 +Vask +p82 +sVrelationTail +p83 +g35 +sVactive +p84 +I01 +sVrelationHead +p85 +V#visitornaem +p86 +sasVbotName +p87 +V7433042236 +p88 +s. \ No newline at end of file diff --git a/GenerateAction/data/test2-7433042236-action.txt b/GenerateAction/data/test2-7433042236-action.txt new file mode 100644 index 0000000..5296556 --- /dev/null +++ b/GenerateAction/data/test2-7433042236-action.txt @@ -0,0 +1,79 @@ +#actions +name=pivot_httppost +status=waiting +style=httppost +serviceURL=http://192.168.1.178:8081/bot/test +automatchthreshold=0.5 +reference=sport|#visitorname,rule-sport-type,?|你喜欢什么运动?|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +reference=sport|AZDFV,rule-find-business,?|你好|=+ +reference=ask|#visitornaem,rule-find-business,?|嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=nextStep=sport|sport=active| +process=nextStep=sport|sport=active| +process=nextStep=ask|ask=active| + + +name=sport +status=waiting +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|#visitorname,rule-sport-type,?|你喜欢什么运动?|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=sport +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport::1|AZDFV,rule-find-business,?|你好|=+ +process=sport=+|pivot_httppost=active| +process=sport=unknown|pivot_httppost=active| + + +name=ask +status=active +style=interrupt +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask::1|#visitornaem,rule-find-business,?|嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| +process=ask=unknown|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|#visitorname,rule-sport-type,?|你喜欢什么运动?|#visitorname喜欢[]=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步 +process=sport=+篮球+足球+乒乓球+网球+高尔夫+拳击+滑雪+跑步|pivot_httppost=active| + + +name=sport_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=sport|AZDFV,rule-find-business,?|你好|=+ +process=sport=+|pivot_httppost=active| + + +name=ask_listening +status=listening +action=select +automatchthreshold=0.5 +fellow=pivot_httppost +condition=ask|#visitornaem,rule-find-business,?|嗨;您好!我们是万嘉房地产;我们现在推出双地铁上盖物业;首付12万;零月供;请问您有兴趣了解下吗?|#visitorname有兴趣了解=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍-不-不要~#visitorname没兴趣了解=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣~#visitorname有疑问=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说 +process=ask=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍|pivot_httppost=active| +process=ask=+没有+没兴趣+不需要+没钱+穷+不买+走开+不用+买了+刚买+不用; 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+ 不想要+别打了+ 不想了解+不要再打+ 不感兴趣|pivot_httppost=active| +process=ask=+你是谁+干嘛+ 哪位+哪里+干嘛+怎么了+什么事+干什么+说什么+听不清+再说|pivot_httppost=active| + + + diff --git a/GenerateAction/data/test2-7433042236-config.data b/GenerateAction/data/test2-7433042236-config.data new file mode 100644 index 0000000..f764ba9 --- /dev/null +++ b/GenerateAction/data/test2-7433042236-config.data @@ -0,0 +1,82 @@ +(dp0 +VuserName +p1 +Vtest2 +p2 +sVconfigList +p3 +(lp4 +(dp5 +VdoPost +p6 +I00 +sVnextStep +p7 +Vask +p8 +sVhistoryPremiseList +p9 +(lp10 +(dp11 +S'keywords' +p12 +S'' +p13 +sS'actionName' +p14 +g13 +sasVpostURL +p15 +V +p16 +sVreply +p17 +Vasd +p18 +sVcurrentPremiseList +p19 +(lp20 +(dp21 +g12 +V\u6709+\u55ef+\u597d\u7684+\u53ef\u4ee5+\u6709\u5174\u8da3+\u4f60\u8bf4+\u597d+\u6240+\u4ecb\u7ecd-\u4e0d-\u4e0d\u8981 +p22 +sg14 +Vask +p23 +sasa(dp24 +VdoPost +p25 +I00 +sVnextStep +p26 +Vsport +p27 +sVhistoryPremiseList +p28 +(lp29 +(dp30 +g12 +g13 +sg14 +g13 +sasVpostURL +p31 +g16 +sVreply +p32 +g16 +sVcurrentPremiseList +p33 +(lp34 +(dp35 +g12 +V\u7bee\u7403+\u8db3\u7403+\u4e52\u4e53\u7403+\u7f51\u7403+\u9ad8\u5c14\u592b+\u62f3\u51fb+\u6ed1\u96ea+\u8dd1\u6b65 +p36 +sg14 +Vsport +p37 +sasasVbotName +p38 +V7433042236 +p39 +s. \ No newline at end of file diff --git a/GenerateAction/edit_distance.py b/GenerateAction/edit_distance.py index 1b7f755..28e41ce 100644 --- a/GenerateAction/edit_distance.py +++ b/GenerateAction/edit_distance.py @@ -1,8 +1,4 @@ - - - - def min_ed(sent1,sent2): l1 = len(sent1) l2 = len(sent2) @@ -24,15 +20,5 @@ def min_ed(sent1,sent2): - - - - - - - - - - if __name__ == "__main__": min_ed("#abc","#dcb") diff --git a/GenerateAction/global-groovy.log b/GenerateAction/global-groovy.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/GenerateAction/global-groovy.log diff --git a/GenerateAction/global_config.txt b/GenerateAction/global_config.txt index 75e8e72..ae02351 100644 --- a/GenerateAction/global_config.txt +++ b/GenerateAction/global_config.txt @@ -4,10 +4,10 @@ automatchthreshold|0.5 pattern| conflict| importance| -style| -config_update_url|http://192.168.1.178:8081/bot/update +style|multimatchvalues +config_update_url|localhost:8081/bot/update2 serviceURL|http://192.168.1.178:8081/bot/test -engine_url|http://192.168.1.81:6636/api/post/actions +engine_url|http://192.168.1.81:6636/api options|disable_knowledge_qa,fast_understanding,no_parser AutoMatchURL|http://dev01.centaurstech.com:5700/mermaid/?model=auto-train diff --git a/GenerateAction/new_bot403 b/GenerateAction/new_bot403 new file mode 100644 index 0000000..436edef --- /dev/null +++ b/GenerateAction/new_bot403 @@ -0,0 +1 @@ +{"configList": [{"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "lixi_high", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lixi00", "keywords": "高吗+多高+多少+怎样+年息+月息+多少厘+几厘+高的+利息+利率+低的+厘+算高的", "question": "对于我们的利息您还有什么疑问?"}], "nextStepText": "对于利息高有什么疑问?", "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "fangkuan11", "keywords": "这么快+挺快的+快", "question": "您想了解我们的放款吗?"}], "nextStepText": "。", "reply": "对;我们现在真的是利息又低;放款又快;服务又好。了解一下绝对不吃亏的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "fangkuansudu2524", "keywords": "贷款+放款+速度+多久+快", "question": "对于我们的放款速度您还有什么疑问?"}], "nextStepText": "。", "reply": "我们正常的话是3个工作日就能办下来.如果您资质好资料齐全的话;也是可以当天放款的;您只需要准备好身份证等审核资料;放款了我们会通知您的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "feiyong4039", "keywords": "服务费+费用+收费+中介费+点数+手续费", "question": "对于我们的服务费用您还有什么疑问?"}], "nextStepText": "。", "reply": "客户的资质不同;资金需求额度的不同 我们所收取的服务费用也是不同的;详细的情况欢迎您来我们公司详谈"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "moshi2423", "keywords": "抵押+黑户+征信不好", "question": "对于我们的抵押模式您还有什么疑问?"}], "nextStepText": "。", "reply": "我们是看具体情况的;如果信用贷款做不了的话;就要做抵押了。建议您来我们公司面谈一下"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daohang4140", "keywords": "怎么走+开车+怎么去+交通+路线", "question": "对于来我们公司的导航您还有什么疑问?"}], "nextStepText": "。", "reply": "好的;自己开车的话您直接导航我们公司名称就可以到我们这里的;到了后我去接您。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "dizhi4241", "keywords": "位置+地址+公司地址+公司在哪", "question": "对于我们公司的地址您还有什么疑问?"}], "nextStepText": "。", "reply": "公司地址稍后我会通过短信发给您。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lutu4342", "keywords": "太远+有点远", "question": "对于路途远的问题您还有什么疑问?"}], "nextStepText": "。", "reply": "我们可以加一下微信;你可先把资料传过来;我们先审核;确定能做的;就通知你过来;你看这样可以么!微信号码一会我发你短信上!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yuningoutong1918", "keywords": "信息+短信", "question": "很高兴与您沟通!"}], "nextStepText": "。", "reply": "哦;那我先发个短信给你;等您方便的时候可以联系我喔"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "gongsiyewu4443", "keywords": "公司+单位+什么公司+合法", "question": "对于我们公司的业务您还有什么疑问?"}], "nextStepText": "。", "reply": "我们是金融公司;专门做信用贷款和抵押贷款的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zhengxin4544", "keywords": "征信+要求+信用", "question": "对于我们贷款公司的征信您还有什么疑问?"}], "nextStepText": "。", "reply": "我们有各种渠道的多元化产品;可以符合各种客户;相信我们是有办法可以给您解决资金问题的。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "fuhenianling4645", "keywords": "年龄+太大+不够+太小+条件", "question": "对于符合年龄的问题您还有什么疑问?"}], "nextStepText": "。", "reply": "我们会有专业人士帮您评估的 不用担心哦"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "gongzuobaozheng4948", "keywords": "无业+没收入", "question": "对于你有无工作作保证您还有什么疑问吗?"}], "nextStepText": "。", "reply": "这个也没关系的;只要你有房子或者车子都可以的哦"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "xindai1716", "keywords": "信用贷款+信贷", "question": "对于信贷需要抵押的问题您还有什么疑问?"}], "nextStepText": "。", "reply": "信用贷款是不用资产进行抵押的;具体的您来公司;我们帮您匹配一下好吧"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "fangziweizhi3029", "keywords": "本地没房", "question": "对于房子位置偏的问题您还有什么疑问?"}], "nextStepText": "。", "reply": "一般只要位置不太偏都可以的 具体还是要跟您当面商谈哦"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lianxifangshi4847", "keywords": "电话+联系方式+短信+微信+QQ+联系电话", "question": "对于我的联系方式您还有什么疑问?"}], "nextStepText": "。", "reply": "这样吧;我稍后给您发个短信;上面有我的个人手机号码;您看可以吧?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zhengguixing77", "keywords": "保障+高利贷+骗人+诈骗+骗子+诈骗+哄人+正规+合法+有营业执照+空壳公司", "question": "对于您对我们机构的正规性的质疑还有什么疑问?"}], "nextStepText": "。", "reply": "我们是代理各大银行机构的贷款产品的;正规安全;您可以放心。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "hezuoyinghang88", "keywords": "银行+合作银行+哪家银行+关联银行", "question": "对于我们的合作银行您还有什么疑问吗?"}], "nextStepText": "。", "reply": "我们跟中国银行、工商银行、建行、农商行等各大银行都有合作的;您可以了解下"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zhuanyexing2726", "keywords": "区别+不一样+优势+特点", "question": "对于我们贷款业务的专业性您还有什么疑问?"}], "nextStepText": "。", "reply": "我们这边是专业办理银行信用贷款和抵押贷款的;通过率和额度都有保障;您考虑我们肯定是没错的。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "xingming66", "keywords": "叫什么+姓什么+称呼+贵姓", "question": "您想知道我的姓名吗?"}], "nextStepText": "。", "reply": "我姓张;您叫我小张就可以了"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zhuanye", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "kehujingli3332", "keywords": "不专业+知不知道+傻+蠢+笨+业余", "question": "给您转专业的客户经理可以吗?"}], "nextStepText": "您看可以吗?", "reply": "不好意思;我这边也是新来的;有些问题还不是很了解;具体的还是让我们专业的客户经理给您回电在做一个详细的介绍;您看可以吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "haoma1413", "keywords": "怎么知道+怎么有+哪里来的", "question": "对于我们如何获取您号码的还有什么疑问?"}], "nextStepText": "。", "reply": "这个我们都是电脑随机拨号的。如果不巧打扰到您向您说声抱歉"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "kefushengfen44", "keywords": "机器人+假人+人工智能+AI", "question": "对于客服身份您还有什么疑问吗?"}], "nextStepText": "。", "reply": "这个不重要哦!重要的是我们把最新的贷款消息带给了您;如果您以后有资金需要;我们公司也可以成为您备选的解决方案之一不是很好吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lianxishijian4746", "keywords": "时间", "question": "对于联系时间您还有什么疑问?"}], "nextStepText": "。", "reply": "这个可以根据您的时间;后续我们贷款专员联系您的时候您跟他说下您大概什么时候有空就好了;可以吧?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "kuazan1211", "keywords": "声音+挺好听+请吃饭", "question": "感谢您的夸赞"}], "nextStepText": "。", "reply": "谢谢;我这个人比较容易害羞的。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "nianxian1312", "keywords": "期数+期限+多少期", "question": "对于贷款的年限您还有什么疑问?"}], "nextStepText": "。", "reply": "我们是根据客户的需求来确定期数的;1年;3年;5年;10年期都有的;具体您可以来公司做详细了解"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yongqian3534", "keywords": "要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣", "question": "可以再考虑了解下吗?"}], "reply": "那您名下有房产或者有车吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yongqian3534", "keywords": "你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+听不懂+哥屋恩滚+烦+真的烦+不可能", "question": "可以再考虑了解下吗?"}], "nextStepText": "。", "reply": "那打扰您了; 祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daikuanchanpin3837", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下", "question": "对于我们给您提供的贷款产品还有疑问吗?"}], "nextStepText": "。", "reply": "好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daikuanchanpin3837", "keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑", "question": "对于我们给您提供的贷款产品还有疑问吗?"}], "nextStepText": "。", "reply": "那打扰您了; 祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "hangqing3231", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不", "question": "您需要了解目前贷款的行情吗?"}], "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "liaojie", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daikuanbianli", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下", "question": "对于我们的贷款便利您还有疑问吗?"}], "reply": "要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zanting", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "fangbian", "keywords": "等等+等一下+等一会+稍等+等下+等会", "question": "您现在方便电话沟通吗?"}], "nextStepText": ".", "reply": "好的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daikuanbianli", "keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲", "question": "对于我们的贷款便利您还有疑问吗?"}], "nextStepText": "。", "reply": "那打扰您了; 祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "jibenqingkuang", "keywords": "上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件", "question": "可以了解您的基本情况是什么吗?"}], "reply": "那您名下有房产或者车子吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "jibenqingkuang", "keywords": "做生意+创业+开公司 ", "question": "可以了解您的基本情况是什么吗?"}], "reply": "那您名下有房产或者有车吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "yongqian3534", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "jibenqingkuang", "keywords": "不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着+不贷+问这么多+不+挂了+管的+管得+烦+管+有病", "question": "可以了解您的基本情况是什么吗?"}], "reply": "谁都有急用钱的时候;提前了解一下这方面的信息也是好的嘛!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "daikuanbianli", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zichanchefang", "keywords": "不需要+不感兴趣+不用+没兴趣+不想说+不考虑+不想告诉+干嘛+问这+你管我+拒绝+啰嗦+烦死+管+管的+太多+不告诉+管得+浪费时间+再见", "question": "您名下的资产中有没有车或房?"}], "reply": "我们这边的贷款利息低;下款也快;确实值得您考虑呢;"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开-挂了", "question": "贷款项目您有兴趣了解一下吗?"}], "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "hangqing3231", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚蛋+不想听+不行+不可以+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+够+不好意思+有钱+不缺钱+上班+吃饭+挺忙+很忙+挂了+走开+扯犊子+滚开+没时间+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+挂+忙+做事+有事+正在+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+只剩+不能+不会+不太喜欢+资金周转+不太需要+没有+睡觉+别说了+滚+不想+开车-条件", "question": "贷款项目您有兴趣了解一下吗?"}], "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "liaojie", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑+想一下", "question": "您可以来我们公司了解嘛?"}], "nextStepText": "。", "reply": "好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "daikuanchanpin3837", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "liaojie", "keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+行了+不+不好+拒绝+不知道+扯这些", "question": "您可以来我们公司了解嘛?"}], "reply": "没关系的;给您电话主要是给您提供市场上利息最低的贷款产品;这样如果您以后有需要的话;也可以随时沟通"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yewuzhence", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始", "question": "对于我们贷款业务政策您满意吗?"}], "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "hangqing3231", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yewuzhence", "keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢", "question": "对于我们贷款业务政策您满意吗?"}], "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "unknown", "question": "贷款项目您有兴趣了解一下吗?"}], "reply": "好的,为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yewuzhence", "keywords": "unknown", "question": "对于我们贷款业务政策您满意吗?"}], "reply": "您看这样行吗?为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "hangqing3231", "keywords": "unknown", "question": "您需要了解目前贷款的行情吗?"}], "reply": "您看这样行吗?为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "jibenqingkuang", "keywords": "unknown", "question": "可以了解您的基本情况是什么吗?"}], "reply": "好的,那您名下有房产或者有车吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "yongqian3534", "keywords": "unknown", "question": "可以再考虑了解下吗?"}], "reply": "好的,那您名下有房产或者有车吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "liaojie", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zichanchefang", "keywords": "unknown", "question": "您名下的资产中有没有车或房?"}], "reply": "好的,明白。要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "liaojie", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daikuanbianli", "keywords": "unknown", "question": "对于我们的贷款便利您还有疑问吗?"}], "reply": "好的,明白。要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "empty5150", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "liaojie", "keywords": "unknown", "question": "您可以来我们公司了解嘛?"}], "reply": "行,好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "empty5150", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "daikuanchanpin3837", "keywords": "unknown", "question": "对于我们给您提供的贷款产品还有疑问吗?"}], "reply": "行,好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "hangqing3231", "keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别讲+我不用+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要+不缺钱+有钱+上班+开会+开车+吃饭", "question": "您需要了解目前贷款的行情吗?"}], "reply": "那打扰您了; 祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "", "doPost": true, "historyPremiseList": [{"actionName": "jibenqingkuang", "keywords": "不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着", "question": "可以了解您的基本情况是什么吗?"}], "currentPremiseList": [{"actionName": "yongqian3534", "keywords": "你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷", "question": "可以再考虑了解下吗?"}], "reply": "那打扰您了; 祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "hangqing3231", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "liaojie", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑+想一下+什么+计划", "question": "您可以来我们公司了解嘛?"}], "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "yewuzhence", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "你哪里+哪里+是谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+你是哪个+你是那个+干嘛+公司+有什么关系+什么事+事+什么+干啥+啥事+让我+让我借钱+有事+觉得-烦死-条件", "question": "贷款项目您有兴趣了解一下吗?"}], "reply": "是这样的;我们这边是专业办理银行信用贷款和抵押贷款的;月息在6厘左右也就是说您如果贷款1万;一个月利息只有60元。多划算啊;您说是吧?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "hangqing3231", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "liaojie", "keywords": "不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦", "question": "您可以来我们公司了解嘛?"}], "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "lixi00", "keywords": "利息+高吗+多高+多少+怎样+怎么算+利率+年息+月息+多少厘+几厘+厘", "question": "对于我们的利息您还有什么疑问?"}], "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "fangkuanedu", "keywords": "额度+贷多少+放款金额+放款多少+最多+多少款+多少", "question": "对于我们的放款额度您还有什么疑问?"}], "nextStepText": "。", "reply": "这个就要看您的个人资质情况了;每个人情况不同;具体的要您提供资料审核后才能确定哦"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "", "doPost": true, "historyPremiseList": [{"actionName": "talk", "keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试", "question": "贷款项目您有兴趣了解一下吗?"}], "currentPremiseList": [{"actionName": "daikuanbianli", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下", "question": "对于我们的贷款便利您还有疑问吗?"}], "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "fangkuanedu", "keywords": "额度+贷多少+放款金额+放款多少+最多+多少款", "question": "对于我们的放款额度您还有什么疑问?"}], "nextStepText": "。", "reply": "这个就要看您的个人资质情况了;每个人情况不同;具体的要您提供资料审核后才能确定哦"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "zichanchefang", "keywords": "有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的", "question": "您名下的资产中有没有车或房?"}], "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "hangqing3231", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+不能+钱+不太喜欢+不太需要-车", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "jibenqingkuang", "keywords": "不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着+不贷+问这么多", "question": "可以了解您的基本情况是什么吗?"}], "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+不能+钱+不太喜欢+不太需要-车", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "lixi00", "keywords": "利息+高吗+多高+多少+怎样+怎么算", "question": "对于我们的利息您还有什么疑问?"}], "nextStepText": "。", "reply": "每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "liaojie", "doPost": true, "historyPremiseList": [{"actionName": "yongqian3534", "keywords": "要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对", "question": "可以再考虑了解下吗?"}], "currentPremiseList": [{"actionName": "zichanchefang", "keywords": "有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的", "question": "您名下的资产中有没有车或房?"}], "nextStepText": "您可以来我们公司了解嘛?", "reply": "要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "liaojie", "doPost": true, "historyPremiseList": [{"actionName": "jibenqingkuang", "keywords": "unknown+老师+教师+司机+律师+设计+运营+市场+研发+技术+客服+金融+上学+大学生+高中生+初中生+服务员+农民+学生+搬砖+上班+打工+IT+科技+工作+创业+老板+坐办公室+计算机+销售+医生+工程师+产品+硬件+种地+农村+做生意+开公司 ", "question": "可以了解您的基本情况是什么吗?"}], "currentPremiseList": [{"actionName": "zichanchefang", "keywords": "有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的", "question": "您名下的资产中有没有车或房?"}], "nextStepText": "您可以来我们公司了解嘛?", "reply": "要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "talk", "keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-没", "question": "贷款项目您有兴趣了解一下吗?"}, {"actionName": "talk", "keywords": "不要+不用+没兴趣+用不到+滚蛋+不想听+不行+不可以+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不划算+有多专业+太贵了+贷不起+没钱+不需要+不感兴趣+不想了解+没+不准备+没计划+算了吧+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+只剩+不能+钱+不太喜欢+不太需要+滚+不想+没有+别说了-没", "question": "贷款项目您有兴趣了解一下吗?"}], "nextStepText": "可以了解您的基本情况是什么吗?", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "hangqing3231", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "jibenqingkuang", "keywords": "不要+不用+用不到+滚蛋+不想听+不行+不可以+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+管+别说了+滚", "question": "可以了解您的基本情况是什么吗?"}, {"actionName": "talk", "keywords": "你哪里+哪里+是谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+你是哪个+你是那个+干嘛+公司+有什么关系+什么事+事+什么+干啥+啥事-不会-条件", "question": "贷款项目您有兴趣了解一下吗?"}], "nextStepText": "您需要了解目前贷款的行情吗?", "reply": "哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "tiaozhuan", "keywords": "+再见+unknown", "question": "。"}], "reply": "这个因为我也是刚来的,对于业务不是非常熟悉,稍后让客户经理您详聊吧!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "talk", "keywords": "有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开", "question": "贷款项目您有兴趣了解一下吗?"}], "currentPremiseList": [{"actionName": "gongzuobaozheng4948", "keywords": "无业+没工作+没收入", "question": "对于你有无工作作保证您还有什么疑问吗?"}], "nextStepText": "您名下的资产中有没有车或房?", "reply": "那您名下有房产或者车子吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "zichanchefang", "doPost": true, "historyPremiseList": [{"actionName": "hangqing3231", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不", "question": "您需要了解目前贷款的行情吗?"}], "currentPremiseList": [{"actionName": "gongzuobaozheng4948", "keywords": "无业+没工作+没收入", "question": "对于你有无工作作保证您还有什么疑问吗?"}], "nextStepText": "您名下的资产中有没有车或房?", "reply": "那您名下有房产或者车子吗?"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "baoqian", "keywords": "在忙+没空+开车+上班+开会+没时间+在电梯+不方便", "question": "很抱歉打扰您?##"}], "nextStepText": "。", "reply": "好的,那等您方便的时候我们再沟通,先不打扰您了,再见"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lixi_high", "keywords": "高+贵+太高+太贵+不低", "question": "对于利息高有什么疑问?"}], "nextStepText": "。", "reply": "我们没有任何抵押和担保的信用贷款,风险很高。而且我们手续简单快捷,签完合同1-3个工作日放款!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lixi_high", "keywords": "便宜+不错+还行+划算", "question": "对于利息高有什么疑问?"}], "nextStepText": "。", "reply": "是的呢,我们的利息相比市面产品还是相当有性价比的。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "lixi_high", "keywords": "材料+资质+条件", "question": "对于利息高有什么疑问?"}], "nextStepText": "。", "reply": "这边需要您的身份证以及您的工作或劳动合同复印件,稍后我也会将详细材料清单短信发送到您的手机上。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zanting", "keywords": "继续+好吧+讲+说+回来了+什么事", "question": "."}], "nextStepText": "。", "reply": "是这样的。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zanting", "keywords": "不说了+再见+下次聊+忙", "question": "."}], "nextStepText": "。", "reply": "好的;那等您方便的时候我们再联系;祝您生活愉快;再见!"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "zhuanye", "keywords": "行吧+好吧+可以+好+嗯+行", "question": "您看可以吗?"}], "nextStepText": "。", "reply": "好的,那感谢您的接听,稍后让我们客户经理和您详聊,再见。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "tiaozhuan", "doPost": true, "historyPremiseList": [{"actionName": "kehujingli3332", "keywords": "不专业+知不知道+傻+蠢+笨+业余", "question": "给您转专业的客户经理可以吗?"}], "currentPremiseList": [{"actionName": "zhuanye", "keywords": "算了+不用了+别了+不需要+没兴趣+再见", "question": "您看可以吗?"}], "nextStepText": "。", "reply": "好的,那打扰了,再见。"}, {"postURL": "qiwu-zzh.chewrobot.com/api/form/loanrobot", "nextStep": "jibenqingkuang", "doPost": true, "historyPremiseList": [{"actionName": "", "keywords": "", "question": ""}], "currentPremiseList": [{"actionName": "hangqing3231", "keywords": "不要+不用+没兴趣+用不到+滚蛋+不想听+不行+不可以+别讲+我不用+没有+我不需要+不好+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不想+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要+不需要+不感兴趣+滚+不想了解-条件", "question": "您需要了解目前贷款的行情吗?"}, {"actionName": "hangqing3231", "keywords": "好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不", "question": "您需要了解目前贷款的行情吗?"}], "nextStepText": "可以了解您的基本情况是什么吗?", "reply": "为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?"}], "botId": "403", "userName": "Kayser", "sayGoodBye": "那先不打扰了,您先忙,后续有空我们客户经理再和您约个时间详聊!", "botName": "1516398427"} \ No newline at end of file diff --git a/GenerateAction/post_test.py b/GenerateAction/post_test.py index 879dd9e..5d521e5 100644 --- a/GenerateAction/post_test.py +++ b/GenerateAction/post_test.py @@ -1,34 +1,122 @@ -#coding:utf-8 -from flask import Flask -from flask import request -from flask import jsonify -import json +# coding:utf-8 +import requests +import time -app = Flask(__name__) +config_insert_test = { +"type": "insert_config", +"configData":[{"currentPremiseList":[{"actionName":"laifang","keywords":"烦+老子+滚+不想+讨厌+找骂","question":"对于我们的来访影响还有什么疑问?"}],"historyPremiseList":[{"actionName":"","keywords":"","question":""}],"doPost":False,"postURL":"","nextStep":"duocenghaochu","reply":"cc","nextStepText":"对于买多套房您还有什么疑问吗?"},{"currentPremiseList":[{"actionName":"duocenghaochu","keywords":"多层+多套","question":"对于买多套房您还有什么疑问吗?"}],"historyPremiseList":[{"actionName":"","keywords":"","question":""}],"nextStep":"daikuan","doPost":False,"postURL":"","reply":"dd","nextStepText":"对于贷款政策您还有什么疑问?"},{"currentPremiseList":[{"actionName":"daikuan","keywords":"贷款-不贷款","question":"对于贷款政策您还有什么疑问?"}],"historyPremiseList":[{"actionName":"","keywords":"","question":""}],"nextStep":"zhuangxiu","doPost":False,"postURL":"","reply":"aa ","nextStepText":"对于房子装修您还有什么疑问?"},{"currentPremiseList":[{"actionName":"zhuangxiu","keywords":"毛坯房+精装+装修","question":"对于房子装修您还有什么疑问?"}],"historyPremiseList":[{"actionName":"","keywords":"","question":""}],"nextStep":"laifang","doPost":False,"postURL":"","reply":"qq","nextStepText":"对于我们的来访影响还有什么疑问?"}], +"categoryId":1, +"botId":111, +"botName":"22222222" +} +delete_test = { +"type":"delete_config", +"configId":41, +"botId":111, +"botName":"22222222" +} +update_test = { +"type":"update_config", +"botId":111, +"configId":11, +"botName":"22222222", +"configData":{"currentPremiseList":[{"actionName":"kkkkk","keywords":"+cc+cc+cc","question":"疑问?"}],"doPost":False,"historyPremiseList":[{"actionName":"","keywords":"","question":""}],"nextStep":"laifang","nextStepText":"疑问?","postURL":"","reply":"得到"}, +} +query_test = { +"type":"query_config", +"botId":111, +"categoryId":1 +} +category_query_test = { +"type":"query_category", +"botId":111 +} -@app.route('/test', methods=['GET', 'POST']) -def login(): - if request.method == 'POST': - dc = json.loads(request.get_data().decode("utf8")) - if(dc.has_key("curInfoPoint")): - return jsonify({"parameter":"捷豹"}) - else: - return jsonify(dc) - else: - return "incorrect method,use POST instead!" +category_insert_test= { +"type":"insert_category", +"botId":111, +"categoryName":"xixi", +"categoryParentId":1 +} -if __name__ == '__main__': - app.run(host="0.0.0.0", - port=8888,) - - - - -{u'userName': u'aaa', u'cdt_name_ls': [[250, u'rule0find0daikuan'], [251, u'rule0find0zhuangxiu'], [252, u'rule0find0dianti']], u'botName_yhm': u'xx', u'cate': [14], u'botId': u'275', u'conditionList': [{u'idx': 0, u'repeatList': [{u'repeatString': u'#visitorname\u95ee\u8d2d\u4e70\u8d37\u6b3e', u'repeatKeywords': u'\u8d37\u6b3e-\u4e0d\u8d37\u6b3e'}], u'relationName': u'rule-find-daikuan', u'question': [{u'que_start_time': u'1', u'base': 1, u'que_stop_time': u'100', u'que_sen': u'\u5bf9\u4e8e\u8d37\u6b3e\u653f\u7b56\u60a8\u8fd8\u6709\u4ec0\u4e48\u7591\u95ee\uff1f'}], u'conditionName': u'daikuan', u'relationHead': u'#visitorname', u'active': True, u'relationTail': u'?'}, {u'idx': 0, u'repeatList': [{u'repeatString': u'#visitorname\u95ee\u623f\u5b50\u88c5\u4fee', u'repeatKeywords': u'\u6bdb\u576f\u623f+\u7cbe\u88c5+\u88c5\u4fee'}], u'relationName': u'rule-find-zhuangxiu', u'question': [{u'que_start_time': u'1', u'base': 1, u'que_stop_time': u'100', u'que_sen': u'\u5bf9\u4e8e\u623f\u5b50\u88c5\u4fee\u60a8\u8fd8\u6709\u4ec0\u4e48\u7591\u95ee\uff1f'}], u'conditionName': u'zhuangxiu', u'relationHead': u'#visitorname', u'active': True, u'relationTail': u'?'}, {u'idx': 0, u'repeatList': [{u'repeatString': u'#visitorname\u95ee\u623f\u5b50\u7535\u68af', u'repeatKeywords': u'\u7535\u68af'}], u'relationName': u'rule-find-dianti', u'question': [{u'que_start_time': u'1', u'base': 1, u'que_stop_time': u'100', u'que_sen': u'\u5bf9\u4e8e\u7535\u68af\u60a8\u8fd8\u6709\u4ec0\u4e48\u7591\u95ee\uff1f'}], u'conditionName': u'dianti', u'relationHead': u'#visitorname', u'active': True, u'relationTail': u'?'}], u'botName': u'4183891231'} +category_update_test = { +"type":"update_category", +"botId":111, +"newCategoryName":"newxixi", +"categoryId":1 +} +category_delete_test = { +"type":"delete_category", +"botId":111, +"categoryId":14 +} +condition_insert_test = { +"botName_yhm": "渣渣", +"cate":[14], +"cdt_name_ls":[[308,"rule0find0business03"],[270,"rule0find0business"],[272,"rule0find0youxi"]], +"type":"insert_condition", +"botId":"undefined", +"conditionData":[{"idx":0,"active":True,"conditionName":"laifang","relationHead":"#visitorname","relationTail":"?","relationName":"rule-find-zanghua","questionList":[{"base":1,"que_sen":"对于我们的来访影响还有什么疑问?","que_start_time":"1","que_stop_time":"100"}],"repeatList":[{"macro":"", "repeatString":"#visitorname厌烦来访","repeatKeywords":"烦+老子+滚+不想+讨厌+找骂"}],"styleList":[]},{"idx":0,"active":False,"conditionName":"duocenghaochu","relationHead":"#visitorname","relationTail":"?","relationName":"rule-find-duocenghaochu","questionList":[{"base":1,"que_sen":"对于买多套房您还有什么疑问吗?","que_start_time":"1","que_stop_time":"100"}],"repeatList":[{"macro":"", "repeatString":"#visitorname问买多层的好处","repeatKeywords":"多层+多套"}],"styleList":[]},{"idx":0,"active":False,"conditionName":"daikuan","relationHead":"#visitorname","relationTail":"?","relationName":"rule-find-daikuan","questionList":[{"base":1,"que_sen":"对于贷款政策您还有什么疑问?","que_start_time":"1","que_stop_time":"100"}],"repeatList":[{"macro":"", "repeatString":"#visitorname问购买贷款","repeatKeywords":"贷款-不贷款"}],"styleList":[]},{"idx":0,"active":False,"conditionName":"zhuangxiu","relationHead":"#visitorname","relationTail":"?","relationName":"rule-find-zhuangxiu","questionList":[{"base":1,"que_sen":"对于房子装修您还有什么疑问?","que_start_time":"1","que_stop_time":"100"}],"repeatList":[{"macro":"", "repeatString":"#visitorname问房子装修","repeatKeywords":"毛坯房+精装+装修"}],"styleList":[]}]} +condition_update_test = { +"botName_yhm": "渣渣", +"cate":[14], +"cdt_name_ls":[[307,"rule0find0business02"],[308,"rule0find0business03"],[270,"rule0find0business"]], +"type":"update_condition", +"botId":1995, +"conditionId":55, +"conditionData":{"styleList": ["interrupt",], "active":True,"conditionName":"jingshoufang","idx":0,"questionList":[{"base":1,"que_sen":"a几手的疑问?","que_start_time":"1","que_stop_time":"100"}],"relationHead":"#visitorname","relationName":"rule-find-shou","relationTail":"?","repeatList":[{"macro": "", "repeatKeywords":"一手+二手+三手+几手","macro":"", "repeatString":"#vistorname问几手"}]} +} + +condition_delete_test={ +"botName_yhm": "渣渣", +"cate":[14], +"cdt_name_ls":[[307,"rule0find0business02"],[308,"rule0find0business03"],[270,"rule0find0business"]], +"type":"delete_condition", +"botId":421, +"conditionId":26 +} + +condition_query_test = { +"type":"query_condition", +"botId":421 +} +def post_test(url): + headers = {"Authorization":"Basic ZXlKaGJHY2lPaUpJVXpJMU5pSXNJbVY0Y0NJNk1UVXpNall5TkRNeE1Td2lhV0YwSWpveE5UTXlOVGN6T1RFeGZRLmV5SnBaQ0k2TVRNemZRLnQ3WGE5SXI3RlA0X1E4MS1JWjEtWjBPQU9Bc0xkN19WZFZSMFB6WndYWW86czAwcGVyczNjcmV0"} + ''' + for i in range(10): + category_insert_test["categoryParentId"] = 14 + ret= requests.post(url+"/configProcess",json=category_insert_test,headers=headers) + config_insert_test["categoryId"] = 14 + ret= requests.post(url+"/configProcess",json=config_insert_test,headers=headers) + ''' + + ret= requests.post(url+"/configProcess",json=config_insert_test,headers=headers) + print "post:configProcess\n"+ret.text + # time.sleep(2) + # condition_update_test["conditionId"] = int(ret.text) + # ret= requests.post(url+"/conditionProcess",json=condition_update_test,headers=headers) + # print "post:configProcess\n"+ret.text + ''' + categoryId = int(ret.text) + category_update_test["categoryId"] = categoryId + ret = requests.post(url+"/configProcess", json=category_update_test, headers=headers) + print "post:configProcess\n"+ret.text + + + ret= requests.post(url+"/configProcess",json=config_data2,headers=headers) + print "post:configProcess\n"+ret.text + configId = int(ret.text) + delete_test["configId"] = configId + ret = requests.post(url+"/configProcess", json=delete_test, headers=headers) + print "post:configProcess\n"+ret.text + ''' + +if __name__ == "__main__": + post_test("http://192.168.1.178:1111") diff --git a/GenerateAction/soapui-errors.log b/GenerateAction/soapui-errors.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/GenerateAction/soapui-errors.log diff --git a/GenerateAction/tmp/2008-.backup b/GenerateAction/tmp/2008-.backup new file mode 100644 index 0000000..fbe7011 --- /dev/null +++ b/GenerateAction/tmp/2008-.backup @@ -0,0 +1 @@ +{"userName": "8767088700", "conditionDataset": [[2008, 111, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的利息您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"利息+利率+年息+月息+多少厘+几厘+厘+算不算+算高吗+高吗\"}], \"relationName\": \"rule-find-lixi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"lixi00\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=lixi00\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lixi00::1|#visitorname,rule-find-lixi,?|1:100:对于我们的利息您还有什么疑问?:base|#visitorname[]=+利息+利率+年息+月息+多少厘+几厘+厘+算不算+算高吗+高吗\r\nprocess=lixi00=+利息+利率+年息+月息+多少厘+几厘+厘+算不算+算高吗+高吗|pivot_httppost=active|\r\nprocess=lixi00=unknown|pivot_httppost=active|\r\n\r\n\r\nname=lixi00_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lixi00|#visitorname,rule-find-lixi,?|1:100:对于我们的利息您还有什么疑问?:base|#visitorname[]=+利息+利率+年息+月息+多少厘+几厘+厘+算不算+算高吗+高吗\r\nprocess=lixi00=+利息+利率+年息+月息+多少厘+几厘+厘+算不算+算高吗+高吗|pivot_httppost=active|\r\n", 0], [2008, 112, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"您想了解我们的放款吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"这么快+挺快的+快+多快+速度+什么时候+几时+时间+哪时\"}], \"relationName\": \"rule-find-fangkuan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fangkuan11\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=fangkuan11\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangkuan11::1|#visitorname,rule-find-fangkuan,?|1:100:您想了解我们的放款吗?:base|#visitorname[]=+这么快+挺快的+快+多快+速度+什么时候+几时+时间+哪时\r\nprocess=fangkuan11=+这么快+挺快的+快+多快+速度+什么时候+几时+时间+哪时|pivot_httppost=active|\r\nprocess=fangkuan11=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fangkuan11_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangkuan11|#visitorname,rule-find-fangkuan,?|1:100:您想了解我们的放款吗?:base|#visitorname[]=+这么快+挺快的+快+多快+速度+什么时候+几时+时间+哪时\r\nprocess=fangkuan11=+这么快+挺快的+快+多快+速度+什么时候+几时+时间+哪时|pivot_httppost=active|\r\n", 0], [2008, 113, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于客服身份您还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"机器人+假人+人工智能+AI+什么东西+什么人+真人\"}], \"relationName\": \"rule-find-kefushengfen\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"kefushengfen44\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=kefushengfen44\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=kefushengfen44::1|#visitorname,rule-find-kefushengfen,?|1:100:对于客服身份您还有什么疑问吗?:base|#visitorname[]=+机器人+假人+人工智能+AI+什么东西+什么人+真人\r\nprocess=kefushengfen44=+机器人+假人+人工智能+AI+什么东西+什么人+真人|pivot_httppost=active|\r\nprocess=kefushengfen44=unknown|pivot_httppost=active|\r\n\r\n\r\nname=kefushengfen44_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=kefushengfen44|#visitorname,rule-find-kefushengfen,?|1:100:对于客服身份您还有什么疑问吗?:base|#visitorname[]=+机器人+假人+人工智能+AI+什么东西+什么人+真人\r\nprocess=kefushengfen44=+机器人+假人+人工智能+AI+什么东西+什么人+真人|pivot_httppost=active|\r\n", 0], [2008, 114, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于额度最低限定您还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"太低+低+太少+最低+真低\"}], \"relationName\": \"zuidiedu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"zuidiedu55\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=zuidiedu55\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zuidiedu55::1|#visitorname,zuidiedu,?|1:100:对于额度最低限定您还有什么疑问吗?:base|#visitorname[]=+太低+低+太少+最低+真低\r\nprocess=zuidiedu55=+太低+低+太少+最低+真低|pivot_httppost=active|\r\nprocess=zuidiedu55=unknown|pivot_httppost=active|\r\n\r\n\r\nname=zuidiedu55_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zuidiedu55|#visitorname,zuidiedu,?|1:100:对于额度最低限定您还有什么疑问吗?:base|#visitorname[]=+太低+低+太少+最低+真低\r\nprocess=zuidiedu55=+太低+低+太少+最低+真低|pivot_httppost=active|\r\n", 0], [2008, 115, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"您想知道我的姓名吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"叫什么+姓什么+称呼+贵姓+怎么叫+叫啥+是什么+名字+姓名\"}], \"relationName\": \"rule-find-xingming\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"xingming66\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=xingming66\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=xingming66::1|#visitorname,rule-find-xingming,?|1:100:您想知道我的姓名吗?:base|#visitorname[]=+叫什么+姓什么+称呼+贵姓+怎么叫+叫啥+是什么+名字+姓名\r\nprocess=xingming66=+叫什么+姓什么+称呼+贵姓+怎么叫+叫啥+是什么+名字+姓名|pivot_httppost=active|\r\nprocess=xingming66=unknown|pivot_httppost=active|\r\n\r\n\r\nname=xingming66_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=xingming66|#visitorname,rule-find-xingming,?|1:100:您想知道我的姓名吗?:base|#visitorname[]=+叫什么+姓什么+称呼+贵姓+怎么叫+叫啥+是什么+名字+姓名\r\nprocess=xingming66=+叫什么+姓什么+称呼+贵姓+怎么叫+叫啥+是什么+名字+姓名|pivot_httppost=active|\r\n", 0], [2008, 116, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于您对我们机构的正规性的质疑还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"保障+高利贷+骗人+诈骗+骗子+哄人+正规+有营业执照+空壳公司+合法+是银行\"}], \"relationName\": \"rule-find-zhengguixing\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"zhengguixing77\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=zhengguixing77\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zhengguixing77::1|#visitorname,rule-find-zhengguixing,?|1:100:对于您对我们机构的正规性的质疑还有什么疑问?:base|#visitorname[]=+保障+高利贷+骗人+诈骗+骗子+哄人+正规+有营业执照+空壳公司+合法+是银行\r\nprocess=zhengguixing77=+保障+高利贷+骗人+诈骗+骗子+哄人+正规+有营业执照+空壳公司+合法+是银行|pivot_httppost=active|\r\nprocess=zhengguixing77=unknown|pivot_httppost=active|\r\n\r\n\r\nname=zhengguixing77_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zhengguixing77|#visitorname,rule-find-zhengguixing,?|1:100:对于您对我们机构的正规性的质疑还有什么疑问?:base|#visitorname[]=+保障+高利贷+骗人+诈骗+骗子+哄人+正规+有营业执照+空壳公司+合法+是银行\r\nprocess=zhengguixing77=+保障+高利贷+骗人+诈骗+骗子+哄人+正规+有营业执照+空壳公司+合法+是银行|pivot_httppost=active|\r\n", 0], [2008, 117, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的合作银行您还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"银行+合作银行+哪家银行+关联银行\"}], \"relationName\": \"rule-find-hezuoyinghang\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"hezuoyinghang88\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=hezuoyinghang88\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=hezuoyinghang88::1|#visitorname,rule-find-hezuoyinghang,?|1:100:对于我们的合作银行您还有什么疑问吗?:base|#visitorname[]=+银行+合作银行+哪家银行+关联银行\r\nprocess=hezuoyinghang88=+银行+合作银行+哪家银行+关联银行|pivot_httppost=active|\r\nprocess=hezuoyinghang88=unknown|pivot_httppost=active|\r\n\r\n\r\nname=hezuoyinghang88_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=hezuoyinghang88|#visitorname,rule-find-hezuoyinghang,?|1:100:对于我们的合作银行您还有什么疑问吗?:base|#visitorname[]=+银行+合作银行+哪家银行+关联银行\r\nprocess=hezuoyinghang88=+银行+合作银行+哪家银行+关联银行|pivot_httppost=active|\r\n", 0], [2008, 118, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于取款有什么建议\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname问关于取款\", \"repeatKeywords\": \"取款机+取款+取钱\"}], \"relationName\": \"qukuan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"qukuan109\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=qukuan109\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=qukuan109::1|#visitorname,qukuan,?|1:100:对于取款有什么建议:base|#visitorname问关于取款=+取款机+取款+取钱\r\nprocess=qukuan109=+取款机+取款+取钱|pivot_httppost=active|\r\nprocess=qukuan109=unknown|pivot_httppost=active|\r\n\r\n\r\nname=qukuan109_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=qukuan109|#visitorname,qukuan,?|1:100:对于取款有什么建议:base|#visitorname问关于取款=+取款机+取款+取钱\r\nprocess=qukuan109=+取款机+取款+取钱|pivot_httppost=active|\r\n", 0], [2008, 119, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于利息计算的方式您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"利息怎么算+怎么算+计算\"}], \"relationName\": \"rule-find-lixijisuan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"lixijisuan1110\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=lixijisuan1110\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lixijisuan1110::1|#visitorname,rule-find-lixijisuan,?|1:100:对于利息计算的方式您还有什么疑问?:base|#visitorname[]=+利息怎么算+怎么算+计算\r\nprocess=lixijisuan1110=+利息怎么算+怎么算+计算|pivot_httppost=active|\r\nprocess=lixijisuan1110=unknown|pivot_httppost=active|\r\n\r\n\r\nname=lixijisuan1110_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lixijisuan1110|#visitorname,rule-find-lixijisuan,?|1:100:对于利息计算的方式您还有什么疑问?:base|#visitorname[]=+利息怎么算+怎么算+计算\r\nprocess=lixijisuan1110=+利息怎么算+怎么算+计算|pivot_httppost=active|\r\n", 0], [2008, 120, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"感谢您的夸赞\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"声音+挺好听+请+吃饭\"}], \"relationName\": \"rule-find-kuazan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"kuazan1211\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=kuazan1211\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=kuazan1211::1|#visitorname,rule-find-kuazan,?|1:100:感谢您的夸赞:base|#visitorname[]=+声音+挺好听+请+吃饭\r\nprocess=kuazan1211=+声音+挺好听+请+吃饭|pivot_httppost=active|\r\nprocess=kuazan1211=unknown|pivot_httppost=active|\r\n\r\n\r\nname=kuazan1211_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=kuazan1211|#visitorname,rule-find-kuazan,?|1:100:感谢您的夸赞:base|#visitorname[]=+声音+挺好听+请+吃饭\r\nprocess=kuazan1211=+声音+挺好听+请+吃饭|pivot_httppost=active|\r\n", 0], [2008, 121, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于贷款的年限您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"期数+期限+多少期\"}], \"relationName\": \"rule-find-nianxian\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"nianxian1312\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=nianxian1312\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=nianxian1312::1|#visitorname,rule-find-nianxian,?|1:100:对于贷款的年限您还有什么疑问?:base|#visitorname[]=+期数+期限+多少期\r\nprocess=nianxian1312=+期数+期限+多少期|pivot_httppost=active|\r\nprocess=nianxian1312=unknown|pivot_httppost=active|\r\n\r\n\r\nname=nianxian1312_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=nianxian1312|#visitorname,rule-find-nianxian,?|1:100:对于贷款的年限您还有什么疑问?:base|#visitorname[]=+期数+期限+多少期\r\nprocess=nianxian1312=+期数+期限+多少期|pivot_httppost=active|\r\n", 0], [2008, 122, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们如何获取您号码的还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"怎么知道+怎么有+哪里来的+怎么得到的+谁给的+谁告诉你的+谁说的+拿到+如何拿到+怎么样拿到+怎样+咋拿到+咋会有+怎么+怎么样+哪来+哪里来+怎么来+咋来\"}], \"relationName\": \"rule-find-haoma\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"haoma1413\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=haoma1413\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=haoma1413::1|#visitorname,rule-find-haoma,?|1:100:对于我们如何获取您号码的还有什么疑问?:base|#visitorname[]=+怎么知道+怎么有+哪里来的+怎么得到的+谁给的+谁告诉你的+谁说的+拿到+如何拿到+怎么样拿到+怎样+咋拿到+咋会有+怎么+怎么样+哪来+哪里来+怎么来+咋来\r\nprocess=haoma1413=+怎么知道+怎么有+哪里来的+怎么得到的+谁给的+谁告诉你的+谁说的+拿到+如何拿到+怎么样拿到+怎样+咋拿到+咋会有+怎么+怎么样+哪来+哪里来+怎么来+咋来|pivot_httppost=active|\r\nprocess=haoma1413=unknown|pivot_httppost=active|\r\n\r\n\r\nname=haoma1413_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=haoma1413|#visitorname,rule-find-haoma,?|1:100:对于我们如何获取您号码的还有什么疑问?:base|#visitorname[]=+怎么知道+怎么有+哪里来的+怎么得到的+谁给的+谁告诉你的+谁说的+拿到+如何拿到+怎么样拿到+怎样+咋拿到+咋会有+怎么+怎么样+哪来+哪里来+怎么来+咋来\r\nprocess=haoma1413=+怎么知道+怎么有+哪里来的+怎么得到的+谁给的+谁告诉你的+谁说的+拿到+如何拿到+怎么样拿到+怎样+咋拿到+咋会有+怎么+怎么样+哪来+哪里来+怎么来+咋来|pivot_httppost=active|\r\n", 0], [2008, 123, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于信贷需要抵押的问题您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"信用贷款+信贷+条件+要求+所需+需求+需要\"}], \"relationName\": \"rule-find-xindai\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"xindai1716\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=xindai1716\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=xindai1716::1|#visitorname,rule-find-xindai,?|1:100:对于信贷需要抵押的问题您还有什么疑问?:base|#visitorname[]=+信用贷款+信贷+条件+要求+所需+需求+需要\r\nprocess=xindai1716=+信用贷款+信贷+条件+要求+所需+需求+需要|pivot_httppost=active|\r\nprocess=xindai1716=unknown|pivot_httppost=active|\r\n\r\n\r\nname=xindai1716_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=xindai1716|#visitorname,rule-find-xindai,?|1:100:对于信贷需要抵押的问题您还有什么疑问?:base|#visitorname[]=+信用贷款+信贷+条件+要求+所需+需求+需要\r\nprocess=xindai1716=+信用贷款+信贷+条件+要求+所需+需求+需要|pivot_httppost=active|\r\n", 0], [2008, 124, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"很高兴与您沟通!\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"信息+短信+发给我+邮件+电子信息\"}], \"relationName\": \"yuningoutong\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"yuningoutong1918\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=yuningoutong1918\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=yuningoutong1918::1|#visitorname,yuningoutong,?|1:100:很高兴与您沟通!:base|#visitorname[]=+信息+短信+发给我+邮件+电子信息\r\nprocess=yuningoutong1918=+信息+短信+发给我+邮件+电子信息|pivot_httppost=active|\r\nprocess=yuningoutong1918=unknown|pivot_httppost=active|\r\n\r\n\r\nname=yuningoutong1918_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=yuningoutong1918|#visitorname,yuningoutong,?|1:100:很高兴与您沟通!:base|#visitorname[]=+信息+短信+发给我+邮件+电子信息\r\nprocess=yuningoutong1918=+信息+短信+发给我+邮件+电子信息|pivot_httppost=active|\r\n", 0], [2008, 125, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"您对贷款业务还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"额度+放款时间+要求\"}], \"relationName\": \"rule-find-daikuanyewu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daikuanyewu2019\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=daikuanyewu2019\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanyewu2019::1|#visitorname,rule-find-daikuanyewu,?|1:100:您对贷款业务还有什么疑问吗?:base|#visitorname[]=+额度+放款时间+要求\r\nprocess=daikuanyewu2019=+额度+放款时间+要求|pivot_httppost=active|\r\nprocess=daikuanyewu2019=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daikuanyewu2019_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanyewu2019|#visitorname,rule-find-daikuanyewu,?|1:100:您对贷款业务还有什么疑问吗?:base|#visitorname[]=+额度+放款时间+要求\r\nprocess=daikuanyewu2019=+额度+放款时间+要求|pivot_httppost=active|\r\n", 0], [2008, 126, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的抵押模式您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"抵押+黑户+征信+户口+户籍+身份+信誉不好+黑记录+黑名单+信誉额度+负债+欠钱+残疾\"}], \"relationName\": \"rule-find-moshi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"moshi2423\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=moshi2423\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=moshi2423::1|#visitorname,rule-find-moshi,?|1:100:对于我们的抵押模式您还有什么疑问?:base|#visitorname[]=+抵押+黑户+征信+户口+户籍+身份+信誉不好+黑记录+黑名单+信誉额度+负债+欠钱+残疾\r\nprocess=moshi2423=+抵押+黑户+征信+户口+户籍+身份+信誉不好+黑记录+黑名单+信誉额度+负债+欠钱+残疾|pivot_httppost=active|\r\nprocess=moshi2423=unknown|pivot_httppost=active|\r\n\r\n\r\nname=moshi2423_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=moshi2423|#visitorname,rule-find-moshi,?|1:100:对于我们的抵押模式您还有什么疑问?:base|#visitorname[]=+抵押+黑户+征信+户口+户籍+身份+信誉不好+黑记录+黑名单+信誉额度+负债+欠钱+残疾\r\nprocess=moshi2423=+抵押+黑户+征信+户口+户籍+身份+信誉不好+黑记录+黑名单+信誉额度+负债+欠钱+残疾|pivot_httppost=active|\r\n", 0], [2008, 127, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的放款速度您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"贷款+放款+速度+多久+快\"}], \"relationName\": \"rule-find-fangkuansudu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fangkuansudu2524\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=fangkuansudu2524\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangkuansudu2524::1|#visitorname,rule-find-fangkuansudu,?|1:100:对于我们的放款速度您还有什么疑问?:base|#visitorname[]=+贷款+放款+速度+多久+快\r\nprocess=fangkuansudu2524=+贷款+放款+速度+多久+快|pivot_httppost=active|\r\nprocess=fangkuansudu2524=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fangkuansudu2524_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangkuansudu2524|#visitorname,rule-find-fangkuansudu,?|1:100:对于我们的放款速度您还有什么疑问?:base|#visitorname[]=+贷款+放款+速度+多久+快\r\nprocess=fangkuansudu2524=+贷款+放款+速度+多久+快|pivot_httppost=active|\r\n", 0], [2008, 128, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们贷款业务的专业性您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"区别+不一样+优势+特点\"}], \"relationName\": \"rule-find-zhuanyexing\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"zhuanyexing2726\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=zhuanyexing2726\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zhuanyexing2726::1|#visitorname,rule-find-zhuanyexing,?|1:100:对于我们贷款业务的专业性您还有什么疑问?:base|#visitorname[]=+区别+不一样+优势+特点\r\nprocess=zhuanyexing2726=+区别+不一样+优势+特点|pivot_httppost=active|\r\nprocess=zhuanyexing2726=unknown|pivot_httppost=active|\r\n\r\n\r\nname=zhuanyexing2726_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zhuanyexing2726|#visitorname,rule-find-zhuanyexing,?|1:100:对于我们贷款业务的专业性您还有什么疑问?:base|#visitorname[]=+区别+不一样+优势+特点\r\nprocess=zhuanyexing2726=+区别+不一样+优势+特点|pivot_httppost=active|\r\n", 0], [2008, 129, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"您对贷款业务还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"额度+放款时间+要求\"}], \"relationName\": \"rule-find-daikuanyewu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daikuanyewu2827\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=daikuanyewu2827\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanyewu2827::1|#visitorname,rule-find-daikuanyewu,?|1:100:您对贷款业务还有什么疑问吗?:base|#visitorname[]=+额度+放款时间+要求\r\nprocess=daikuanyewu2827=+额度+放款时间+要求|pivot_httppost=active|\r\nprocess=daikuanyewu2827=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daikuanyewu2827_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanyewu2827|#visitorname,rule-find-daikuanyewu,?|1:100:您对贷款业务还有什么疑问吗?:base|#visitorname[]=+额度+放款时间+要求\r\nprocess=daikuanyewu2827=+额度+放款时间+要求|pivot_httppost=active|\r\n", 0], [2008, 130, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于房子位置偏的问题您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname\", \"repeatKeywords\": \"本地没房\"}], \"relationName\": \"rule-find-fangziweizhi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fangziweizhi3029\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=fangziweizhi3029\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangziweizhi3029::1|#visitorname,rule-find-fangziweizhi,?|1:100:对于房子位置偏的问题您还有什么疑问?:base|#visitorname=+本地没房\r\nprocess=fangziweizhi3029=+本地没房|pivot_httppost=active|\r\nprocess=fangziweizhi3029=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fangziweizhi3029_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangziweizhi3029|#visitorname,rule-find-fangziweizhi,?|1:100:对于房子位置偏的问题您还有什么疑问?:base|#visitorname=+本地没房\r\nprocess=fangziweizhi3029=+本地没房|pivot_httppost=active|\r\n", 0], [2008, 131, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"给您转专业的客户经理可以吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"不专业+知不知道+傻+蠢+笨+业余\"}], \"relationName\": \"rule-find-kehujingli\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"kehujingli3332\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=kehujingli3332\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=kehujingli3332::1|#visitorname,rule-find-kehujingli,?|1:100:给您转专业的客户经理可以吗?:base|#visitorname[]=+不专业+知不知道+傻+蠢+笨+业余\r\nprocess=kehujingli3332=+不专业+知不知道+傻+蠢+笨+业余|pivot_httppost=active|\r\nprocess=kehujingli3332=unknown|pivot_httppost=active|\r\n\r\n\r\nname=kehujingli3332_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=kehujingli3332|#visitorname,rule-find-kehujingli,?|1:100:给您转专业的客户经理可以吗?:base|#visitorname[]=+不专业+知不知道+傻+蠢+笨+业余\r\nprocess=kehujingli3332=+不专业+知不知道+傻+蠢+笨+业余|pivot_httppost=active|\r\n", 0], [2008, 132, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"可以再考虑了解下吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有兴趣\", \"repeatKeywords\": \"要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对+考虑\"}, {\"macro\": \"\", \"repeatString\": \"#visitorname没兴趣\", \"repeatKeywords\": \"你哪里+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+哪里+谁+哪位+好得很+好的很+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+烦+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+为什么+干嘛+有什么用+有毛用+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+烦+听不懂+真的烦+哥屋恩滚+不可能+不了+别打+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\"}], \"relationName\": \"rule-find-yongqian\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"yongqian3534\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=yongqian3534\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=yongqian3534::1|#visitorname,rule-find-yongqian,?|1:100:可以再考虑了解下吗?:base|#visitorname有兴趣=+要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对+考虑~#visitorname没兴趣=+你哪里+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+哪里+谁+哪位+好得很+好的很+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+烦+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+为什么+干嘛+有什么用+有毛用+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+烦+听不懂+真的烦+哥屋恩滚+不可能+不了+别打+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\r\nprocess=yongqian3534=+要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对+考虑|pivot_httppost=active|\r\nprocess=yongqian3534=+你哪里+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+哪里+谁+哪位+好得很+好的很+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+烦+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+为什么+干嘛+有什么用+有毛用+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+烦+听不懂+真的烦+哥屋恩滚+不可能+不了+别打+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累|pivot_httppost=active|\r\nprocess=yongqian3534=unknown|pivot_httppost=active|\r\n\r\n\r\nname=yongqian3534_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=yongqian3534|#visitorname,rule-find-yongqian,?|1:100:可以再考虑了解下吗?:base|#visitorname有兴趣=+要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对+考虑~#visitorname没兴趣=+你哪里+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+哪里+谁+哪位+好得很+好的很+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+烦+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+为什么+干嘛+有什么用+有毛用+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+烦+听不懂+真的烦+哥屋恩滚+不可能+不了+别打+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\r\nprocess=yongqian3534=+要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对+考虑|pivot_httppost=active|\r\nprocess=yongqian3534=+你哪里+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+哪里+谁+哪位+好得很+好的很+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+烦+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+为什么+干嘛+有什么用+有毛用+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+烦+听不懂+真的烦+哥屋恩滚+不可能+不了+别打+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累|pivot_httppost=active|\r\n", 0], [2008, 133, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"很高兴与您沟通?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+没问题+再见+拜拜\"}], \"relationName\": \"rule-find-goutong\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"goutong3938\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=goutong3938\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=goutong3938::1|#visitorname,rule-find-goutong,?|1:100:很高兴与您沟通?:base|#visitorname[]=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+没问题+再见+拜拜\r\nprocess=goutong3938=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+没问题+再见+拜拜|pivot_httppost=active|\r\nprocess=goutong3938=unknown|pivot_httppost=active|\r\n\r\n\r\nname=goutong3938_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=goutong3938|#visitorname,rule-find-goutong,?|1:100:很高兴与您沟通?:base|#visitorname[]=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+没问题+再见+拜拜\r\nprocess=goutong3938=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+没问题+再见+拜拜|pivot_httppost=active|\r\n", 0], [2008, 134, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的服务费用您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"服务费+费用+收费+中介费+点数+手续费\"}], \"relationName\": \"rule-find-feiyong\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"feiyong4039\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=feiyong4039\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=feiyong4039::1|#visitorname,rule-find-feiyong,?|1:100:对于我们的服务费用您还有什么疑问?:base|#visitorname[]=+服务费+费用+收费+中介费+点数+手续费\r\nprocess=feiyong4039=+服务费+费用+收费+中介费+点数+手续费|pivot_httppost=active|\r\nprocess=feiyong4039=unknown|pivot_httppost=active|\r\n\r\n\r\nname=feiyong4039_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=feiyong4039|#visitorname,rule-find-feiyong,?|1:100:对于我们的服务费用您还有什么疑问?:base|#visitorname[]=+服务费+费用+收费+中介费+点数+手续费\r\nprocess=feiyong4039=+服务费+费用+收费+中介费+点数+手续费|pivot_httppost=active|\r\n", 0], [2008, 135, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于来我们公司的导航您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"怎么走+开车+怎么去+交通+路线\"}], \"relationName\": \"rule-find-daohang\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daohang4140\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=daohang4140\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daohang4140::1|#visitorname,rule-find-daohang,?|1:100:对于来我们公司的导航您还有什么疑问?:base|#visitorname[]=+怎么走+开车+怎么去+交通+路线\r\nprocess=daohang4140=+怎么走+开车+怎么去+交通+路线|pivot_httppost=active|\r\nprocess=daohang4140=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daohang4140_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daohang4140|#visitorname,rule-find-daohang,?|1:100:对于来我们公司的导航您还有什么疑问?:base|#visitorname[]=+怎么走+开车+怎么去+交通+路线\r\nprocess=daohang4140=+怎么走+开车+怎么去+交通+路线|pivot_httppost=active|\r\n", 0], [2008, 136, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们公司的地址您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"位置+地址+公司地址+公司在哪\"}], \"relationName\": \"rule-find-dizhi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"dizhi4241\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=dizhi4241\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=dizhi4241::1|#visitorname,rule-find-dizhi,?|1:100:对于我们公司的地址您还有什么疑问?:base|#visitorname[]=+位置+地址+公司地址+公司在哪\r\nprocess=dizhi4241=+位置+地址+公司地址+公司在哪|pivot_httppost=active|\r\nprocess=dizhi4241=unknown|pivot_httppost=active|\r\n\r\n\r\nname=dizhi4241_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=dizhi4241|#visitorname,rule-find-dizhi,?|1:100:对于我们公司的地址您还有什么疑问?:base|#visitorname[]=+位置+地址+公司地址+公司在哪\r\nprocess=dizhi4241=+位置+地址+公司地址+公司在哪|pivot_httppost=active|\r\n", 0], [2008, 137, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于路途远的问题您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"太远+有点远\"}], \"relationName\": \"rule-find-lutu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"lutu4342\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=lutu4342\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lutu4342::1|#visitorname,rule-find-lutu,?|1:100:对于路途远的问题您还有什么疑问?:base|#visitorname[]=+太远+有点远\r\nprocess=lutu4342=+太远+有点远|pivot_httppost=active|\r\nprocess=lutu4342=unknown|pivot_httppost=active|\r\n\r\n\r\nname=lutu4342_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lutu4342|#visitorname,rule-find-lutu,?|1:100:对于路途远的问题您还有什么疑问?:base|#visitorname[]=+太远+有点远\r\nprocess=lutu4342=+太远+有点远|pivot_httppost=active|\r\n", 0], [2008, 138, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们公司的业务您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"公司+单位+什么公司\"}], \"relationName\": \"rule-find-gongsiyewu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"gongsiyewu4443\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=gongsiyewu4443\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=gongsiyewu4443::1|#visitorname,rule-find-gongsiyewu,?|1:100:对于我们公司的业务您还有什么疑问?:base|#visitorname[]=+公司+单位+什么公司\r\nprocess=gongsiyewu4443=+公司+单位+什么公司|pivot_httppost=active|\r\nprocess=gongsiyewu4443=unknown|pivot_httppost=active|\r\n\r\n\r\nname=gongsiyewu4443_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=gongsiyewu4443|#visitorname,rule-find-gongsiyewu,?|1:100:对于我们公司的业务您还有什么疑问?:base|#visitorname[]=+公司+单位+什么公司\r\nprocess=gongsiyewu4443=+公司+单位+什么公司|pivot_httppost=active|\r\n", 0], [2008, 139, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们贷款公司的征信您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"征信+要求+信用\"}], \"relationName\": \"rule-find-zhengxin\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"zhengxin4544\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=zhengxin4544\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zhengxin4544::1|#visitorname,rule-find-zhengxin,?|1:100:对于我们贷款公司的征信您还有什么疑问?:base|#visitorname[]=+征信+要求+信用\r\nprocess=zhengxin4544=+征信+要求+信用|pivot_httppost=active|\r\nprocess=zhengxin4544=unknown|pivot_httppost=active|\r\n\r\n\r\nname=zhengxin4544_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zhengxin4544|#visitorname,rule-find-zhengxin,?|1:100:对于我们贷款公司的征信您还有什么疑问?:base|#visitorname[]=+征信+要求+信用\r\nprocess=zhengxin4544=+征信+要求+信用|pivot_httppost=active|\r\n", 0], [2008, 140, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于符合年龄的问题您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"年龄+太大+不够+太小\"}], \"relationName\": \"rule-find-fuhenianling\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fuhenianling4645\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=fuhenianling4645\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fuhenianling4645::1|#visitorname,rule-find-fuhenianling,?|1:100:对于符合年龄的问题您还有什么疑问?:base|#visitorname[]=+年龄+太大+不够+太小\r\nprocess=fuhenianling4645=+年龄+太大+不够+太小|pivot_httppost=active|\r\nprocess=fuhenianling4645=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fuhenianling4645_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fuhenianling4645|#visitorname,rule-find-fuhenianling,?|1:100:对于符合年龄的问题您还有什么疑问?:base|#visitorname[]=+年龄+太大+不够+太小\r\nprocess=fuhenianling4645=+年龄+太大+不够+太小|pivot_httppost=active|\r\n", 0], [2008, 141, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于联系时间您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"时间\"}], \"relationName\": \"rule-find-lianxishijian\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"lianxishijian4746\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=lianxishijian4746\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lianxishijian4746::1|#visitorname,rule-find-lianxishijian,?|1:100:对于联系时间您还有什么疑问?:base|#visitorname[]=+时间\r\nprocess=lianxishijian4746=+时间|pivot_httppost=active|\r\nprocess=lianxishijian4746=unknown|pivot_httppost=active|\r\n\r\n\r\nname=lianxishijian4746_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lianxishijian4746|#visitorname,rule-find-lianxishijian,?|1:100:对于联系时间您还有什么疑问?:base|#visitorname[]=+时间\r\nprocess=lianxishijian4746=+时间|pivot_httppost=active|\r\n", 0], [2008, 142, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我的联系方式您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"电话+联系方式+短信+微信+QQ+联系电话\"}], \"relationName\": \"rule-find-lianxifangshi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"lianxifangshi4847\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=lianxifangshi4847\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lianxifangshi4847::1|#visitorname,rule-find-lianxifangshi,?|1:100:对于我的联系方式您还有什么疑问?:base|#visitorname[]=+电话+联系方式+短信+微信+QQ+联系电话\r\nprocess=lianxifangshi4847=+电话+联系方式+短信+微信+QQ+联系电话|pivot_httppost=active|\r\nprocess=lianxifangshi4847=unknown|pivot_httppost=active|\r\n\r\n\r\nname=lianxifangshi4847_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lianxifangshi4847|#visitorname,rule-find-lianxifangshi,?|1:100:对于我的联系方式您还有什么疑问?:base|#visitorname[]=+电话+联系方式+短信+微信+QQ+联系电话\r\nprocess=lianxifangshi4847=+电话+联系方式+短信+微信+QQ+联系电话|pivot_httppost=active|\r\n", 0], [2008, 143, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于你有无工作作保证您还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"无业+没工作+没收入+没有固定+没有工作+无业游民\"}], \"relationName\": \"rule-find-gongzuobaozheng\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"gongzuobaozheng4948\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=gongzuobaozheng4948\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=gongzuobaozheng4948::1|#visitorname,rule-find-gongzuobaozheng,?|1:100:对于你有无工作作保证您还有什么疑问吗?:base|#visitorname[]=+无业+没工作+没收入+没有固定+没有工作+无业游民\r\nprocess=gongzuobaozheng4948=+无业+没工作+没收入+没有固定+没有工作+无业游民|pivot_httppost=active|\r\nprocess=gongzuobaozheng4948=unknown|pivot_httppost=active|\r\n\r\n\r\nname=gongzuobaozheng4948_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=gongzuobaozheng4948|#visitorname,rule-find-gongzuobaozheng,?|1:100:对于你有无工作作保证您还有什么疑问吗?:base|#visitorname[]=+无业+没工作+没收入+没有固定+没有工作+无业游民\r\nprocess=gongzuobaozheng4948=+无业+没工作+没收入+没有固定+没有工作+无业游民|pivot_httppost=active|\r\n", 0], [2008, 144, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \" \"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"\", \"repeatKeywords\": \"\"}], \"relationName\": \"rule-find-empty\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"empty5150\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=empty5150\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=empty5150::1|#visitorname,rule-find-empty,?|1:100: :base|=+\r\nprocess=empty5150=+|pivot_httppost=active|\r\nprocess=empty5150=unknown|pivot_httppost=active|\r\n\r\n\r\nname=empty5150_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=empty5150|#visitorname,rule-find-empty,?|1:100: :base|=+\r\nprocess=empty5150=+|pivot_httppost=active|\r\n", 0], [2008, 145, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于贷款流程时间您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"多久+多长时间+耗时\"}], \"relationName\": \"rule-find-liuchengshijian\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"liuchengshijian5251\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=liuchengshijian5251\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=liuchengshijian5251::1|#visitorname,rule-find-liuchengshijian,?|1:100:对于贷款流程时间您还有什么疑问?:base|#visitorname[]=+多久+多长时间+耗时\r\nprocess=liuchengshijian5251=+多久+多长时间+耗时|pivot_httppost=active|\r\nprocess=liuchengshijian5251=unknown|pivot_httppost=active|\r\n\r\n\r\nname=liuchengshijian5251_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=liuchengshijian5251|#visitorname,rule-find-liuchengshijian,?|1:100:对于贷款流程时间您还有什么疑问?:base|#visitorname[]=+多久+多长时间+耗时\r\nprocess=liuchengshijian5251=+多久+多长时间+耗时|pivot_httppost=active|\r\n", 0], [2008, 146, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于材料准备方面您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"好的+没问题+可以+会+好-你\"}], \"relationName\": \"rule-find-cailiaozhunbei\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"cailiaozhunbei5352\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=cailiaozhunbei5352\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=cailiaozhunbei5352::1|#visitorname,rule-find-cailiaozhunbei,?|1:100:对于材料准备方面您还有什么疑问?:base|#visitorname[]=+好的+没问题+可以+会+好-你\r\nprocess=cailiaozhunbei5352=+好的+没问题+可以+会+好|pivot_httppost=active|\r\nprocess=cailiaozhunbei5352=unknown|pivot_httppost=active|\r\n\r\n\r\nname=cailiaozhunbei5352_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=cailiaozhunbei5352|#visitorname,rule-find-cailiaozhunbei,?|1:100:对于材料准备方面您还有什么疑问?:base|#visitorname[]=+好的+没问题+可以+会+好-你\r\nprocess=cailiaozhunbei5352=+好的+没问题+可以+会+好|pivot_httppost=active|\r\n", 0], [2008, 147, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"您还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"高+太高了+真高+低+不错+挺好+怎么算+计算+资质+材料\"}], \"relationName\": \"rule-find-gaolixi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"gaolixi5453\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=gaolixi5453\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=gaolixi5453::1|#visitorname,rule-find-gaolixi,?|1:100:您还有什么疑问吗?:base|#visitorname[]=+高+太高了+真高+低+不错+挺好+怎么算+计算+资质+材料\r\nprocess=gaolixi5453=+高+太高了+真高+低+不错+挺好+怎么算+计算+资质+材料|pivot_httppost=active|\r\nprocess=gaolixi5453=unknown|pivot_httppost=active|\r\n\r\n\r\nname=gaolixi5453_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=gaolixi5453|#visitorname,rule-find-gaolixi,?|1:100:您还有什么疑问吗?:base|#visitorname[]=+高+太高了+真高+低+不错+挺好+怎么算+计算+资质+材料\r\nprocess=gaolixi5453=+高+太高了+真高+低+不错+挺好+怎么算+计算+资质+材料|pivot_httppost=active|\r\n", 0], [2008, 148, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于还款方式您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"还款方式+还款方法+还款形式+还款办法\"}], \"relationName\": \"rule-find-huankuanfangshi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"huankuanfangshi5554\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=huankuanfangshi5554\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=huankuanfangshi5554::1|#visitorname,rule-find-huankuanfangshi,?|1:100:对于还款方式您还有什么疑问?:base|#visitorname[]=+还款方式+还款方法+还款形式+还款办法\r\nprocess=huankuanfangshi5554=+还款方式+还款方法+还款形式+还款办法|pivot_httppost=active|\r\nprocess=huankuanfangshi5554=unknown|pivot_httppost=active|\r\n\r\n\r\nname=huankuanfangshi5554_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=huankuanfangshi5554|#visitorname,rule-find-huankuanfangshi,?|1:100:对于还款方式您还有什么疑问?:base|#visitorname[]=+还款方式+还款方法+还款形式+还款办法\r\nprocess=huankuanfangshi5554=+还款方式+还款方法+还款形式+还款办法|pivot_httppost=active|\r\n", 0], [2008, 149, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于材料方面您还有什么疑问吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"材料+证件+资料+手续\"}], \"relationName\": \"rule-suoxucailiao\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"suoxucailiao5655\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=suoxucailiao5655\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=suoxucailiao5655::1|#visitorname,rule-suoxucailiao,?|1:100:对于材料方面您还有什么疑问吗?:base|#visitorname[]=+材料+证件+资料+手续\r\nprocess=suoxucailiao5655=+材料+证件+资料+手续|pivot_httppost=active|\r\nprocess=suoxucailiao5655=unknown|pivot_httppost=active|\r\n\r\n\r\nname=suoxucailiao5655_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=suoxucailiao5655|#visitorname,rule-suoxucailiao,?|1:100:对于材料方面您还有什么疑问吗?:base|#visitorname[]=+材料+证件+资料+手续\r\nprocess=suoxucailiao5655=+材料+证件+资料+手续|pivot_httppost=active|\r\n", 0], [2008, 150, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"您现在方便电话沟通吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"等等+等一下+等一会+稍等+等下+等会\"}], \"relationName\": \"rule-find-fangbian\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fangbian\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=fangbian\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangbian::1|#visitorname,rule-find-fangbian,?|1:100:您现在方便电话沟通吗?:base|#visitorname[]=+等等+等一下+等一会+稍等+等下+等会\r\nprocess=fangbian=+等等+等一下+等一会+稍等+等下+等会|pivot_httppost=active|\r\nprocess=fangbian=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fangbian_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangbian|#visitorname,rule-find-fangbian,?|1:100:您现在方便电话沟通吗?:base|#visitorname[]=+等等+等一下+等一会+稍等+等下+等会\r\nprocess=fangbian=+等等+等一下+等一会+稍等+等下+等会|pivot_httppost=active|\r\n", 0], [2008, 151, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"对于我们贷款业务政策您满意吗?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \".\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有兴趣\", \"repeatKeywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始\"}, {\"macro\": \"\", \"repeatString\": \"#visitorname没兴趣\", \"repeatKeywords\": \"不要+不用+没兴趣+好得很+好的很+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢+不满意+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\"}], \"relationName\": \"rule-find-yewuzhence\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"yewuzhence\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=yewuzhence\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=yewuzhence::1|#visitorname,rule-find-yewuzhence,?|100:101:对于我们贷款业务政策您满意吗?:base~1:100:.|#visitorname有兴趣=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始~#visitorname没兴趣=+不要+不用+没兴趣+好得很+好的很+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢+不满意+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\r\nprocess=yewuzhence=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始|pivot_httppost=active|\r\nprocess=yewuzhence=+不要+不用+没兴趣+好得很+好的很+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢+不满意+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累|pivot_httppost=active|\r\nprocess=yewuzhence=unknown|pivot_httppost=active|\r\n\r\n\r\nname=yewuzhence_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=yewuzhence|#visitorname,rule-find-yewuzhence,?|100:101:对于我们贷款业务政策您满意吗?:base~1:100:.|#visitorname有兴趣=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始~#visitorname没兴趣=+不要+不用+没兴趣+好得很+好的很+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢+不满意+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\r\nprocess=yewuzhence=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始|pivot_httppost=active|\r\nprocess=yewuzhence=+不要+不用+没兴趣+好得很+好的很+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不太需要+不喜欢+不满意+哎呀+我去+你有毛病+你有猫病+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累|pivot_httppost=active|\r\n", 0], [2008, 152, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的放款额度您还有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"额度+贷多少+放款金额+放款多少+最多+多少款\"}], \"relationName\": \"rule-find-fangkuanedu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fangkuanedu\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=fangkuanedu\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangkuanedu::1|#visitorname,rule-find-fangkuanedu,?|1:100:对于我们的放款额度您还有什么疑问?:base|#visitorname[]=+额度+贷多少+放款金额+放款多少+最多+多少款\r\nprocess=fangkuanedu=+额度+贷多少+放款金额+放款多少+最多+多少款|pivot_httppost=active|\r\nprocess=fangkuanedu=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fangkuanedu_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fangkuanedu|#visitorname,rule-find-fangkuanedu,?|1:100:对于我们的放款额度您还有什么疑问?:base|#visitorname[]=+额度+贷多少+放款金额+放款多少+最多+多少款\r\nprocess=fangkuanedu=+额度+贷多少+放款金额+放款多少+最多+多少款|pivot_httppost=active|\r\n", 0], [2008, 153, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于利息高有什么疑问?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"高+贵+太高+真高+好高+真贵+那么贵+好贵+实在贵+很贵+贷不起+离谱+过分+不能接受+难以接受+接受不了+天价+太贵+不低+便宜+不错+还行+划算+有点高+月息太高+月息+材料+资质-算不算-吗\"}], \"relationName\": \"rule-find-lixi_high\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"lixi_high\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=lixi_high\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lixi_high::1|#visitorname,rule-find-lixi_high,?|1:100:对于利息高有什么疑问?:base|#visitorname[]=+高+贵+太高+真高+好高+真贵+那么贵+好贵+实在贵+很贵+贷不起+离谱+过分+不能接受+难以接受+接受不了+天价+太贵+不低+便宜+不错+还行+划算+有点高+月息太高+月息+材料+资质-算不算-吗\r\nprocess=lixi_high=+高+贵+太高+真高+好高+真贵+那么贵+好贵+实在贵+很贵+贷不起+离谱+过分+不能接受+难以接受+接受不了+天价+太贵+不低+便宜+不错+还行+划算+有点高+月息太高+月息+材料+资质|pivot_httppost=active|\r\nprocess=lixi_high=unknown|pivot_httppost=active|\r\n\r\n\r\nname=lixi_high_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=lixi_high|#visitorname,rule-find-lixi_high,?|1:100:对于利息高有什么疑问?:base|#visitorname[]=+高+贵+太高+真高+好高+真贵+那么贵+好贵+实在贵+很贵+贷不起+离谱+过分+不能接受+难以接受+接受不了+天价+太贵+不低+便宜+不错+还行+划算+有点高+月息太高+月息+材料+资质-算不算-吗\r\nprocess=lixi_high=+高+贵+太高+真高+好高+真贵+那么贵+好贵+实在贵+很贵+贷不起+离谱+过分+不能接受+难以接受+接受不了+天价+太贵+不低+便宜+不错+还行+划算+有点高+月息太高+月息+材料+资质|pivot_httppost=active|\r\n", 0], [2008, 154, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"。\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"再见\"}], \"relationName\": \"rule-find-tiaozhuan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"tiaozhuan\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=tiaozhuan\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=tiaozhuan::1|#visitorname,rule-find-tiaozhuan,?|1:100:。:base|#visitorname[]=+再见\r\nprocess=tiaozhuan=+再见|pivot_httppost=active|\r\nprocess=tiaozhuan=unknown|pivot_httppost=active|\r\n\r\n\r\nname=tiaozhuan_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=tiaozhuan|#visitorname,rule-find-tiaozhuan,?|1:100:。:base|#visitorname[]=+再见\r\nprocess=tiaozhuan=+再见|pivot_httppost=active|\r\n", 0], [2008, 155, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"很抱歉打扰您?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"在忙+没空+开车+上班+开会+没时间+在电梯+不方便+睡觉+吃饭+很忙+挂了\"}], \"relationName\": \"rule-find-baoqian\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"baoqian\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=baoqian\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=baoqian::1|#visitorname,rule-find-baoqian,?|1:100:很抱歉打扰您?:base|#visitorname[]=+在忙+没空+开车+上班+开会+没时间+在电梯+不方便+睡觉+吃饭+很忙+挂了\r\nprocess=baoqian=+在忙+没空+开车+上班+开会+没时间+在电梯+不方便+睡觉+吃饭+很忙+挂了|pivot_httppost=active|\r\nprocess=baoqian=unknown|pivot_httppost=active|\r\n\r\n\r\nname=baoqian_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=baoqian|#visitorname,rule-find-baoqian,?|1:100:很抱歉打扰您?:base|#visitorname[]=+在忙+没空+开车+上班+开会+没时间+在电梯+不方便+睡觉+吃饭+很忙+挂了\r\nprocess=baoqian=+在忙+没空+开车+上班+开会+没时间+在电梯+不方便+睡觉+吃饭+很忙+挂了|pivot_httppost=active|\r\n", 0], [2008, 156, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \".\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"继续+好吧+再见+不说了+讲+说+回来了+什么事+忙+下次聊\"}], \"relationName\": \"rule-find-zanting\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"zanting\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=zanting\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zanting::1|#visitorname,rule-find-zanting,?|1:100:.:base|#visitorname[]=+继续+好吧+再见+不说了+讲+说+回来了+什么事+忙+下次聊\r\nprocess=zanting=+继续+好吧+再见+不说了+讲+说+回来了+什么事+忙+下次聊|pivot_httppost=active|\r\nprocess=zanting=unknown|pivot_httppost=active|\r\n\r\n\r\nname=zanting_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zanting|#visitorname,rule-find-zanting,?|1:100:.:base|#visitorname[]=+继续+好吧+再见+不说了+讲+说+回来了+什么事+忙+下次聊\r\nprocess=zanting=+继续+好吧+再见+不说了+讲+说+回来了+什么事+忙+下次聊|pivot_httppost=active|\r\n", 0], [2008, 157, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于来访目的您有什么疑问吗\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"哪里+是谁+哪位+你好+您好+干什么+做什么+有事+是谁+让我借钱+哪个+再说一遍+不知道+说什么+哪来的+人话+哪儿来+哪来+哪里来+哪儿+弄啥子+那个+哪家+啥单位+觉得+干嘛+有什么关系+没听清+想说啥+要说啥+说啥+啥要说+说清楚+什么事+事+什么+为什么+频繁+干啥+啥事-想说-烦死-条件-说说-说-吧-公司 \"}], \"relationName\": \"rule-find-laifangmudi\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"laifangmudi\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=laifangmudi\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=laifangmudi::1|#visitorname,rule-find-laifangmudi,?|1:100:对于来访目的您有什么疑问吗:base|#visitorname[]=+哪里+是谁+哪位+你好+您好+干什么+做什么+有事+是谁+让我借钱+哪个+再说一遍+不知道+说什么+哪来的+人话+哪儿来+哪来+哪里来+哪儿+弄啥子+那个+哪家+啥单位+觉得+干嘛+有什么关系+没听清+想说啥+要说啥+说啥+啥要说+说清楚+什么事+事+什么+为什么+频繁+干啥+啥事-想说-烦死-条件-说说-说-吧-公司 \r\nprocess=laifangmudi=+哪里+是谁+哪位+你好+您好+干什么+做什么+有事+是谁+让我借钱+哪个+再说一遍+不知道+说什么+哪来的+人话+哪儿来+哪来+哪里来+哪儿+弄啥子+那个+哪家+啥单位+觉得+干嘛+有什么关系+没听清+想说啥+要说啥+说啥+啥要说+说清楚+什么事+事+什么+为什么+频繁+干啥+啥事|pivot_httppost=active|\r\nprocess=laifangmudi=unknown|pivot_httppost=active|\r\n\r\n\r\nname=laifangmudi_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=laifangmudi|#visitorname,rule-find-laifangmudi,?|1:100:对于来访目的您有什么疑问吗:base|#visitorname[]=+哪里+是谁+哪位+你好+您好+干什么+做什么+有事+是谁+让我借钱+哪个+再说一遍+不知道+说什么+哪来的+人话+哪儿来+哪来+哪里来+哪儿+弄啥子+那个+哪家+啥单位+觉得+干嘛+有什么关系+没听清+想说啥+要说啥+说啥+啥要说+说清楚+什么事+事+什么+为什么+频繁+干啥+啥事-想说-烦死-条件-说说-说-吧-公司 \r\nprocess=laifangmudi=+哪里+是谁+哪位+你好+您好+干什么+做什么+有事+是谁+让我借钱+哪个+再说一遍+不知道+说什么+哪来的+人话+哪儿来+哪来+哪里来+哪儿+弄啥子+那个+哪家+啥单位+觉得+干嘛+有什么关系+没听清+想说啥+要说啥+说啥+啥要说+说清楚+什么事+事+什么+为什么+频繁+干啥+啥事|pivot_httppost=active|\r\n", 0], [2008, 158, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"贷款项目您有兴趣了解一下吗?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"请问您有资金需求吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有兴趣\", \"repeatKeywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+怎么弄+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+缺钱+缺资金+缺+不够+不够用+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开-挂了 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname没兴趣\", \"repeatKeywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不行+好得很+好的很+不可以+别说了+哎呀+我去+好得很+好的很+你有毛病+你有猫病+别讲+不是+不好+没有需求+没有兴趣+没有需要+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+走开+扯犊子+滚开+累+不累+很多钱+钱很多+钱多的很+白送+没时间+睡觉+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+做事+有事+正在+钱多+土豪+富人+富豪+大亨+巨鳄+家族产业+我爸是李刚+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得-但是-不过-可是-虽然-想说-吗-不开-算不算-怎么弄\"}], \"relationName\": \"rule-find-business\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"talk\", \"relationTail\": \"?\", \"active\": true, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=talk\r\nstatus=active\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=talk::1|#visitorname,rule-find-business,?|100:101:贷款项目您有兴趣了解一下吗?:base~1:100:请问您有资金需求吗?|#visitorname有兴趣=+有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+怎么弄+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+缺钱+缺资金+缺+不够+不够用+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开-挂了 ~#visitorname没兴趣=+不要+不用+没兴趣+用不到+滚+滚蛋+不想听+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不行+好得很+好的很+不可以+别说了+哎呀+我去+好得很+好的很+你有毛病+你有猫病+别讲+不是+不好+没有需求+没有兴趣+没有需要+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+走开+扯犊子+滚开+累+不累+很多钱+钱很多+钱多的很+白送+没时间+睡觉+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+做事+有事+正在+钱多+土豪+富人+富豪+大亨+巨鳄+家族产业+我爸是李刚+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得-但是-不过-可是-虽然-想说-吗-不开-算不算-怎么弄\r\nprocess=talk=+有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+怎么弄+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+缺钱+缺资金+缺+不够+不够用+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试|pivot_httppost=active|\r\nprocess=talk=+不要+不用+没兴趣+用不到+滚+滚蛋+不想听+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不行+好得很+好的很+不可以+别说了+哎呀+我去+好得很+好的很+你有毛病+你有猫病+别讲+不是+不好+没有需求+没有兴趣+没有需要+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+走开+扯犊子+滚开+累+不累+很多钱+钱很多+钱多的很+白送+没时间+睡觉+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+做事+有事+正在+钱多+土豪+富人+富豪+大亨+巨鳄+家族产业+我爸是李刚+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得|pivot_httppost=active|\r\nprocess=talk=unknown|pivot_httppost=active|\r\n\r\n\r\nname=talk_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=talk|#visitorname,rule-find-business,?|100:101:贷款项目您有兴趣了解一下吗?:base~1:100:请问您有资金需求吗?|#visitorname有兴趣=+有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+怎么弄+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+缺钱+缺资金+缺+不够+不够用+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开-挂了 ~#visitorname没兴趣=+不要+不用+没兴趣+用不到+滚+滚蛋+不想听+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不行+好得很+好的很+不可以+别说了+哎呀+我去+好得很+好的很+你有毛病+你有猫病+别讲+不是+不好+没有需求+没有兴趣+没有需要+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+走开+扯犊子+滚开+累+不累+很多钱+钱很多+钱多的很+白送+没时间+睡觉+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+做事+有事+正在+钱多+土豪+富人+富豪+大亨+巨鳄+家族产业+我爸是李刚+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得-但是-不过-可是-虽然-想说-吗-不开-算不算-怎么弄\r\nprocess=talk=+有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+怎么弄+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+缺钱+缺资金+缺+不够+不够用+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试|pivot_httppost=active|\r\nprocess=talk=+不要+不用+没兴趣+用不到+滚+滚蛋+不想听+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不行+好得很+好的很+不可以+别说了+哎呀+我去+好得很+好的很+你有毛病+你有猫病+别讲+不是+不好+没有需求+没有兴趣+没有需要+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+走开+扯犊子+滚开+累+不累+很多钱+钱很多+钱多的很+白送+没时间+睡觉+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+做事+有事+正在+钱多+土豪+富人+富豪+大亨+巨鳄+家族产业+我爸是李刚+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得|pivot_httppost=active|\r\n", 1], [2008, 159, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"您需要了解目前贷款的行情吗?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"您觉得呢?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有兴趣\", \"repeatKeywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname没兴趣\", \"repeatKeywords\": \"不要+不用+没兴趣+不需要+用不到+好得很+好的很+滚+滚蛋+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想听+不行+不可以+别讲+我不用+哎呀+我去+你有毛病+你有猫病+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+开车+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没心情+差劲+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要-条件 \"}], \"relationName\": \"rule-find-hangqing\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"hangqing\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=hangqing\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=hangqing::1|#visitorname,rule-find-hangqing,?|100:101:您需要了解目前贷款的行情吗?:base~1:100:您觉得呢?|#visitorname有兴趣=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不 ~#visitorname没兴趣=+不要+不用+没兴趣+不需要+用不到+好得很+好的很+滚+滚蛋+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想听+不行+不可以+别讲+我不用+哎呀+我去+你有毛病+你有猫病+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+开车+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没心情+差劲+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要-条件 \r\nprocess=hangqing=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解|pivot_httppost=active|\r\nprocess=hangqing=+不要+不用+没兴趣+不需要+用不到+好得很+好的很+滚+滚蛋+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想听+不行+不可以+别讲+我不用+哎呀+我去+你有毛病+你有猫病+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+开车+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没心情+差劲+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要|pivot_httppost=active|\r\nprocess=hangqing=unknown|pivot_httppost=active|\r\n\r\n\r\nname=hangqing_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=hangqing|#visitorname,rule-find-hangqing,?|100:101:您需要了解目前贷款的行情吗?:base~1:100:您觉得呢?|#visitorname有兴趣=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不 ~#visitorname没兴趣=+不要+不用+没兴趣+不需要+用不到+好得很+好的很+滚+滚蛋+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想听+不行+不可以+别讲+我不用+哎呀+我去+你有毛病+你有猫病+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+开车+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没心情+差劲+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要-条件 \r\nprocess=hangqing=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解|pivot_httppost=active|\r\nprocess=hangqing=+不要+不用+没兴趣+不需要+用不到+好得很+好的很+滚+滚蛋+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想听+不行+不可以+别讲+我不用+哎呀+我去+你有毛病+你有猫病+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+开车+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+没心情+差劲+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要|pivot_httppost=active|\r\n", 0], [2008, 160, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"可以了解您的基本情况是什么吗?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"请问您是上班还是做生意呢?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname上班\", \"repeatKeywords\": \"上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件+上学+大学生+高中生+初中生+服务员+农民+学生+种地+搬砖+农村+不是+都不是 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname做生意\", \"repeatKeywords\": \"做生意+创业+开公司 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname不用了\", \"repeatKeywords\": \"不要+不用+用不到+滚+滚蛋+好得很+好的很+不想听+不行+不可以+别说了+别讲+这么烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想说+哎呀+我去+你有毛病+你有猫病+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+挂了+有病+太高+他妈+没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+不知道+坑+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+跟你+有关系+不+烦+管-但是-如果-可是-想说-不过\"}], \"relationName\": \"rule-find-jibenqingkuang\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"jibenqingkuang\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=jibenqingkuang\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jibenqingkuang::1|#visitorname,rule-find-jibenqingkuang,?|100:101:可以了解您的基本情况是什么吗?:base~1:100:请问您是上班还是做生意呢?|#visitorname上班=+上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件+上学+大学生+高中生+初中生+服务员+农民+学生+种地+搬砖+农村+不是+都不是 ~#visitorname做生意=+做生意+创业+开公司 ~#visitorname不用了=+不要+不用+用不到+滚+滚蛋+好得很+好的很+不想听+不行+不可以+别说了+别讲+这么烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想说+哎呀+我去+你有毛病+你有猫病+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+挂了+有病+太高+他妈+没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+不知道+坑+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+跟你+有关系+不+烦+管-但是-如果-可是-想说-不过\r\nprocess=jibenqingkuang=+上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件+上学+大学生+高中生+初中生+服务员+农民+学生+种地+搬砖+农村+不是+都不是 |pivot_httppost=active|\r\nprocess=jibenqingkuang=+做生意+创业+开公司 |pivot_httppost=active|\r\nprocess=jibenqingkuang=+不要+不用+用不到+滚+滚蛋+好得很+好的很+不想听+不行+不可以+别说了+别讲+这么烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想说+哎呀+我去+你有毛病+你有猫病+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+挂了+有病+太高+他妈+没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+不知道+坑+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+跟你+有关系+不+烦+管|pivot_httppost=active|\r\nprocess=jibenqingkuang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=jibenqingkuang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jibenqingkuang|#visitorname,rule-find-jibenqingkuang,?|100:101:可以了解您的基本情况是什么吗?:base~1:100:请问您是上班还是做生意呢?|#visitorname上班=+上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件+上学+大学生+高中生+初中生+服务员+农民+学生+种地+搬砖+农村+不是+都不是 ~#visitorname做生意=+做生意+创业+开公司 ~#visitorname不用了=+不要+不用+用不到+滚+滚蛋+好得很+好的很+不想听+不行+不可以+别说了+别讲+这么烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想说+哎呀+我去+你有毛病+你有猫病+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+挂了+有病+太高+他妈+没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+不知道+坑+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+跟你+有关系+不+烦+管-但是-如果-可是-想说-不过\r\nprocess=jibenqingkuang=+上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件+上学+大学生+高中生+初中生+服务员+农民+学生+种地+搬砖+农村+不是+都不是 |pivot_httppost=active|\r\nprocess=jibenqingkuang=+做生意+创业+开公司 |pivot_httppost=active|\r\nprocess=jibenqingkuang=+不要+不用+用不到+滚+滚蛋+好得很+好的很+不想听+不行+不可以+别说了+别讲+这么烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不想说+哎呀+我去+你有毛病+你有猫病+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+挂了+有病+太高+他妈+没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+不知道+坑+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+跟你+有关系+不+烦+管|pivot_httppost=active|\r\n", 0], [2008, 161, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"您名下的资产中有没有车或房?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"那您名下有房产或者有车吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有房\", \"repeatKeywords\": \"有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname不需要\", \"repeatKeywords\": \"不需要+好得很+好的很+不感兴趣+不用+没兴趣+不想说+这么烦+别打电话+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不考虑+不想告诉+哎呀+我去+你有毛病+你有猫病+不告诉+干嘛+问这+你管我+拒绝+没有关系+有什么关系+没关系+关系+啰嗦+烦死+管+管的+管得+太多+浪费时间+再见+报警\"}], \"relationName\": \"rule-find-zichanchefang\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"zichanchefang\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=zichanchefang\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zichanchefang::1|#visitorname,rule-find-zichanchefang,?|100:101:您名下的资产中有没有车或房?:base~1:100:那您名下有房产或者有车吗?|#visitorname有房=+有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的 ~#visitorname不需要=+不需要+好得很+好的很+不感兴趣+不用+没兴趣+不想说+这么烦+别打电话+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不考虑+不想告诉+哎呀+我去+你有毛病+你有猫病+不告诉+干嘛+问这+你管我+拒绝+没有关系+有什么关系+没关系+关系+啰嗦+烦死+管+管的+管得+太多+浪费时间+再见+报警\r\nprocess=zichanchefang=+有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的 |pivot_httppost=active|\r\nprocess=zichanchefang=+不需要+好得很+好的很+不感兴趣+不用+没兴趣+不想说+这么烦+别打电话+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不考虑+不想告诉+哎呀+我去+你有毛病+你有猫病+不告诉+干嘛+问这+你管我+拒绝+没有关系+有什么关系+没关系+关系+啰嗦+烦死+管+管的+管得+太多+浪费时间+再见+报警|pivot_httppost=active|\r\nprocess=zichanchefang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=zichanchefang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=zichanchefang|#visitorname,rule-find-zichanchefang,?|100:101:您名下的资产中有没有车或房?:base~1:100:那您名下有房产或者有车吗?|#visitorname有房=+有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的 ~#visitorname不需要=+不需要+好得很+好的很+不感兴趣+不用+没兴趣+不想说+这么烦+别打电话+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不考虑+不想告诉+哎呀+我去+你有毛病+你有猫病+不告诉+干嘛+问这+你管我+拒绝+没有关系+有什么关系+没关系+关系+啰嗦+烦死+管+管的+管得+太多+浪费时间+再见+报警\r\nprocess=zichanchefang=+有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的 |pivot_httppost=active|\r\nprocess=zichanchefang=+不需要+好得很+好的很+不感兴趣+不用+没兴趣+不想说+这么烦+别打电话+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不考虑+不想告诉+哎呀+我去+你有毛病+你有猫病+不告诉+干嘛+问这+你管我+拒绝+没有关系+有什么关系+没关系+关系+啰嗦+烦死+管+管的+管得+太多+浪费时间+再见+报警|pivot_httppost=active|\r\n", 0], [2008, 162, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"对于我们的贷款便利您还有疑问吗?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"确实值得您考虑呢?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下-不能 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname[]\", \"repeatKeywords\": \"不要+不用+好得很+好的很+没兴趣+不需要+用不到+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲 \"}], \"relationName\": \"rule-find-daikuanbianli\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daikuanbianli\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=daikuanbianli\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanbianli::1|#visitorname,rule-find-daikuanbianli,?|100:101:对于我们的贷款便利您还有疑问吗?:base~1:100:确实值得您考虑呢?|#visitorname[]=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下-不能 ~#visitorname[]=+不要+不用+好得很+好的很+没兴趣+不需要+用不到+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲 \r\nprocess=daikuanbianli=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下|pivot_httppost=active|\r\nprocess=daikuanbianli=+不要+不用+好得很+好的很+没兴趣+不需要+用不到+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲 |pivot_httppost=active|\r\nprocess=daikuanbianli=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daikuanbianli_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanbianli|#visitorname,rule-find-daikuanbianli,?|100:101:对于我们的贷款便利您还有疑问吗?:base~1:100:确实值得您考虑呢?|#visitorname[]=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下-不能 ~#visitorname[]=+不要+不用+好得很+好的很+没兴趣+不需要+用不到+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲 \r\nprocess=daikuanbianli=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下|pivot_httppost=active|\r\nprocess=daikuanbianli=+不要+不用+好得很+好的很+没兴趣+不需要+用不到+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲 |pivot_httppost=active|\r\n", 0], [2008, 163, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"您可以来我们公司了解嘛?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"具体时间我让他打电话跟您约一下好吗?\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname考虑\", \"repeatKeywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+对+考虑+想一下+什么+计划+好吧+约-不约 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname不考虑\", \"repeatKeywords\": \"不要+不用+没兴趣+好得很+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+好的很+不需要+用不到+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不好+不+行了+拒绝+扯这些+不知道+约什么 \"}], \"relationName\": \"rule-find-liaojie\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"liaojie\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=liaojie\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=liaojie::1|#visitorname,rule-find-liaojie,?|100:101:您可以来我们公司了解嘛?:base~1:100:具体时间我让他打电话跟您约一下好吗?|#visitorname考虑=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+对+考虑+想一下+什么+计划+好吧+约-不约 ~#visitorname不考虑=+不要+不用+没兴趣+好得很+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+好的很+不需要+用不到+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不好+不+行了+拒绝+扯这些+不知道+约什么 \r\nprocess=liaojie=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+对+考虑+想一下+什么+计划+好吧+约|pivot_httppost=active|\r\nprocess=liaojie=+不要+不用+没兴趣+好得很+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+好的很+不需要+用不到+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不好+不+行了+拒绝+扯这些+不知道+约什么 |pivot_httppost=active|\r\nprocess=liaojie=unknown|pivot_httppost=active|\r\n\r\n\r\nname=liaojie_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=liaojie|#visitorname,rule-find-liaojie,?|100:101:您可以来我们公司了解嘛?:base~1:100:具体时间我让他打电话跟您约一下好吗?|#visitorname考虑=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+对+考虑+想一下+什么+计划+好吧+约-不约 ~#visitorname不考虑=+不要+不用+没兴趣+好得很+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+好的很+不需要+用不到+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不好+不+行了+拒绝+扯这些+不知道+约什么 \r\nprocess=liaojie=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+对+考虑+想一下+什么+计划+好吧+约|pivot_httppost=active|\r\nprocess=liaojie=+不要+不用+没兴趣+好得很+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累+好的很+不需要+用不到+滚+滚蛋+哎呀+我去+你有毛病+你有猫病+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+不好+不+行了+拒绝+扯这些+不知道+约什么 |pivot_httppost=active|\r\n", 0], [2008, 164, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"对于我们给您提供的贷款产品还有疑问吗?\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"您看这样好吗\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有兴趣\", \"repeatKeywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+好吧 \"}, {\"macro\": \"\", \"repeatString\": \"#visitorname没兴趣\", \"repeatKeywords\": \"不要+不用+好得很+好的很+没兴趣+不需要+哎呀+我去+你有毛病+你有猫病+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不去+烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\"}], \"relationName\": \"rule-find-daikuanchanpin\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daikuanchanpin\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=daikuanchanpin\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanchanpin::1|#visitorname,rule-find-daikuanchanpin,?|100:101:对于我们给您提供的贷款产品还有疑问吗?:base~1:100:您看这样好吗|#visitorname有兴趣=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+好吧 ~#visitorname没兴趣=+不要+不用+好得很+好的很+没兴趣+不需要+哎呀+我去+你有毛病+你有猫病+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不去+烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\r\nprocess=daikuanchanpin=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+好吧 |pivot_httppost=active|\r\nprocess=daikuanchanpin=+不要+不用+好得很+好的很+没兴趣+不需要+哎呀+我去+你有毛病+你有猫病+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不去+烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累|pivot_httppost=active|\r\nprocess=daikuanchanpin=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daikuanchanpin_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=daikuanchanpin|#visitorname,rule-find-daikuanchanpin,?|100:101:对于我们给您提供的贷款产品还有疑问吗?:base~1:100:您看这样好吗|#visitorname有兴趣=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+好吧 ~#visitorname没兴趣=+不要+不用+好得很+好的很+没兴趣+不需要+哎呀+我去+你有毛病+你有猫病+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不去+烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累\r\nprocess=daikuanchanpin=+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+好吧 |pivot_httppost=active|\r\nprocess=daikuanchanpin=+不要+不用+好得很+好的很+没兴趣+不需要+哎呀+我去+你有毛病+你有猫病+这么烦+听得懂+听的懂+说几遍+二愣子+同行+再说一遍+没听清+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不去+烦+别打电话+挂断+骚扰+抓起来+听不懂+举报+看我像+没有资金需求+没有需求+没有资金+最后一遍+没需要+没有抵押资产+差劲+烦人+累|pivot_httppost=active|\r\n", 0], [2008, 165, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于话题结束您有什么疑问\"}], \"styleList\": [\"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname结束了\", \"repeatKeywords\": \"\"}], \"relationName\": \"rule-find-end\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"end\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=end\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=end::1|#visitorname,rule-find-end,?|1:100:对于话题结束您有什么疑问:base|#visitorname结束了=+\r\nprocess=end=+|pivot_httppost=active|\r\nprocess=end=unknown|pivot_httppost=active|\r\n\r\n\r\nname=end_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=end|#visitorname,rule-find-end,?|1:100:对于话题结束您有什么疑问:base|#visitorname结束了=+\r\nprocess=end=+|pivot_httppost=active|\r\n", 0]], "cdt_name_ls": [[358, "rule0find0xihuan03"], [270, "rule0find0business"], [269, "rule0find0jieshu"], [293, "rule0find0wenyouxi01"], [307, "rule0find0business02"], [279, "rule0find0jieshu01"], [341, "rule0find0huaiyi"], [308, "rule0find0business03"], [391, "a01"], [347, "rule0find0lianxi"], [291, "rile0find0wenxihuan"], [344, "rule0find0zhidao"], [343, "rule0find0huaiyi02"], [397, "rule0find0zijia"], [228, "rule0like"]], "configText": "查无此bot", "botName_yhm": "test", "cate": [14], "configDataset": [[2008, 1556, 0, "{\"nextStepStatus\": \"return\", \"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"对;我们现在真的是利息又低;放款又快;服务又好。了解一下绝对不吃亏的\", \"configId\": 1556, \"categoryId\": 0, \"currentPremiseList\": [{\"keywords\": \"这么快+挺快的+快\", \"actionName\": \"fangkuan11\", \"question\": \"您想了解我们的放款吗?\"}]}", ""], [2008, 1557, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们正常的话是3个工作日就能办下来.如果您资质好资料齐全的话;也是可以当天放款的;您只需要准备好身份证等审核资料;放款了我们会通知您的\", \"currentPremiseList\": [{\"keywords\": \"贷款+放款+速度+多久+快\", \"actionName\": \"fangkuansudu2524\", \"question\": \"对于我们的放款速度您还有什么疑问?\"}]}", ""], [2008, 1558, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"客户的资质不同;资金需求额度的不同 我们所收取的服务费用也是不同的;详细的情况欢迎您来我们公司详谈\", \"currentPremiseList\": [{\"keywords\": \"服务费+费用+收费+中介费+点数+手续费\", \"actionName\": \"feiyong4039\", \"question\": \"对于我们的服务费用您还有什么疑问?\"}]}", ""], [2008, 1559, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们是看具体情况的;如果信用贷款做不了的话;就要做抵押了。建议您来我们公司面谈一下\", \"currentPremiseList\": [{\"keywords\": \"抵押+黑户+征信不好\", \"actionName\": \"moshi2423\", \"question\": \"对于我们的抵押模式您还有什么疑问?\"}]}", ""], [2008, 1560, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的;自己开车的话您直接导航我们公司名称就可以到我们这里的;到了后我去接您。\", \"currentPremiseList\": [{\"keywords\": \"怎么走+开车+怎么去+交通+路线\", \"actionName\": \"daohang4140\", \"question\": \"对于来我们公司的导航您还有什么疑问?\"}]}", ""], [2008, 1561, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"公司地址稍后我会通过短信发给您。\", \"currentPremiseList\": [{\"keywords\": \"位置+地址+公司地址+公司在哪\", \"actionName\": \"dizhi4241\", \"question\": \"对于我们公司的地址您还有什么疑问?\"}]}", ""], [2008, 1562, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们可以加一下微信;你可先把资料传过来;我们先审核;确定能做的;就通知你过来;你看这样可以么!微信号码一会我发你短信上!\", \"currentPremiseList\": [{\"keywords\": \"太远+有点远\", \"actionName\": \"lutu4342\", \"question\": \"对于路途远的问题您还有什么疑问?\"}]}", ""], [2008, 1563, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"哦;那我先发个短信给你;等您方便的时候可以联系我喔\", \"currentPremiseList\": [{\"keywords\": \"信息+短信\", \"actionName\": \"yuningoutong1918\", \"question\": \"很高兴与您沟通!\"}]}", ""], [2008, 1564, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们是金融公司;专门做信用贷款和抵押贷款的\", \"currentPremiseList\": [{\"keywords\": \"公司+单位+什么公司+合法\", \"actionName\": \"gongsiyewu4443\", \"question\": \"对于我们公司的业务您还有什么疑问?\"}]}", ""], [2008, 1565, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们有各种渠道的多元化产品;可以符合各种客户;相信我们是有办法可以给您解决资金问题的。\", \"currentPremiseList\": [{\"keywords\": \"征信+要求+信用\", \"actionName\": \"zhengxin4544\", \"question\": \"对于我们贷款公司的征信您还有什么疑问?\"}]}", ""], [2008, 1566, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们会有专业人士帮您评估的 不用担心哦\", \"currentPremiseList\": [{\"keywords\": \"年龄+太大+不够+太小+条件\", \"actionName\": \"fuhenianling4645\", \"question\": \"对于符合年龄的问题您还有什么疑问?\"}]}", ""], [2008, 1567, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"信用贷款是不用资产进行抵押的;具体的您来公司;我们帮您匹配一下好吧\", \"currentPremiseList\": [{\"keywords\": \"信用贷款+信贷\", \"actionName\": \"xindai1716\", \"question\": \"对于信贷需要抵押的问题您还有什么疑问?\"}]}", ""], [2008, 1568, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"一般只要位置不太偏都可以的 具体还是要跟您当面商谈哦\", \"currentPremiseList\": [{\"keywords\": \"本地没房\", \"actionName\": \"fangziweizhi3029\", \"question\": \"对于房子位置偏的问题您还有什么疑问?\"}]}", ""], [2008, 1569, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这样吧;我稍后给您发个短信;上面有我的个人手机号码;您看可以吧?\", \"currentPremiseList\": [{\"keywords\": \"电话+联系方式+短信+微信+QQ+联系电话\", \"actionName\": \"lianxifangshi4847\", \"question\": \"对于我的联系方式您还有什么疑问?\"}]}", ""], [2008, 1570, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们是代理各大银行机构的贷款产品的;正规安全;您可以放心。\", \"currentPremiseList\": [{\"keywords\": \"保障+高利贷+骗人+诈骗+骗子+诈骗+哄人+正规+合法+有营业执照+空壳公司\", \"actionName\": \"zhengguixing77\", \"question\": \"对于您对我们机构的正规性的质疑还有什么疑问?\"}]}", ""], [2008, 1571, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们跟中国银行、工商银行、建行、农商行等各大银行都有合作的;您可以了解下\", \"currentPremiseList\": [{\"keywords\": \"银行+合作银行+哪家银行+关联银行\", \"actionName\": \"hezuoyinghang88\", \"question\": \"对于我们的合作银行您还有什么疑问吗?\"}]}", ""], [2008, 1572, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我姓张;您叫我小张就可以了\", \"currentPremiseList\": [{\"keywords\": \"叫什么+姓什么+称呼+贵姓\", \"actionName\": \"xingming66\", \"question\": \"您想知道我的姓名吗?\"}]}", ""], [2008, 1573, 0, "{\"nextStepText\": \"您看可以吗?\", \"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"不好意思;我这边也是新来的;有些问题还不是很了解;具体的还是让我们专业的客户经理给您回电在做一个详细的介绍;您看可以吗?\", \"currentPremiseList\": [{\"keywords\": \"不专业+知不知道+傻+蠢+笨+业余\", \"actionName\": \"kehujingli3332\", \"question\": \"给您转专业的客户经理可以吗?\"}]}", ""], [2008, 1574, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这个我们都是电脑随机拨号的。如果不巧打扰到您向您说声抱歉\", \"currentPremiseList\": [{\"keywords\": \"怎么知道+怎么有+哪里来的+怎么得到的+谁给的+谁告诉你的+谁说的+拿到+如何拿到+怎么样拿到+怎样+咋拿到+咋会有+怎么+怎么样\", \"actionName\": \"haoma1413\", \"question\": \"对于我们如何获取您号码的还有什么疑问?\"}]}", ""], [2008, 1575, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这个不重要哦!重要的是我们把最新的贷款消息带给了您;如果您以后有资金需要;我们公司也可以成为您备选的解决方案之一不是很好吗?\", \"currentPremiseList\": [{\"keywords\": \"机器人+假人+人工智能+AI\", \"actionName\": \"kefushengfen44\", \"question\": \"对于客服身份您还有什么疑问吗?\"}]}", ""], [2008, 1576, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这个可以根据您的时间;后续我们贷款专员联系您的时候您跟他说下您大概什么时候有空就好了;可以吧?\", \"currentPremiseList\": [{\"keywords\": \"时间\", \"actionName\": \"lianxishijian4746\", \"question\": \"对于联系时间您还有什么疑问?\"}]}", ""], [2008, 1577, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"谢谢;我这个人比较容易害羞的。\", \"currentPremiseList\": [{\"keywords\": \"声音+挺好听+请吃饭\", \"actionName\": \"kuazan1211\", \"question\": \"感谢您的夸赞\"}]}", ""], [2008, 1579, 0, "{\"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那您名下有房产或者有车吗?\", \"currentPremiseList\": [{\"keywords\": \"要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣\", \"actionName\": \"yongqian3534\", \"question\": \"可以再考虑了解下吗?\"}]}", ""], [2008, 1580, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那打扰您了; 祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+不考虑+听不懂+哥屋恩滚+烦+真的烦+不可能\", \"actionName\": \"yongqian3534\", \"question\": \"可以再考虑了解下吗?\"}]}", ""], [2008, 1581, 0, "{\"nextStepList\": [{\"nextStep\": \"liaojie\", \"except\": []}], \"doPost\": false, \"nextStep\": \"liaojie\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;\", \"currentPremiseList\": [{\"keywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下\", \"actionName\": \"daikuanbianli\", \"question\": \"对于我们的贷款便利您还有疑问吗?\"}]}", ""], [2008, 1582, 0, "{\"nextStepText\": \".\", \"nextStepList\": [{\"nextStep\": \"zanting\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zanting\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的\", \"currentPremiseList\": [{\"keywords\": \"等等+等一下+等一会+稍等+等下+等会\", \"actionName\": \"fangbian\", \"question\": \"您现在方便电话沟通吗?\"}]}", ""], [2008, 1583, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那打扰您了; 祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲\", \"actionName\": \"daikuanbianli\", \"question\": \"对于我们的贷款便利您还有疑问吗?\"}]}", ""], [2008, 1584, 0, "{\"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"\", \"currentPremiseList\": [{\"keywords\": \"上班+工作+打工+创业+老板+坐办公室+科技+IT+计算机+销售+医生+老师+教师+司机+律师+工程师+设计+产品+运营+市场+研发+技术+客服+金融+硬件+上学+大学生+高中生+初中生+服务员+农民+学生+种地+搬砖+农村+不是+都不是 \", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}]}", ""], [2008, 1585, 0, "{\"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"\", \"currentPremiseList\": [{\"keywords\": \"做生意+创业+开公司 \", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}]}", ""], [2008, 1586, 0, "{\"nextStepList\": [{\"nextStep\": \"yongqian3534\", \"except\": []}], \"doPost\": false, \"nextStep\": \"yongqian3534\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"谁都有急用钱的时候;提前了解一下这方面的信息也是好的嘛!\", \"currentPremiseList\": [{\"keywords\": \"他妈没兴趣+管得着+管的着+客服+不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+有病+太高+他妈+没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+不知道+坑+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+跟你+有关系+不+烦+管\", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}]}", ""], [2008, 1587, 0, "{\"nextStepList\": [{\"nextStep\": \"daikuanbianli\", \"except\": []}], \"doPost\": false, \"nextStep\": \"daikuanbianli\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们这边的贷款利息低;下款也快;确实值得您考虑呢;\", \"currentPremiseList\": [{\"keywords\": \"不需要+不感兴趣+不用+没兴趣+不想说+不考虑+不想告诉+干嘛+问这+你管我+拒绝+啰嗦+烦死+管+管的+太多+不告诉+管得+浪费时间+再见\", \"actionName\": \"zichanchefang\", \"question\": \"您名下的资产中有没有车或房?\"}]}", ""], [2008, 1588, 0, "{\"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?\", \"currentPremiseList\": [{\"keywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+怎么弄+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+缺钱+缺资金+缺+不够+不够用+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开-挂了 \", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}]}", ""], [2008, 1589, 0, "{\"nextStepText\": \"您需要了解目前贷款的行情吗?\", \"nextStepList\": [{\"nextStep\": \"hangqing\", \"except\": []}], \"doPost\": false, \"nextStep\": \"hangqing\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+走开+扯犊子+滚开+累+不累+很多钱+钱很多+钱多的很+白送+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+做事+有事+正在+钱多+土豪+富人+富豪+大亨+巨鳄+家族产业+我爸是李刚+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得+没有兴趣+没有需要+没有需求-但是-不过-可是-虽然-想说-吗-不开-算不算-怎么弄\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}]}", ""], [2008, 1590, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"是+好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+对+考虑+想一下+什么+计划+好吧+约\", \"actionName\": \"liaojie\", \"question\": \"您可以来我们公司了解嘛?\"}]}", ""], [2008, 1591, 0, "{\"nextStepText\": \"对于我们给您提供的贷款产品还有疑问吗?\", \"nextStepList\": [{\"nextStep\": \"daikuanchanpin\", \"except\": []}], \"doPost\": false, \"nextStep\": \"daikuanchanpin\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"没关系的;给您电话主要是给您提供市场上利息最低的贷款产品;这样如果您以后有需要的话;也可以随时沟通\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦+行了+不+不好+拒绝+不知道+扯这些\", \"actionName\": \"liaojie\", \"question\": \"您可以来我们公司了解嘛?\"}]}", ""], [2008, 1592, 0, "{\"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?\", \"currentPremiseList\": [{\"keywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+有道理+可以考虑+是的+挺划算的+对+真划算+聊聊+开始\", \"actionName\": \"yewuzhence\", \"question\": \"对于我们贷款业务政策您满意吗?\"}]}", ""], [2008, 1593, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那打扰您了; 祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+不太需要+不喜欢\", \"actionName\": \"yewuzhence\", \"question\": \"对于我们贷款业务政策您满意吗?\"}]}", ""], [2008, 1594, 0, "{\"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的,为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}]}", ""], [2008, 1595, 0, "{\"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"您看这样行吗?为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"yewuzhence\", \"question\": \"对于我们贷款业务政策您满意吗?\"}]}", ""], [2008, 1596, 0, "{\"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的,那您名下有房产或者有车吗?\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}]}", ""], [2008, 1597, 0, "{\"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的,那您名下有房产或者有车吗?\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"yongqian3534\", \"question\": \"可以再考虑了解下吗?\"}]}", ""], [2008, 1598, 0, "{\"nextStepList\": [{\"nextStep\": \"liaojie\", \"except\": []}], \"doPost\": false, \"nextStep\": \"liaojie\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的,明白。要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"zichanchefang\", \"question\": \"您名下的资产中有没有车或房?\"}]}", ""], [2008, 1599, 0, "{\"nextStepList\": [{\"nextStep\": \"liaojie\", \"except\": []}], \"doPost\": false, \"nextStep\": \"liaojie\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的,明白。要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"daikuanbianli\", \"question\": \"对于我们的贷款便利您还有疑问吗?\"}]}", ""], [2008, 1600, 0, "{\"nextStepList\": [{\"nextStep\": \"empty5150\", \"except\": []}], \"doPost\": false, \"nextStep\": \"empty5150\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"行,好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"unknown-不约\", \"actionName\": \"liaojie\", \"question\": \"您可以来我们公司了解嘛?\"}]}", ""], [2008, 1601, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着\", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那打扰您了; 祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不用+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷\", \"actionName\": \"yongqian3534\", \"question\": \"可以再考虑了解下吗?\"}]}", ""], [2008, 1602, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不考虑+不约+算了+麻烦+不能+别烦+滚开+傻逼+远点+烦\", \"actionName\": \"liaojie\", \"question\": \"您可以来我们公司了解嘛?\"}]}", ""], [2008, 1603, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的\", \"currentPremiseList\": [{\"keywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"利息+高吗+多高+多少+怎样+怎么算+利率+年息+月息+多少厘+几厘+厘\", \"actionName\": \"lixi00\", \"question\": \"对于我们的利息您还有什么疑问?\"}]}", ""], [2008, 1604, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这个就要看您的个人资质情况了;每个人情况不同;具体的要您提供资料审核后才能确定哦\", \"currentPremiseList\": [{\"keywords\": \"额度+贷多少+放款金额+放款多少+最多+多少款+多少\", \"actionName\": \"fangkuanedu\", \"question\": \"对于我们的放款额度您还有什么疑问?\"}]}", ""], [2008, 1605, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的\", \"currentPremiseList\": [{\"keywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+好吧+介绍+介绍一下\", \"actionName\": \"daikuanbianli\", \"question\": \"对于我们的贷款便利您还有疑问吗?\"}]}", ""], [2008, 1606, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这个就要看您的个人资质情况了;每个人情况不同;具体的要您提供资料审核后才能确定哦\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+钱\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"额度+贷多少+放款金额+放款多少+最多+多少款\", \"actionName\": \"fangkuanedu\", \"question\": \"对于我们的放款额度您还有什么疑问?\"}]}", ""], [2008, 1607, 0, "{\"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?\", \"currentPremiseList\": [{\"keywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的\", \"actionName\": \"zichanchefang\", \"question\": \"您名下的资产中有没有车或房?\"}]}", ""], [2008, 1608, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+不能+钱+不太喜欢+不太需要-车\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"不要+不用+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得着+管的着+不贷+问这么多\", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}]}", ""], [2008, 1609, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+没钱+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没计划+算了吧+别说了+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+没有+只剩+不能+钱+不太喜欢+不太需要-车\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"利息+高吗+多高+多少+怎样+怎么算\", \"actionName\": \"lixi00\", \"question\": \"对于我们的利息您还有什么疑问?\"}]}", ""], [2008, 1610, 0, "{\"nextStepText\": \"您可以来我们公司了解嘛?\", \"nextStepList\": [{\"nextStep\": \"liaojie\", \"except\": []}], \"doPost\": false, \"nextStep\": \"liaojie\", \"historyPremiseList\": [{\"keywords\": \"要+用+需要+感兴趣+可以+好的+没问题+行+可以考虑+有兴趣+对\", \"actionName\": \"yongqian3534\", \"question\": \"可以再考虑了解下吗?\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?\", \"currentPremiseList\": [{\"keywords\": \"有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的\", \"actionName\": \"zichanchefang\", \"question\": \"您名下的资产中有没有车或房?\"}]}", ""], [2008, 1611, 0, "{\"nextStepText\": \"您可以来我们公司了解嘛?\", \"nextStepList\": [{\"nextStep\": \"liaojie\", \"except\": []}], \"doPost\": false, \"nextStep\": \"liaojie\", \"historyPremiseList\": [{\"keywords\": \"unknown+老师+教师+司机+律师+设计+运营+市场+研发+技术+客服+金融+上学+大学生+高中生+初中生+服务员+农民+学生+搬砖+上班+打工+IT+科技+工作+创业+老板+坐办公室+计算机+销售+医生+工程师+产品+硬件+种地+农村+做生意+开公司 \", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"要不这样吧;您来我们公司 我们会有专业的客户经理给您做一下详细借款匹配计划;具体时间我让他打电话跟您约一下好吗?\", \"currentPremiseList\": [{\"keywords\": \"有房+有车+没房+没车+本地没房+本地没车+本地没有房子+没有房子+没有车子+本地没有车子+没有+都没有+没钱买+很多+自行车+汽车+吉普+越野+货车+有+有的\", \"actionName\": \"zichanchefang\", \"question\": \"您名下的资产中有没有车或房?\"}]}", ""], [2008, 1612, 0, "{\"nextStepText\": \"可以了解您的基本情况是什么吗?\", \"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;请问您是上班还是做生意呢?\", \"currentPremiseList\": [{\"keywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试+缺乏+资金周转-没-不会-条件-开-挂了\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}, {\"keywords\": \"没钱+够了+我有钱+我不缺钱+借+贷+钱+不太喜欢+不要+不用+没兴趣+用不到+滚+滚蛋+不想听+不行+不可以+别说了+别讲+不是+不好+没意思+没打算+没准备+没想过+想法+不想+不划算+有多专业+太贵了+贷不起+不需要+不考虑+不+不想+不感兴趣+不想了解+下次+没+不准备+没计划+算了吧+别说了+够+不好意思+有钱+不缺钱+开车+上班+开车+睡觉+吃饭+挺忙+很忙+挂了+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+有病+小逼崽子+孙子+挂+忙+做事+有事+正在+工作+欠收拾+别嚷嚷+不要钱+借毛线+才不借+没有+只剩+不能+不会+资金周转+不太需要+我觉得-没-但是-不过-可是-虽然-想说-吗-不开\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}]}", ""], [2008, 1613, 0, "{\"nextStepText\": \"您需要了解目前贷款的行情吗?\", \"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"哦;是这样子的;您看现在贷款利率也蛮低的;人民币贬值这么严重;能贷到低利息的贷款其实就是赚到了啊;所以多了解下市场行情和信息总是好的;您觉得呢?\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+用不到+滚蛋+不想听+不行+不可以+别讲+不想说+问这+干嘛+不想告诉你+关你什么事+查户口+有什么关系+不该问+傻逼+保密+不说+隐私+无可奉告+别问了+跳过+你哪里+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没有+没+不准备+没打算+没计划+没想过+需求+算了吧+够了+不好意思+我有钱+我不缺钱+走开+扯犊子+滚开+没时间+睡觉+没空+没心情+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+管得+管的+不贷+问这么多+管+别说了+滚\", \"actionName\": \"jibenqingkuang\", \"question\": \"可以了解您的基本情况是什么吗?\"}, {\"keywords\": \"你哪里+哪里+是谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+你是哪个+你是那个+干嘛+公司+有什么关系+什么事+事+什么+干啥+啥事-不会-条件\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}]}", ""], [2008, 1614, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这个因为我也是刚来的,对于业务不是非常熟悉,稍后让客户经理您详聊吧!\", \"currentPremiseList\": [{\"keywords\": \"+再见+unknown\", \"actionName\": \"tiaozhuan\", \"question\": \"。\"}]}", ""], [2008, 1615, 0, "{\"nextStepText\": \"您名下的资产中有没有车或房?\", \"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"有兴趣+可以+需要+用+喜欢+要+有+说吧+恩+行+继续讲+想+你说+讲吧+说+说说看+讲一下+继续+讲下去+听你讲+说说+多少厘+听你+不错+很好+讲+聊+欣赏+聊聊+开始+请说+资金周转+缺乏+介绍+听听+有的+好吧+听下+嗯+有需求+考虑+试试-不会-条件-开\", \"actionName\": \"talk\", \"question\": \"贷款项目您有兴趣了解一下吗?\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那您名下有房产或者车子吗?\", \"currentPremiseList\": [{\"keywords\": \"无业+没工作+没收入\", \"actionName\": \"gongzuobaozheng4948\", \"question\": \"对于你有无工作作保证您还有什么疑问吗?\"}]}", ""], [2008, 1616, 0, "{\"nextStepText\": \"您名下的资产中有没有车或房?\", \"nextStepList\": [{\"nextStep\": \"zichanchefang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"zichanchefang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"那您名下有房产或者车子吗?\", \"currentPremiseList\": [{\"keywords\": \"无业+没工作+没收入\", \"actionName\": \"gongzuobaozheng4948\", \"question\": \"对于你有无工作作保证您还有什么疑问吗?\"}]}", ""], [2008, 1617, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"我们没有任何抵押和担保的信用贷款,风险很高。而且我们手续简单快捷,签完合同1-3个工作日放款!\", \"currentPremiseList\": [{\"keywords\": \"高+贵+太高+太贵+不低-算不算-吗\", \"actionName\": \"lixi_high\", \"question\": \"对于利息高有什么疑问?\"}]}", ""], [2008, 1618, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"是的呢,我们的利息相比市面产品还是相当有性价比的。\", \"currentPremiseList\": [{\"keywords\": \"便宜+不错+还行+划算\", \"actionName\": \"lixi_high\", \"question\": \"对于利息高有什么疑问?\"}]}", ""], [2008, 1619, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"这边需要您的身份证以及您的工作或劳动合同复印件,稍后我也会将详细材料清单短信发送到您的手机上。\", \"currentPremiseList\": [{\"keywords\": \"材料+资质+条件\", \"actionName\": \"lixi_high\", \"question\": \"对于利息高有什么疑问?\"}]}", ""], [2008, 1620, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"是这样的。\", \"currentPremiseList\": [{\"keywords\": \"继续+好吧+讲+说+回来了+什么事\", \"actionName\": \"zanting\", \"question\": \".\"}]}", ""], [2008, 1621, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"qiwu-zzh.chewrobot.com/api/form/loanrobot\", \"reply\": \"好的;那等您方便的时候我们再联系;祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"不说了+再见+下次聊+忙\", \"actionName\": \"zanting\", \"question\": \".\"}]}", ""], [2008, 1622, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"好的;那等您方便的时候我们再联系;祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"在忙+没空+开车+上班+开会+没时间+在电梯+不方便+睡觉+吃饭+很忙+挂了\", \"actionName\": \"baoqian\", \"question\": \"很抱歉打扰您?\"}]}", ""], [2008, 1623, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"是这样的;我们这边是专业办理银行信用贷款和抵押贷款的;月息在6厘左右也就是说您如果贷款1万;一个月利息只有60元。多划算啊;您说是吧?\", \"currentPremiseList\": [{\"keywords\": \"你是谁+你是哪个+你是那个+你哪里+unknown+哪里+是谁+哪位+你好+您好+干什么+做什么+有事+是谁+让我借钱+哪个+再说一遍+不知道+说什么+哪来的+人话+哪儿来+哪来+哪里来+哪儿+弄啥子+那个+哪家+啥单位+觉得+干嘛+有什么关系+什么事+事+什么+为什么+频繁+干啥+啥事-想说-烦死-条件-说说-说-吧-公司 \", \"actionName\": \"laifangmudi\", \"question\": \"对于来访目的您有什么疑问吗\"}]}", ""], [2008, 1624, 0, "{\"nextStepText\": \"可以了解您的基本情况是什么吗?\", \"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;\", \"currentPremiseList\": [{\"keywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+介绍+讲+产品+好吧+行吧+什么事+具体+详细+可以的+有点意思+有点兴趣+那好吧+你说吧+了解-不 \", \"actionName\": \"hangqing\", \"question\": \"您需要了解目前贷款的行情吗?\"}]}", ""], [2008, 1625, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"那打扰您了; 祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"不要+不用+没兴趣+不需要+用不到+滚+滚蛋+不想听+不行+不可以+别讲+我不用+不感兴趣+没有+我不需要+不好+不想了解+没有想过+不是+不觉得+一点都不好+一点也不低+没有赚到+不是好的+你哪里+上班+吃饭+开会+哪里+谁+哪位+你好+您好+干什么+做什么+有事吗+你是谁+干嘛的+这么高+高+他妈谁+老子+有事+太高+他妈没兴趣+不需要+不想+不感兴趣+不想了解+没+不准备+没打算+没计划+没想过+需求+算了吧+别说了+开车+够了+不好意思+有钱+不缺钱+走开+扯犊子+滚开+滚+没时间+睡觉+没空+没心情+差劲+烦死+讨厌+骂人+王八犊子+王八羔子+小逼崽子+孙子+欠收拾+别嚷嚷+不要钱+借毛线+才不借+借+贷+什么+不太喜欢+不喜欢+不怎么喜欢+没需要-条件 \", \"actionName\": \"hangqing\", \"question\": \"您需要了解目前贷款的行情吗?\"}]}", ""], [2008, 1627, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"好的+可以+有兴趣+有需要+想要+要+嗯+恩+好+行+说吧+能成+继续+讲吧+你说+你讲+然后+感兴趣+是+对+考虑,想一下+好吧 \", \"actionName\": \"daikuanchanpin\", \"question\": \"对于我们给您提供的贷款产品还有疑问吗?\"}]}", ""], [2008, 1628, 0, "{\"nextStepList\": [{\"nextStep\": \" \", \"except\": []}], \"doPost\": false, \"nextStep\": \"\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"行,好的;感谢您的接听; 那其它问题后续就由我们的客户经理跟您详聊;祝您生活愉快;再见!\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"daikuanchanpin\", \"question\": \"对于我们给您提供的贷款产品还有疑问吗?\"}]}", ""], [2008, 1629, 0, "{\"nextStepText\": \"可以了解您的基本情况是什么吗?\", \"nextStepList\": [{\"nextStep\": \"jibenqingkuang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"jibenqingkuang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"您看这样行吗?为了给您提供最适合的贷款方案;那我简单了解下您的基本情况吧;\", \"currentPremiseList\": [{\"keywords\": \"unknown\", \"actionName\": \"hangqing\", \"question\": \"您需要了解目前贷款的行情吗?\"}]}", ""], [2008, 1630, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"这个也没关系的,还可以根据您的资产状况进行评估。\", \"currentPremiseList\": [{\"keywords\": \"无业+没工作+没收入+没有固定+没有工作+无业游民+unknown\", \"actionName\": \"gongzuobaozheng4948\", \"question\": \"对于你有无工作作保证您还有什么疑问吗?\"}]}", ""], [2008, 1631, 0, "{\"nextStepText\": \"。\", \"nextStepList\": [{\"nextStep\": \"tiaozhuan\", \"except\": []}], \"doPost\": false, \"nextStep\": \"tiaozhuan\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"每个贷款产品的利息和要求都不一样的;利息一般都是在6厘左右; 具体利息还是要根据您个人资质来确定的\", \"currentPremiseList\": [{\"keywords\": \"利息+利率+年息+月息+多少厘+几厘+厘+算不算+算高吗+高吗+unknown\", \"actionName\": \"lixi00\", \"question\": \"对于我们的利息您还有什么疑问?\"}]}", ""]], "botId": "2008", "categoryDataset": []} \ No newline at end of file diff --git a/GenerateAction/tmp/2012-.backup b/GenerateAction/tmp/2012-.backup new file mode 100644 index 0000000..49c7f23 --- /dev/null +++ b/GenerateAction/tmp/2012-.backup @@ -0,0 +1 @@ +{"userName": "8812422109", "conditionDataset": [[2012, 388, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于房子有几手的您还有什么疑问?\"}], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#vistorname问有经过几手的房\", \"repeatKeywords\": \"一手+二手+三手+几手\"}], \"relationName\": \"rule-find-shou\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"jingshoufang\", \"relationTail\": \"?\", \"active\": true, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=jingshoufang\r\nstatus=active\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jingshoufang::1|#visitorname,rule-find-shou,?|1:100:对于房子有几手的您还有什么疑问?:base|#vistorname问有经过几手的房=+一手+二手+三手+几手\r\nprocess=jingshoufang=+一手+二手+三手+几手|pivot_httppost=active|\r\nprocess=jingshoufang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=jingshoufang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jingshoufang|#visitorname,rule-find-shou,?|1:100:对于房子有几手的您还有什么疑问?:base|#vistorname问有经过几手的房=+一手+二手+三手+几手\r\nprocess=jingshoufang=+一手+二手+三手+几手|pivot_httppost=active|\r\n", 0], [2012, 389, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于购房福利您还有什么疑问?\"}], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"有没有福利?\", \"repeatKeywords\": \"福利+送+礼物+给\"}], \"relationName\": \"rule-find-fuli\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fuli\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=fuli\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fuli::1|#visitorname,rule-find-fuli,?|1:100:对于购房福利您还有什么疑问?:base|有没有福利?=+福利+送+礼物+给\r\nprocess=fuli=+福利+送+礼物+给|pivot_httppost=active|\r\nprocess=fuli=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fuli_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=fuli|#visitorname,rule-find-fuli,?|1:100:对于购房福利您还有什么疑问?:base|有没有福利?=+福利+送+礼物+给\r\nprocess=fuli=+福利+送+礼物+给|pivot_httppost=active|\r\n", 0], [2012, 390, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的来访影响还有什么疑问?\"}], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname厌烦来访\", \"repeatKeywords\": \"烦+老子+滚+不想+讨厌+找骂\"}], \"relationName\": \"rule-find-zanghua\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"laifang\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=laifang\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=laifang::1|#visitorname,rule-find-zanghua,?|1:100:对于我们的来访影响还有什么疑问?:base|#visitorname厌烦来访=+烦+老子+滚+不想+讨厌+找骂\r\nprocess=laifang=+烦+老子+滚+不想+讨厌+找骂|pivot_httppost=active|\r\nprocess=laifang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=laifang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=laifang|#visitorname,rule-find-zanghua,?|1:100:对于我们的来访影响还有什么疑问?:base|#visitorname厌烦来访=+烦+老子+滚+不想+讨厌+找骂\r\nprocess=laifang=+烦+老子+滚+不想+讨厌+找骂|pivot_httppost=active|\r\n", 0]], "cdt_name_ls": [[358, "rule0find0xihuan03"], [270, "rule0find0business"], [269, "rule0find0jieshu"], [293, "rule0find0wenyouxi01"], [307, "rule0find0business02"], [279, "rule0find0jieshu01"], [341, "rule0find0huaiyi"], [308, "rule0find0business03"], [391, "a01"], [347, "rule0find0lianxi"], [291, "rile0find0wenxihuan"], [344, "rule0find0zhidao"], [343, "rule0find0huaiyi02"], [397, "rule0find0zijia"], [228, "rule0like"]], "configText": "查无此bot", "botName_yhm": "test", "cate": [14], "configDataset": [[2012, 2184, 0, "{\"nextStepStatus\": \"return\", \"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStepList\": [{\"nextStep\": \"fuli\", \"except\": []}], \"doPost\": false, \"nextStep\": \"fuli\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"dafvd\", \"currentPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}]}", ""], [2012, 2185, 0, "{\"nextStepStatus\": \"return\", \"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStepList\": [{\"nextStep\": \"laifang\", \"except\": []}], \"doPost\": false, \"nextStep\": \"laifang\", \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"savvfdv fv\", \"currentPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}]}", ""]], "botId": "2012", "categoryDataset": [[2012, 97, 0, "默认", "avaliable"]]} \ No newline at end of file diff --git a/GenerateAction/tmp/2210-.backup b/GenerateAction/tmp/2210-.backup new file mode 100644 index 0000000..92c85ef --- /dev/null +++ b/GenerateAction/tmp/2210-.backup @@ -0,0 +1 @@ +{"userName": "2108695860", "conditionDataset": [[2210, 391, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于房子有几手的您还有什么疑问?\"}], \"styleList\": [\"interrupt\", \"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#vistorname问有经过几手的房\", \"repeatKeywords\": \"一手+二手+三手+几手\"}], \"relationName\": \"rule-find-shou\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"jingshoufang\", \"relationHead\": \"#visitorname\", \"active\": true, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=jingshoufang\r\nstatus=active\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jingshoufang::1|#visitorname,rule-find-shou,?|1:100:对于房子有几手的您还有什么疑问?:base|#vistorname问有经过几手的房=+一手+二手+三手+几手\r\nprocess=jingshoufang=+一手+二手+三手+几手|pivot_httppost=active|\r\nprocess=jingshoufang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=jingshoufang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jingshoufang|#visitorname,rule-find-shou,?|1:100:对于房子有几手的您还有什么疑问?:base|#vistorname问有经过几手的房=+一手+二手+三手+几手\r\nprocess=jingshoufang=+一手+二手+三手+几手|pivot_httppost=active|\r\n", 1], [2210, 392, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于购房福利您还有什么疑问?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"有没有福利?\", \"repeatKeywords\": \"福利+送+礼物+给\"}], \"relationName\": \"rule-find-fuli\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fuli\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=fuli\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=fuli::1|#visitorname,rule-find-fuli,?|1:100:对于购房福利您还有什么疑问?:base|有没有福利?=+福利+送+礼物+给\r\nprocess=fuli=+福利+送+礼物+给|pivot_httppost=active|\r\nprocess=fuli=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fuli_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=fuli|#visitorname,rule-find-fuli,?|1:100:对于购房福利您还有什么疑问?:base|有没有福利?=+福利+送+礼物+给\r\nprocess=fuli=+福利+送+礼物+给|pivot_httppost=active|\r\n", 0], [2210, 393, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的来访影响还有什么疑问?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname厌烦来访\", \"repeatKeywords\": \"烦+老子+滚+不想+讨厌+找骂\"}], \"relationName\": \"rule-find-zanghua\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"laifang\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=laifang\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=laifang::1|#visitorname,rule-find-zanghua,?|1:100:对于我们的来访影响还有什么疑问?:base|#visitorname厌烦来访=+烦+老子+滚+不想+讨厌+找骂\r\nprocess=laifang=+烦+老子+滚+不想+讨厌+找骂|pivot_httppost=active|\r\nprocess=laifang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=laifang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=laifang|#visitorname,rule-find-zanghua,?|1:100:对于我们的来访影响还有什么疑问?:base|#visitorname厌烦来访=+烦+老子+滚+不想+讨厌+找骂\r\nprocess=laifang=+烦+老子+滚+不想+讨厌+找骂|pivot_httppost=active|\r\n", 0], [2210, 394, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于买多套房您还有什么疑问吗?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname问买多层的好处\", \"repeatKeywords\": \"多层+多套\"}], \"relationName\": \"rule-find-duocenghaochu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"duocenghaochu\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=duocenghaochu\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=duocenghaochu::1|#visitorname,rule-find-duocenghaochu,?|1:100:对于买多套房您还有什么疑问吗?:base|#visitorname问买多层的好处=+多层+多套\r\nprocess=duocenghaochu=+多层+多套|pivot_httppost=active|\r\nprocess=duocenghaochu=unknown|pivot_httppost=active|\r\n\r\n\r\nname=duocenghaochu_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=duocenghaochu|#visitorname,rule-find-duocenghaochu,?|1:100:对于买多套房您还有什么疑问吗?:base|#visitorname问买多层的好处=+多层+多套\r\nprocess=duocenghaochu=+多层+多套|pivot_httppost=active|\r\n", 0], [2210, 395, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于贷款政策您还有什么疑问?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname问购买贷款\", \"repeatKeywords\": \"贷款-不贷款\"}], \"relationName\": \"rule-find-daikuan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daikuan\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=daikuan\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=daikuan::1|#visitorname,rule-find-daikuan,?|1:100:对于贷款政策您还有什么疑问?:base|#visitorname问购买贷款=+贷款-不贷款\r\nprocess=daikuan=+贷款|pivot_httppost=active|\r\nprocess=daikuan=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daikuan_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=daikuan|#visitorname,rule-find-daikuan,?|1:100:对于贷款政策您还有什么疑问?:base|#visitorname问购买贷款=+贷款-不贷款\r\nprocess=daikuan=+贷款|pivot_httppost=active|\r\n", 0]], "cdt_name_ls": [], "configText": " |jingshoufang=+一手+二手+三手+几手|match,newNext|=>|这是第一|nextStep=fuli:known,laifang:known,laifang:known,duocenghaochu:known,fuli:active,laifang:active,duocenghaochu:active,daikuan:active|status=sleeping|configId=2189\n |fuli=+福利+送+礼物+给|match,newNext|=>|这是第二.|nextStep=jingshoufang:known,laifang:known,laifang:known,duocenghaochu:known,jingshoufang:active,laifang:active,duocenghaochu:active,daikuan:active|status=sleeping|configId=2190\n |laifang=+烦+老子+滚+不想+讨厌+找骂|match,newNext|=>|这是第三.|nextStep=jingshoufang:known,fuli:known,duocenghaochu:known,duocenghaochu:known,jingshoufang:active,fuli:active,duocenghaochu:active,daikuan:active|status=sleeping|configId=2191\n |duocenghaochu=+多层+多套|match,newNext|=>|这是第四.|nextStep=jingshoufang:known,fuli:known,daikuan:known,laifang:known,jingshoufang:active,fuli:active,laifang:active,daikuan:active|status=sleeping|configId=2192\n |daikuan=+贷款|match,newNext|=>|这是第五.|nextStep=jingshoufang:known,fuli:known,duocenghaochu:known,duocenghaochu:known,jingshoufang:active,fuli:active,laifang:active,duocenghaochu:active|status=sleeping|configId=2193\njingshoufang=+一手+二手+三手+几手| |match,activate|=>| |nextStep=2190,2191,2192,2193|status=waiting|configId=2194\nfuli=+福利+送+礼物+给| |match,activate|=>|.|nextStep=2189,2191,2192,2193|status=waiting|configId=2195\nlaifang=+烦+老子+滚+不想+讨厌+找骂| |match,activate|=>|.|nextStep=2189,2190,2192,2193|status=waiting|configId=2196\nduocenghaochu=+多层+多套| |match,activate|=>|.|nextStep=2189,2190,2191,2193|status=waiting|configId=2197\ndaikuan=+贷款| |match,activate|=>|.|nextStep=2189,2190,2191,2192|status=waiting|configId=2198\njingshoufang=+一手+二手+三手+几手| |match,newNext|=>|顺序1.|nextStep=fuli:known,laifang:known,duocenghaochu:known,daikuan:known,fuli:active,laifang:active,duocenghaochu:active,daikuan:active|status=waiting|configId=2199\nfuli=+福利+送+礼物+给| |match,newNext|=>|顺序2.|nextStep=laifang:known,jingshoufang:known,duocenghaochu:known,daikuan:known,jingshoufang:active,laifang:active,duocenghaochu:active,daikuan:active|status=waiting|configId=2200\nlaifang=+烦+老子+滚+不想+讨厌+找骂| |match,newNext|=>|顺序3.|nextStep=jingshoufang:known,fuli:known,duocenghaochu:known,daikuan:known,jingshoufang:active,fuli:active,duocenghaochu:active,daikuan:active|status=waiting|configId=2201\nduocenghaochu=+多层+多套| |match,newNext|=>|顺序4.|nextStep=jingshoufang:known,fuli:known,laifang:known,daikuan:known,jingshoufang:active,fuli:active,laifang:active,daikuan:active|status=waiting|configId=2202\ndaikuan=+贷款| |match,newNext|=>|顺序5.|nextStep=jingshoufang,fuli,laifang,duocenghaochu,jingshoufang,fuli,laifang,duocenghaochu|status=waiting|configId=2203\n\n", "botName_yhm": "用来测试", "cate": [14, 17], "configDataset": [[2210, 2189, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是一\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第一\", \"configId\": 2189, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是一"], [2210, 2190, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是二\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第二.\", \"configId\": 2190, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是二"], [2210, 2191, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是三\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"烦+老子+滚+不想+讨厌+找骂\", \"actionName\": \"laifang\", \"question\": \"对于我们的来访影响还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第三.\", \"configId\": 2191, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是三"], [2210, 2192, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是四\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"多层+多套\", \"actionName\": \"duocenghaochu\", \"question\": \"对于买多套房您还有什么疑问吗?\"}], \"postURL\": \"\", \"reply\": \"这是第四.\", \"configId\": 2192, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是四"], [2210, 2193, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是第五\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"贷款-不贷款\", \"actionName\": \"daikuan\", \"question\": \"对于贷款政策您还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第五.\", \"configId\": 2193, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是第五"], [2210, 2194, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"\", \"configId\": 2194, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}]}", ""], [2210, 2195, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2195, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}]}", ""], [2210, 2196, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2196, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"烦+老子+滚+不想+讨厌+找骂\", \"actionName\": \"laifang\", \"question\": \"对于我们的来访影响还有什么疑问?\"}]}", ""], [2210, 2197, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2197, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"多层+多套\", \"actionName\": \"duocenghaochu\", \"question\": \"对于买多套房您还有什么疑问吗?\"}]}", ""], [2210, 2198, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2198, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"贷款-不贷款\", \"actionName\": \"daikuan\", \"question\": \"对于贷款政策您还有什么疑问?\"}]}", ""], [2210, 2199, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序1.\", \"configId\": 2199, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}]}", ""], [2210, 2200, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序2.\", \"configId\": 2200, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}]}", ""], [2210, 2201, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序3.\", \"configId\": 2201, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"烦+老子+滚+不想+讨厌+找骂\", \"actionName\": \"laifang\", \"question\": \"对于我们的来访影响还有什么疑问?\"}]}", ""], [2210, 2202, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序4.\", \"configId\": 2202, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"多层+多套\", \"actionName\": \"duocenghaochu\", \"question\": \"对于买多套房您还有什么疑问吗?\"}]}", ""], [2210, 2203, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": []}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": []}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": []}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": []}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": []}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": []}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": []}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序5.\", \"configId\": 2203, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"贷款-不贷款\", \"actionName\": \"daikuan\", \"question\": \"对于贷款政策您还有什么疑问?\"}]}", ""]], "botId": "2210", "categoryDataset": [[2210, 98, 0, "默认", "avaliable"]]} \ No newline at end of file diff --git a/GenerateAction/tmp/2211-.backup b/GenerateAction/tmp/2211-.backup new file mode 100644 index 0000000..b9f154b --- /dev/null +++ b/GenerateAction/tmp/2211-.backup @@ -0,0 +1 @@ +{"userName": "8545303811", "conditionDataset": [[2211, 594, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于房子有几手的您还有什么疑问?\"}], \"styleList\": [\"interrupt\", \"multimatchvalues\"], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#vistorname问有经过几手的房\", \"repeatKeywords\": \"一手+二手+三手+几手\"}], \"relationName\": \"rule-find-shou\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"jingshoufang\", \"relationHead\": \"#visitorname\", \"active\": true, \"relationTail\": \"?\"}", "0:默认", "\r\n\r\nname=jingshoufang\r\nstatus=active\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jingshoufang::1|#visitorname,rule-find-shou,?|1:100:对于房子有几手的您还有什么疑问?:base|#vistorname问有经过几手的房=+一手+二手+三手+几手\r\nprocess=jingshoufang=+一手+二手+三手+几手|pivot_httppost=active|\r\nprocess=jingshoufang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=jingshoufang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt,multimatchvalues\r\nfellow=pivot_httppost\r\ncondition=jingshoufang|#visitorname,rule-find-shou,?|1:100:对于房子有几手的您还有什么疑问?:base|#vistorname问有经过几手的房=+一手+二手+三手+几手\r\nprocess=jingshoufang=+一手+二手+三手+几手|pivot_httppost=active|\r\n", 1], [2211, 595, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于购房福利您还有什么疑问?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"有没有福利?\", \"repeatKeywords\": \"福利+送+礼物+给\"}], \"relationName\": \"rule-find-fuli\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"fuli\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=fuli\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=fuli::1|#visitorname,rule-find-fuli,?|1:100:对于购房福利您还有什么疑问?:base|有没有福利?=+福利+送+礼物+给\r\nprocess=fuli=+福利+送+礼物+给|pivot_httppost=active|\r\nprocess=fuli=unknown|pivot_httppost=active|\r\n\r\n\r\nname=fuli_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=fuli|#visitorname,rule-find-fuli,?|1:100:对于购房福利您还有什么疑问?:base|有没有福利?=+福利+送+礼物+给\r\nprocess=fuli=+福利+送+礼物+给|pivot_httppost=active|\r\n", 0], [2211, 596, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于我们的来访影响还有什么疑问?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname厌烦来访\", \"repeatKeywords\": \"烦+老子+滚+不想+讨厌+找骂\"}], \"relationName\": \"rule-find-zanghua\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"laifang\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=laifang\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=laifang::1|#visitorname,rule-find-zanghua,?|1:100:对于我们的来访影响还有什么疑问?:base|#visitorname厌烦来访=+烦+老子+滚+不想+讨厌+找骂\r\nprocess=laifang=+烦+老子+滚+不想+讨厌+找骂|pivot_httppost=active|\r\nprocess=laifang=unknown|pivot_httppost=active|\r\n\r\n\r\nname=laifang_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=laifang|#visitorname,rule-find-zanghua,?|1:100:对于我们的来访影响还有什么疑问?:base|#visitorname厌烦来访=+烦+老子+滚+不想+讨厌+找骂\r\nprocess=laifang=+烦+老子+滚+不想+讨厌+找骂|pivot_httppost=active|\r\n", 0], [2211, 597, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于买多套房您还有什么疑问吗?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname问买多层的好处\", \"repeatKeywords\": \"多层+多套\"}], \"relationName\": \"rule-find-duocenghaochu\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"duocenghaochu\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=duocenghaochu\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=duocenghaochu::1|#visitorname,rule-find-duocenghaochu,?|1:100:对于买多套房您还有什么疑问吗?:base|#visitorname问买多层的好处=+多层+多套\r\nprocess=duocenghaochu=+多层+多套|pivot_httppost=active|\r\nprocess=duocenghaochu=unknown|pivot_httppost=active|\r\n\r\n\r\nname=duocenghaochu_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=duocenghaochu|#visitorname,rule-find-duocenghaochu,?|1:100:对于买多套房您还有什么疑问吗?:base|#visitorname问买多层的好处=+多层+多套\r\nprocess=duocenghaochu=+多层+多套|pivot_httppost=active|\r\n", 0], [2211, 598, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"对于贷款政策您还有什么疑问?\"}], \"styleList\": [], \"idx\": 0, \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname问购买贷款\", \"repeatKeywords\": \"贷款-不贷款\"}], \"relationName\": \"rule-find-daikuan\", \"conditionCategory\": \"0:默认\", \"conditionName\": \"daikuan\", \"relationTail\": \"?\", \"active\": false, \"relationHead\": \"#visitorname\"}", "0:默认", "\r\n\r\nname=daikuan\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=daikuan::1|#visitorname,rule-find-daikuan,?|1:100:对于贷款政策您还有什么疑问?:base|#visitorname问购买贷款=+贷款-不贷款\r\nprocess=daikuan=+贷款|pivot_httppost=active|\r\nprocess=daikuan=unknown|pivot_httppost=active|\r\n\r\n\r\nname=daikuan_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=daikuan|#visitorname,rule-find-daikuan,?|1:100:对于贷款政策您还有什么疑问?:base|#visitorname问购买贷款=+贷款-不贷款\r\nprocess=daikuan=+贷款|pivot_httppost=active|\r\n", 0]], "cdt_name_ls": [[358, "rule0find0xihuan03"], [270, "rule0find0business"], [269, "rule0find0jieshu"], [293, "rule0find0wenyouxi01"], [307, "rule0find0business02"], [279, "rule0find0jieshu01"], [341, "rule0find0huaiyi"], [308, "rule0find0business03"], [391, "a01"], [347, "rule0find0lianxi"], [291, "rile0find0wenxihuan"], [344, "rule0find0zhidao"], [343, "rule0find0huaiyi02"], [397, "rule0find0zijia"], [228, "rule0like"]], "configText": "\n", "botName_yhm": "test", "cate": [14, 15], "configDataset": [[2211, 2476, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是一\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第一\", \"configId\": 2189, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是一"], [2211, 2477, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是二\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第二.\", \"configId\": 2190, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是二"], [2211, 2478, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是三\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"烦+老子+滚+不想+讨厌+找骂\", \"actionName\": \"laifang\", \"question\": \"对于我们的来访影响还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第三.\", \"configId\": 2191, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是三"], [2211, 2479, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是四\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"多层+多套\", \"actionName\": \"duocenghaochu\", \"question\": \"对于买多套房您还有什么疑问吗?\"}], \"postURL\": \"\", \"reply\": \"这是第四.\", \"configId\": 2192, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是四"], [2211, 2480, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"这是第五\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"贷款-不贷款\", \"actionName\": \"daikuan\", \"question\": \"对于贷款政策您还有什么疑问?\"}], \"postURL\": \"\", \"reply\": \"这是第五.\", \"configId\": 2193, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}]}", "这是第五"], [2211, 2481, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"\", \"configId\": 2194, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}]}", ""], [2211, 2482, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2195, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}]}", ""], [2211, 2483, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2196, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"烦+老子+滚+不想+讨厌+找骂\", \"actionName\": \"laifang\", \"question\": \"对于我们的来访影响还有什么疑问?\"}]}", ""], [2211, 2484, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2193, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2197, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"多层+多套\", \"actionName\": \"duocenghaochu\", \"question\": \"对于买多套房您还有什么疑问吗?\"}]}", ""], [2211, 2485, 98, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 2189, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2190, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2191, \"except\": []}, {\"nextStepText\": \"\", \"nextStep\": 2192, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \".\", \"configId\": 2198, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"贷款-不贷款\", \"actionName\": \"daikuan\", \"question\": \"对于贷款政策您还有什么疑问?\"}]}", ""], [2211, 2486, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序1.\", \"configId\": 2199, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"一手+二手+三手+几手\", \"actionName\": \"jingshoufang\", \"question\": \"对于房子有几手的您还有什么疑问?\"}]}", ""], [2211, 2487, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序2.\", \"configId\": 2200, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"福利+送+礼物+给\", \"actionName\": \"fuli\", \"question\": \"对于购房福利您还有什么疑问?\"}]}", ""], [2211, 2488, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序3.\", \"configId\": 2201, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"烦+老子+滚+不想+讨厌+找骂\", \"actionName\": \"laifang\", \"question\": \"对于我们的来访影响还有什么疑问?\"}]}", ""], [2211, 2489, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"known\"]}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": [\"active\"]}, {\"nextStepText\": \"对于贷款政策您还有什么疑问?\", \"nextStep\": \"daikuan\", \"except\": [\"active\"]}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序4.\", \"configId\": 2202, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"多层+多套\", \"actionName\": \"duocenghaochu\", \"question\": \"对于买多套房您还有什么疑问吗?\"}]}", ""], [2211, 2490, 98, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": []}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": []}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": []}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": []}, {\"nextStepText\": \"对于房子有几手的您还有什么疑问?\", \"nextStep\": \"jingshoufang\", \"except\": []}, {\"nextStepText\": \"对于购房福利您还有什么疑问?\", \"nextStep\": \"fuli\", \"except\": []}, {\"nextStepText\": \"对于我们的来访影响还有什么疑问?\", \"nextStep\": \"laifang\", \"except\": []}, {\"nextStepText\": \"对于买多套房您还有什么疑问吗?\", \"nextStep\": \"duocenghaochu\", \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"顺序5.\", \"configId\": 2203, \"categoryId\": 98, \"currentPremiseList\": [{\"keywords\": \"贷款-不贷款\", \"actionName\": \"daikuan\", \"question\": \"对于贷款政策您还有什么疑问?\"}]}", ""]], "botId": "2211", "categoryDataset": [[2211, 106, 0, "默认", "avaliable"]]} \ No newline at end of file diff --git a/GenerateAction/tmp/2216-.backup b/GenerateAction/tmp/2216-.backup new file mode 100644 index 0000000..79683a9 --- /dev/null +++ b/GenerateAction/tmp/2216-.backup @@ -0,0 +1 @@ +{"userName": "9119791325", "conditionDataset": [[2216, 574, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"我们这个位置s是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格\"}], \"styleList\": [], \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visiturname说想买\", \"repeatKeywords\": \"有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买\"}, {\"macro\": \"\", \"repeatString\": \"#visitorname说不想买\", \"repeatKeywords\": \"没有+不需要+没兴趣+不用+不要+不买+没钱+不想买\"}], \"relationName\": \"rule-find-wanhui2\", \"conditionCategory\": \"14:物业\", \"conditionId\": 37, \"conditionName\": \"wanhui2\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\", \"originConditionId\": 273}", "14:物业", "\r\n\r\nname=wanhui2\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=wanhui2::1|#visitorname,rule-find-wanhui2,?|1:100:我们这个位置s是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买\r\nprocess=wanhui2=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买|pivot_httppost=active|\r\nprocess=wanhui2=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买|pivot_httppost=active|\r\nprocess=wanhui2=unknown|pivot_httppost=active|\r\n\r\n\r\nname=wanhui2_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=wanhui2|#visitorname,rule-find-wanhui2,?|1:100:我们这个位置s是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格:base|#visiturname说想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买~#visitorname说不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买\r\nprocess=wanhui2=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买|pivot_httppost=active|\r\nprocess=wanhui2=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买|pivot_httppost=active|\r\n", 0], [2216, 575, "{\"questionList\": [{\"que_start_time\": \"1\", \"base\": 1, \"que_stop_time\": \"100\", \"que_sen\": \"我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。\"}], \"styleList\": [], \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname想买\", \"repeatKeywords\": \"有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买\"}, {\"macro\": \"\", \"repeatString\": \"#visitorname不想买\", \"repeatKeywords\": \"没有+不需要+没兴趣+不用+不要+不买+没钱+不想买\"}], \"relationName\": \"rule-find-jiage\", \"conditionCategory\": \"14:物业\", \"conditionId\": 38, \"conditionName\": \"jiage\", \"relationHead\": \"#visitorname\", \"active\": false, \"relationTail\": \"?\", \"originConditionId\": 279}", "14:物业", "\r\n\r\nname=jiage\r\nstatus=waiting\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=jiage::1|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买\r\nprocess=jiage=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买|pivot_httppost=active|\r\nprocess=jiage=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买|pivot_httppost=active|\r\nprocess=jiage=unknown|pivot_httppost=active|\r\n\r\n\r\nname=jiage_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=jiage|#visitorname,rule-find-jiage,?|1:100:我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。:base|#visitorname想买=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买~#visitorname不想买=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买\r\nprocess=jiage=+有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买|pivot_httppost=active|\r\nprocess=jiage=+没有+不需要+没兴趣+不用+不要+不买+没钱+不想买|pivot_httppost=active|\r\n", 0], [2216, 576, "{\"questionList\": [{\"que_start_time\": \"100\", \"base\": 1, \"que_stop_time\": \"101\", \"que_sen\": \"您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下\"}, {\"que_start_time\": \"1\", \"base\": 0, \"que_stop_time\": \"100\", \"que_sen\": \"135\"}], \"styleList\": [], \"repeatList\": [{\"macro\": \"\", \"repeatString\": \"#visitorname有兴趣\", \"repeatKeywords\": \"有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买\"}, {\"macro\": \"\", \"repeatString\": \"#visitorname没有兴趣\", \"repeatKeywords\": \"没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣\"}], \"relationName\": \"rule-find-jieshi\", \"conditionCategory\": \"14:物业\", \"conditionId\": 39, \"conditionName\": \"jieshi1\", \"relationHead\": \"#visitorname\", \"active\": true, \"relationTail\": \"?\", \"originConditionId\": 270}", "14:物业", "\r\n\r\nname=jieshi1\r\nstatus=active\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=jieshi1::1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣\r\nprocess=jieshi1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active|\r\nprocess=jieshi1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active|\r\nprocess=jieshi1=unknown|pivot_httppost=active|\r\n\r\n\r\nname=jieshi1_listening\r\nstatus=listening\r\naction=select\r\nautomatchthreshold=0.5\r\nstyle=interrupt\r\nfellow=pivot_httppost\r\ncondition=jieshi1|#visitorname,rule-find-jieshi,?|100:101:您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下:base~1:100:135|#visitorname有兴趣=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买~#visitorname没有兴趣=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣\r\nprocess=jieshi1=+有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买|pivot_httppost=active|\r\nprocess=jieshi1=+没有+没兴趣+不需要+没钱+穷+不买+走开+买了+刚买+不用+ 不要+用不到+不用介绍+没兴趣+不考虑+没考虑+打错了+不需要+真烦人+没需求+不想要+别打了+不想了解+不要再打+不感兴趣+不想买+没+没有兴趣|pivot_httppost=active|\r\n", 1]], "cdt_name_ls": [], "configText": "查无此bot", "botName_yhm": "11", "cate": [1, 2], "configDataset": [[2216, 2450, 0, "{\"nextStepStatus\": \"return\", \"configName\": \"第一个\", \"configStatus\": 1, \"nextStepList\": [{\"nextStepText\": \"您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下\", \"nextStep\": \"jieshi1\", \"except\": []}, {\"nextStepText\": \"我们项目单价在7000-9000之间;面积20-60平米;位置;大小可选;首付只要12万;是非常便宜的。\", \"nextStep\": \"jiage\", \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"好的哦\", \"configId\": 1647, \"categoryId\": 0, \"currentPremiseList\": [{\"keywords\": \"有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买\", \"actionName\": \"wanhui2\", \"question\": \"我们这个位置s是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格\"}]}", "第一个"], [2216, 2451, 0, "{\"nextStepStatus\": \"return\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"我们这个位置s是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格\", \"nextStep\": \"wanhui2\", \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"好的哦\", \"currentPremiseList\": [{\"keywords\": \"有+嗯+好的+可以+有兴趣+你说+好+说+介绍+感兴趣+想买\", \"actionName\": \"jieshi1\", \"question\": \"您好!我这边是万嘉售楼处的;给您打电话是想给您推荐20-60平方;首付12万的公寓;给您简单介绍一下\"}]}", ""], [2216, 2452, 0, "{\"nextStepStatus\": \"activate\", \"configName\": \"\", \"configStatus\": 0, \"nextStepList\": [{\"nextStepText\": \"\", \"nextStep\": 1647, \"except\": []}], \"doPost\": false, \"historyPremiseList\": [{\"keywords\": \"\", \"actionName\": \"\", \"question\": \"\"}], \"postURL\": \"\", \"reply\": \"\", \"currentPremiseList\": [{\"keywords\": \"有+嗯+好的+可以+有兴趣+你说+好+所+介绍+想买\", \"actionName\": \"wanhui2\", \"question\": \"我们这个位置s是非常有优势的;交通是非常的方便;而且随着二期地铁的创建是非常有升值空间的;要不我给您介绍下价格\"}]}", ""]], "botId": "2216", "categoryDataset": [[2216, 100, 0, "1", "avaliable"]]} \ No newline at end of file diff --git a/GenerateAction/tmp/494-config.backup b/GenerateAction/tmp/494-config.backup new file mode 100644 index 0000000..8c53fdd --- /dev/null +++ b/GenerateAction/tmp/494-config.backup @@ -0,0 +1 @@ +{"userName": "lk", "configList": [{"nextStepText": "对于购房福利您还有什么疑问?", "doPost": false, "nextStep": "fuli", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "没有疑问", "currentPremiseList": [{"keywords": "一手+二手+三手+几手", "actionName": "jingshoufang", "question": "对于房子有几手的您还有什么疑问?"}]}, {"nextStepText": "对于我们的来访影响还有什么疑问?", "doPost": "", "nextStep": "laifang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "没有疑问", "currentPremiseList": [{"keywords": "福利+送+礼物+给", "actionName": "fuli", "question": "对于购房福利您还有什么疑问?"}]}, {"nextStepText": "对于买多套房您还有什么疑问吗?", "doPost": "", "nextStep": "duocenghaochu", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "没有疑问", "currentPremiseList": [{"keywords": "烦+老子+滚+不想+讨厌+找骂", "actionName": "laifang", "question": "对于我们的来访影响还有什么疑问?"}]}, {"doPost": "", "nextStep": "", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "没有疑问", "currentPremiseList": [{"keywords": "多层+多套", "actionName": "duocenghaochu", "question": "对于买多套房您还有什么疑问吗?"}]}], "sayGoodBye": "", "botId": "494", "botName": "3480513727"} \ No newline at end of file diff --git a/GenerateAction/tmp/lk-1288236704-config.json b/GenerateAction/tmp/lk-1288236704-config.json new file mode 100644 index 0000000..5a5eca5 --- /dev/null +++ b/GenerateAction/tmp/lk-1288236704-config.json @@ -0,0 +1 @@ +{"userName": "lk", "configList": [{"nextStepText": "你去过什么地方", "doPost": false, "nextStep": "lvyou", "historyPremiseList": [{"keywords": "深圳北-酒店", "actionName": "mudidi", "question": "请问你想去哪里?"}], "postURL": "", "reply": "11深圳北", "currentPremiseList": [{"keywords": "深圳北+北京-酒店", "actionName": "mudidi", "question": "请问你想去哪里?"}, {"keywords": "天津+云南+北京+武汉+贵州-火腿肠", "actionName": "lvyou", "question": "你去过什么地方"}]}], "sayGoodBye": "", "botId": "487", "botName": "1288236704"} \ No newline at end of file diff --git a/GenerateAction/tmp/lk-3480513727-config.json b/GenerateAction/tmp/lk-3480513727-config.json new file mode 100644 index 0000000..d02571c --- /dev/null +++ b/GenerateAction/tmp/lk-3480513727-config.json @@ -0,0 +1 @@ +{"userName": "lk", "configList": [{"nextStepText": "对于房子有几手的您还有什么疑问?", "doPost": false, "nextStep": "jingshoufang", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "", "currentPremiseList": [{"keywords": "烦+老子+滚+不想+讨厌+找骂", "actionName": "laifang", "question": "对于我们的来访影响还有什么疑问?"}]}, {"nextStepText": "对于购房福利您还有什么疑问?", "doPost": "", "nextStep": "fuli", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "", "currentPremiseList": [{"keywords": "一手+二手+三手+几手", "actionName": "jingshoufang", "question": "对于房子有几手的您还有什么疑问?"}]}, {"nextStepText": "对于买多套房您还有什么疑问吗?", "doPost": "", "nextStep": "duocenghaochu", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "", "currentPremiseList": [{"keywords": "福利+送+礼物+给", "actionName": "fuli", "question": "对于购房福利您还有什么疑问?"}]}, {"doPost": "", "nextStep": "", "historyPremiseList": [{"keywords": "", "actionName": "", "question": ""}], "postURL": "", "reply": "", "currentPremiseList": [{"keywords": "多层+多套", "actionName": "duocenghaochu", "question": "对于买多套房您还有什么疑问吗?"}]}], "sayGoodBye": "", "botId": "494", "botName": "3480513727"} \ No newline at end of file diff --git "a/GenerateAction/\350\241\250\347\273\223\346\236\204" "b/GenerateAction/\350\241\250\347\273\223\346\236\204" new file mode 100644 index 0000000..b89e0a3 --- /dev/null +++ "b/GenerateAction/\350\241\250\347\273\223\346\236\204" @@ -0,0 +1,37 @@ +create database SimplifiedBot +create table user_data +( +botId int(11) primary key not null, +action longtext, +config longtext +) CHARSET=utf8; + +create table SimplifiedBot.chatbot_config +( +botId int(11) not null, +configId int(11) primary key not null auto_increment, +categoryId int(3), +configData longtext, +configName varchar(30) + +) CHARSET=utf8; + +create table SimplifiedBot.chatbot_condition +( +botId int(11) not null, +conditionId int(11) primary key not null auto_increment, +conditionData longtext, +categoryInfo varchar(200), +actionText longtext, +active int(1) +) CHARSET=utf8; + +create table SimplifiedBot.config_categories +( +botId int(11) not null, +categoryId int(3) primary key not null auto_increment, +categoryParentId int(3) not null, +categoryName varchar(30), +categoryStatus varchar(30) +) CHARSET=utf8; + diff --git a/src/entity/Condition.java b/src/entity/Condition.java index 910be4e..1004cd0 100644 --- a/src/entity/Condition.java +++ b/src/entity/Condition.java @@ -7,9 +7,11 @@ import java.util.HashSet; /** * 保存配置文件每一行(单行)解析后的信息的实体类。 + * 独立于引擎的另一种condition */ public class Condition { - public int priority = 1; + public int priority = -1; + public int activePriority = 0; //如果本condition被其他condition激活 public HashSet keywordSet = new HashSet(); public HashMap> historyPremise = new HashMap>(); public HashMap> currentPremise = new HashMap>(); @@ -17,10 +19,13 @@ public class Condition { public String nextStep = ""; public String feature = ""; public String indexName = ""; + public int id =0; + public String status = "waiting"; //public ArrayList indexName = new ArrayList(); public Condition(int priority) { this.priority = priority; + this.activePriority = priority; } public Condition() { diff --git a/src/entity/UserInfo.java b/src/entity/UserInfo.java index 1580769..3c8e544 100644 --- a/src/entity/UserInfo.java +++ b/src/entity/UserInfo.java @@ -16,11 +16,15 @@ public class UserInfo { put("activeAction",""); } }; + this.id2config = new HashMap(); + this.sleepingConfig = new HashMap(); } public HashMap> conditionTable; + public HashMapsleepingConfig; public String configStr; public String userName; public HashMap extraInfo; + public HashMap id2config; } diff --git a/src/processing/ProcessQuestion.java b/src/processing/ProcessQuestion.java index 8bb96d5..6d760fd 100644 --- a/src/processing/ProcessQuestion.java +++ b/src/processing/ProcessQuestion.java @@ -69,33 +69,79 @@ public class ProcessQuestion { } + public static void userConfigInit(String userName, ServletContext context) throws IOException { + String line; + File userFile = new File(CONFIG_DIR + "/" + userName + ".txt"); + if(!userFile.exists()){ + BufferedReader br = new BufferedReader(new StringReader("")); + UserInfo userinfo = new UserInfo(userName); + try { + userinfo = buildUserInfo(br, userinfo); + context.setAttribute(userinfo.userName,userinfo); + }catch(Exception e){ + System.out.println(userinfo.userName + "-post数据有误"); + e.printStackTrace(); + } + + }else { + FileReader reader = new FileReader(userFile); + BufferedReader br = new BufferedReader(reader); + UserInfo userinfo = new UserInfo(userName); + + try { + userinfo = buildUserInfo(br, userinfo); + context.setAttribute(userinfo.userName,userinfo); + }catch(Exception e){ + System.out.println(userinfo.userName + ".txt 有误"); + e.printStackTrace(); + } + + reader.close(); + br.close(); + } + } + public static Condition buildCondition(Condition condition,String line){ + //System.out.println("build condition"); + //System.out.println("xxxxx"+line); String feature,element[],pair[],next[],cur_premises[],history_premises[],premises[]; + line = line.split("---")[0]; + element = line.replace("\n","").split("\\|=\\>\\|"); premises = element[0].split("\\|"); + //System.out.println("element[0]:" + element[0]); feature = premises[2]; cur_premises = premises[0].split(","); history_premises = premises[1].split(","); + next = element[1].split("\\|"); + if(next.length < 4) + return condition; condition.answer = next[0].split("~"); //condition.nextStep = next[1]; //第二处 condition.nextStep = next[1].split("=")[1]; + condition.id = Integer.parseInt(next[3].split("=")[1]); + condition.status = next[2].split("=")[1]; condition.feature = feature; ProcessQuestion.insertPremise(condition.currentPremise,cur_premises); ProcessQuestion.insertPremise(condition.historyPremise,history_premises); //满足条件越多,优先级越大 condition.priority = condition.historyPremise.size()+condition.currentPremise.size(); + condition.activePriority = condition.priority; /* for(String premise:cur_premises){ pair = premise.split("="); condition.indexName.add(pair[0]); } */ - condition.indexName = cur_premises[0].split("=")[0]; + if(cur_premises[0].equals(" ")) + condition.indexName = "emptySet"; + else + condition.indexName = cur_premises[0].split("=")[0]; return condition; } @@ -125,8 +171,9 @@ public class ProcessQuestion { conditionList = new ArrayList(); conditionList.add(condition); conditionTable.put(condition.indexName, conditionList); + if(condition.id != 0) + userinfo.id2config.put(condition.id, line); } - userinfo.configStr += line + '\n'; } userinfo.conditionTable = conditionTable; @@ -151,7 +198,6 @@ public class ProcessQuestion { else if(!keyword.equals("")) keyWordSet.add(keyword); premiseMap.put(pair[0],keyWordSet); } - } @@ -174,7 +220,7 @@ public class ProcessQuestion { String userName = bot_name; UserInfo userinfo = null; if(context.getAttribute(userName) == null){ - ProcessQuestion.configInit(context); + ProcessQuestion.userConfigInit(userName, context); } if(context.getAttribute(userName) == null){ userinfo = new UserInfo(userName); @@ -196,12 +242,15 @@ public class ProcessQuestion { * @param conditionTable 满足什么条件,就回答什么,下一步跳什么 * @return bestMatch 状态表中满足条件最多的一条 */ - public Condition getAnswer(Map curInfoPoint,Map historyInfoPoint,HashMap> conditionTable) throws IOException { - + public Condition getAnswer(Map curInfoPoint,Map historyInfoPoint,HashMap> conditionTable, ServletContext context) throws IOException { + Integer configId = 0; List conditionList = null; - Condition bestMatch = new Condition(0); + Condition bestMatch = new Condition(-1); Iterator it = curInfoPoint.keySet().iterator(); + HashMap extraActivatedConfig = new HashMap(); + + while (it.hasNext()) { String conditionName = it.next(); String[] keywords = curInfoPoint.get(conditionName); @@ -210,19 +259,28 @@ public class ProcessQuestion { if (keywords != null && !keywords[0].equals("")) keyword = keywords[0]; - if (keyword != null) { + if (keyword != null && conditionTable.get(conditionName) != null) { conditionList = conditionTable.get(conditionName); - if (conditionList != null) { - for (Condition condition : conditionList) { - if (condition.priority > bestMatch.priority && satisfy(curInfoPoint, historyInfoPoint, condition)) + for (Condition condition : conditionList) { + if(condition.status.equals("waiting") && satisfy(curInfoPoint, historyInfoPoint, condition)){ + + if(condition.feature.contains("activate")){ + activateConfig(extraActivatedConfig, curInfoPoint.get("bot_name")[0], condition.priority, condition.nextStep, context); + } else if(condition.priority > bestMatch.priority) bestMatch = condition; } } } - } - - + Iterator extraConfigIter = extraActivatedConfig.keySet().iterator(); + Condition extraCondition = null; + while(extraConfigIter.hasNext()){ + configId = extraConfigIter.next(); + extraCondition = extraActivatedConfig.get(configId); + if(extraCondition.activePriority > bestMatch.activePriority && satisfy(curInfoPoint, historyInfoPoint, extraCondition)){ + bestMatch = extraCondition; + } + } return bestMatch; } @@ -240,7 +298,7 @@ public class ProcessQuestion { String actionName,keywords[],keyword; HashSet keywordSet = null; - if(condition.feature.indexOf("match")!= -1){ + if(condition.feature.contains("match")){ Iterator it = condition.currentPremise.keySet().iterator(); while (flag && it.hasNext()) { actionName = it.next(); @@ -287,17 +345,31 @@ public class ProcessQuestion { Iterator it = curInfoPoint.keySet().iterator(); String actionName; - AnswerNextStep ans = new AnswerNextStep(); + AnswerNextStep ans = new AnswerNextStep(0, "", ""); + //如果一条配置文件有多个答案,则随机选择一个答案 int randNum = (int) (Math.random() * ansCondition.answer.length); ans.setAnswer(ansCondition.answer[randNum]); //System.out.println(ans.getAnswer()); System.out.println("feature="+ansCondition.feature); - if(ansCondition.feature.indexOf("post") != -1){ + if(ansCondition.feature.contains("post")){ ans = postToServer(ans,ansCondition,curInfoPoint,historyInfoPoint); + }else if(ansCondition.feature.contains("newNext")){ + ans = findNewNext(ans, ansCondition, curInfoPoint, historyInfoPoint); } + if(ans.getNext().equals("")){ + ans.setNext("nextStep=" + ansCondition.nextStep); + } + + + //保存即将跳转的action名以供下一轮使用,nextStep的结构是nextStep=xxx + historyInfoPoint.put("currentAction",ans.getNext().split("=")[1]); + historyInfoPoint.put("activeList", historyInfoPoint.get("activeList") + "|" + ansCondition.nextStep); + + + //将当前信息点更新至历史信息点,并且替换答案中的相应变量,变量结构为{xxx-1}或者{xxx-2} try { String keyword1, keyword2; @@ -317,15 +389,12 @@ public class ProcessQuestion { historyInfoPoint.put(actionName, keyword1); ans.setAnswer(ans.getAnswer().replace("{" + actionName + "-1}", keyword1));//这里 } - } - //保存即将跳转的action名以供下一轮使用 - historyInfoPoint.put("currentAction",ansCondition.nextStep); - ChatCacheController.updateChatCache4Insert(curInfoPoint, historyInfoPoint, context); + ChatCacheController.updateChatCache4Insert(curInfoPoint, historyInfoPoint, context); //context.setAttribute("chat_key+"+userinfo.userName,historyInfoPoint); - ans.setNext("nextStep=" + ansCondition.nextStep); + }catch(Exception e){ e.printStackTrace(); @@ -340,12 +409,12 @@ public class ProcessQuestion { * @param ansCondition 满足条件最多的condition(配置文件的某一行) */ public AnswerNextStep postToServer(AnswerNextStep ans, Condition ansCondition, Map curInfoPoint,Map historyInfoPoint) throws IOException { - String url = null,features[] = ansCondition.feature.trim().split(","),elem[]; + String url = null,features[] = ansCondition.feature.trim().split(","),elem[], key; System.out.println("there"); for(String feature:features){ elem = feature.split("\\("); if(elem[0].equals("post")){ - url = "http://"+elem[elem.length-1]; + url = elem[elem.length-1]; url = url.substring(0,url.length()-1); break; } @@ -354,43 +423,120 @@ public class ProcessQuestion { CloseableHttpClient client = HttpClients.createDefault(); String respContent = null; String keyName = null; + Map infoMap = new HashMap(); + Iterator k_iter = curInfoPoint.keySet().iterator(); + while(k_iter.hasNext()){ + key = k_iter.next(); + infoMap.put(key, curInfoPoint.get(key)[0]); + } JSONObject jsonParam = new JSONObject(); - jsonParam.put("curInfoPoint", curInfoPoint); + jsonParam.put("curInfoPoint", infoMap); jsonParam.put("historyInfoPoint", historyInfoPoint); StringEntity entity = new StringEntity(jsonParam.toString(),"utf-8");//解决中文乱码问题 entity.setContentEncoding("UTF-8"); - entity.setContentType("application/json"); + entity.setContentType("application/x-www-form-urlencoded"); httpPost.setEntity(entity); - HttpResponse resp = client.execute(httpPost); - if(resp.getStatusLine().getStatusCode() == 200) { - HttpEntity he = resp.getEntity(); - respContent = EntityUtils.toString(he,"UTF-8"); - JSONObject jobj = JSONObject.fromString(respContent); - Iterator kit = jobj.keys(); - while(kit.hasNext()){ - keyName = kit.next(); - if(keyName.equals("process")){ - ans.setNext("nextStep="+jobj.get(keyName)); - }else if(keyName.equals("solution")) { - ans.setAnswer((String) jobj.get(keyName)); - } - else{ - ans.setAnswer(ans.getAnswer().replace("{"+keyName+"}",jobj.getString(keyName))); + try { + HttpResponse resp = client.execute(httpPost); + if (resp.getStatusLine().getStatusCode() == 200) { + HttpEntity he = resp.getEntity(); + respContent = EntityUtils.toString(he, "UTF-8"); + JSONObject jobj = JSONObject.fromString(respContent); + Iterator kit = jobj.keys(); + while (kit.hasNext()) { + keyName = kit.next(); + if (keyName.equals("process")) { + ans.setNext("nextStep=" + jobj.get(keyName)); + } else if (keyName.equals("solution")) { + ans.setAnswer((String) jobj.get(keyName)); + } else { + ans.setAnswer(ans.getAnswer().replace("{" + keyName + "}", jobj.getString(keyName))); + } } + } else { + ans.setAnswer("api有误!"); } - }else{ - ans.setAnswer("api有误!"); + }catch (Exception e){ + e.printStackTrace(); + + ans.setNext("提交失败了"); } return ans; } + public AnswerNextStep findNewNext(AnswerNextStep ans, Condition ansCondition, Map curInfoPoint,Map historyInfoPoint){ + String nextOptions[] = ansCondition.nextStep.split(","); + String conditionName,premises[],cpPair[]; + boolean flag = true; + + String activeList = historyInfoPoint.get("activeList"); + + for(String option: nextOptions){ + flag = true; + cpPair = option.split(":"); + conditionName = cpPair[0]; + if(cpPair.length == 1){ + ans.setNext("nextStep="+conditionName); + break; + } + premises = cpPair[1].split("-"); + for(String premise:premises) { + if(premise.equals("known")) { + //如果当前/历史信息点中有option这个键,并且这个键的值不为空也不为unknown,那么证明这个option(即相应condition)已经被识别 + boolean conditionExistInCurInfoPoint = curInfoPoint.containsKey(conditionName) && !curInfoPoint.get(conditionName)[0].equals("") && !curInfoPoint.get(conditionName)[0].equals("unknown"); + boolean conditionExistInHistoryInfoPoint = historyInfoPoint.containsKey(conditionName) && !historyInfoPoint.get(conditionName).equals("") && !historyInfoPoint.get(conditionName).equals("unknown"); + + //只有前两者都为假时,conditionExist才为真 + boolean conditionExist = (conditionExistInCurInfoPoint || conditionExistInHistoryInfoPoint); + + if (conditionExist) + flag = false; + } + + if(premise.equals("active")){ + boolean isActive = activeList.contains(conditionName); + if (isActive) + flag = false; + } + } + + if(flag){ + ans.setNext("nextStep="+conditionName); + break; + } + + } + return ans; + + } + + public void activateConfig(HashMap extraActivatedConfig, String userName, int basePriority, String activateList, ServletContext context){ + UserInfo userinfo = (UserInfo) context.getAttribute(userName); + String configStr = ""; + Integer configId; + for(String configIdStr:activateList.split(",")){ + configId = Integer.parseInt(configIdStr); + Condition condition = new Condition(); + configStr = userinfo.id2config.get(configId); + if(configStr != null) { + condition = ProcessQuestion.buildCondition(condition, configStr); + + if (extraActivatedConfig.containsKey(configId) && condition.priority + basePriority > extraActivatedConfig.get(configId).activePriority) { + extraActivatedConfig.get(configId).activePriority = condition.priority + basePriority; + } else if (!extraActivatedConfig.containsKey(configId)) { + condition.activePriority = condition.priority + basePriority; + extraActivatedConfig.put(configId, condition); + } + } + } + } } diff --git a/src/servlet/GetAnswerServlet.java b/src/servlet/GetAnswerServlet.java index e7c5d09..6a99ba2 100644 --- a/src/servlet/GetAnswerServlet.java +++ b/src/servlet/GetAnswerServlet.java @@ -39,6 +39,7 @@ public class GetAnswerServlet extends HttpServlet { historyInfoPoint = ChatCacheController.getChatCache(chatKey,context); + UserInfo userinfo = null; try { //userinfo = process.userInfoQuery(chatKey,context); @@ -85,7 +86,7 @@ public class GetAnswerServlet extends HttpServlet { while(iit.hasNext()){ String k = iit.next(); String values[] = curInfoPoint.get(k); - if(k.equals("chat_key") || k.equals("action_name") || k.equals("bot_name")) + if(k.equals("chat_key") || k.equals("action_name") || k.equals("bot_name") || k.equals("emptySet")) continue; if(values != null && !values[0].equals("")) { unknown_flag = false; @@ -95,13 +96,19 @@ public class GetAnswerServlet extends HttpServlet { String currentAction = ""; if(historyInfoPoint.containsKey("currentAction")) currentAction = historyInfoPoint.get("currentAction"); - else if(userinfo.extraInfo.containsKey("activeAction")) + else if(userinfo.extraInfo.containsKey("activeAction")) { currentAction = userinfo.extraInfo.get("activeAction"); - else + historyInfoPoint.put("currentAction", currentAction); + }else currentAction = ""; + curInfoPoint.put("emptySet", new String[]{" ",}); + if(historyInfoPoint.get("activeList") == null){ + historyInfoPoint.put("activeList", currentAction); + } + - if(unknown_flag && currentAction != ""){ + if(unknown_flag && !currentAction.equals("")){ String i[] = {"unknown",}; curInfoPoint.put(currentAction,i); } @@ -109,13 +116,15 @@ public class GetAnswerServlet extends HttpServlet { /*得到答案更新历史信息点&生成答案,,清楚超时chatkey_key,生成更新数据库,转成json,输出*/ //process.removeTimeoutChatkey(context); //System.out.println(userinfo.conditionTable); //测试 - ansCondition = process.getAnswer(curInfoPoint,historyInfoPoint,userinfo.conditionTable); - if (state == "" && ansCondition.priority == 0) - state = "你好像哪里写错了"; - if (state == "") { + ansCondition = process.getAnswer(curInfoPoint,historyInfoPoint,userinfo.conditionTable, context); + if (state.equals("") && ansCondition.priority == -1) + state = "我不理解,"; + if (state.equals("")) { bestMatch = process.updateInfoGetBestMatch(ansCondition, curInfoPoint, historyInfoPoint, context, userinfo); //process.updateDB(kw); //System.out.println("Current time:" + System.currentTimeMillis()); + + //清理超时的用户数据 if (context.getAttribute("cacheUpdateTime") == null) context.setAttribute("cacheUpdateTime", System.currentTimeMillis()); if (System.currentTimeMillis() - (long) context.getAttribute("cacheUpdateTime") > 300000) { @@ -124,8 +133,9 @@ public class GetAnswerServlet extends HttpServlet { } bestMatch.setAnswer(" \n" + return_str + "\n " + bestMatch.getAnswer()); }else{ - bestMatch = new AnswerNextStep(0,state,"nextStep=error"); + bestMatch = new AnswerNextStep(0,state,"nextStep=" + historyInfoPoint.get("currentAction")); } + ansJ = MyFunc.toJson(bestMatch); System.out.println(ansJ); out.write(ansJ.getBytes()); @@ -135,6 +145,6 @@ public class GetAnswerServlet extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - System.out.println("do get method"); + System.out.println("do get m ethod"); } } diff --git a/src/servlet/GetConfigServlet.java b/src/servlet/GetConfigServlet.java new file mode 100644 index 0000000..8e70c6f --- /dev/null +++ b/src/servlet/GetConfigServlet.java @@ -0,0 +1,44 @@ +package servlet; + +import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.*; + +@WebServlet(name = "GetConfigServlet",urlPatterns = {"/getConfig"}) +public class GetConfigServlet extends HttpServlet { + + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + request.setCharacterEncoding("UTF-8"); + String userName = request.getParameter("userName"); + + String path = System.getProperty("user.dir")+"/config/"+userName+".txt"; + File file = new File(path); + OutputStream out = response.getOutputStream(); + + + if(file.exists()){ + + FileReader fr= new FileReader(file); + BufferedReader br = new BufferedReader(fr); + String line; + while ((line = br.readLine()) != null){ + line = line + "\n"; + out.write(line.getBytes()); + } + + + fr.close(); + br.close(); + } else{ + out.write("查无此bot".getBytes()); + } + out.flush(); + } + + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + doPost(request, response); + } +} diff --git a/src/servlet/UpdateServlet.java b/src/servlet/UpdateServlet.java index a2c57b4..17dab86 100644 --- a/src/servlet/UpdateServlet.java +++ b/src/servlet/UpdateServlet.java @@ -101,6 +101,7 @@ public class UpdateServlet extends HttpServlet { out.flush(); out.close(); System.out.println("success"); + //request.setAttribute("returnMessage","更新成功"+userinfo.configStr); context.setAttribute(userName,userinfo); String path = System.getProperty("user.dir")+"/config/"+userinfo.userName+".txt"; diff --git a/src/servlet/UpdateSingleConfigServlet.java b/src/servlet/UpdateSingleConfigServlet.java new file mode 100644 index 0000000..761fc8c --- /dev/null +++ b/src/servlet/UpdateSingleConfigServlet.java @@ -0,0 +1,227 @@ +package servlet; + +import entity.Condition; +import entity.UserInfo; +import processing.ProcessQuestion; + +import javax.servlet.ServletContext; +import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.*; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; + +@WebServlet(name = "UpdateSingleConfigServlet",urlPatterns = {"/update2"}) +public class UpdateSingleConfigServlet extends HttpServlet { + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + request.setCharacterEncoding("UTF-8"); + ServletContext context = this.getServletContext(); + String userName = request.getParameter("userName"); + String processType = request.getParameter("type"); + String configId = request.getParameter("configId"); + String data = request.getParameter("configData"); + System.out.println("userName:"+userName + " " + "type:" + processType + " " + "configId:" + "configId:" + configId + " " + "configData:" + data); + + switch(processType){ + case "insert_config": + insertConfig(userName, configId, data, context); + break; + case "update_config": + deleteConfig(userName, configId, data, context); + insertConfig(userName, configId, data, context); + break; + case "delete_config": + deleteConfig(userName, configId, data, context); + break; + case "extra_info": + updateExtraInfo(userName, data, context); + break; + case "batch_update": + batchUpdate(userName, data, context); + + } + + writeConfig(userName, context); + response.setCharacterEncoding("utf-8"); + response.setContentType( "text/plain"); + PrintWriter out = response.getWriter(); + System.out.println("cc"); + out.write("success"); + out.flush(); + out.close(); + + } + + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + + } + + public boolean insertConfig(String userName, String configId, String data, ServletContext context) throws IOException { + Condition condition = new Condition(); + ProcessQuestion process = new ProcessQuestion(); + //data=configLine+"---"+conditionNameList + String dataPair[] = data.split("---"); + String configLine = dataPair[0]; + String conditionNameList[]; + + if(dataPair.length > 1) + conditionNameList = dataPair[1].split(","); + else + conditionNameList = new String[]{"emptySet",}; + condition = process.buildCondition(condition, configLine); + + if(context.getAttribute(userName) == null){ + process.userConfigInit(userName, context); + } + UserInfo userinfo = (UserInfo) context.getAttribute(userName); + if(userinfo.conditionTable.get(conditionNameList[0]) == null){ + List conditionList = new ArrayList(); + userinfo.conditionTable.put(conditionNameList[0], conditionList); + } + userinfo.conditionTable.get(conditionNameList[0]).add(condition); + userinfo.id2config.put(Integer.parseInt(configId), configLine); + + return true; + + } + + public boolean updateConfig(String userName, String configId, String data, ServletContext context) throws IOException { + Condition condition = new Condition(); + ProcessQuestion process = new ProcessQuestion(); + //data=configLine+"---"+conditionNameList + String dataPair[] = data.split("---"); + String configLine = dataPair[0]; + String conditionNameList[] = dataPair[1].split(","); + condition = process.buildCondition(condition, configLine); + + if(context.getAttribute(userName) == null){ + process.userConfigInit(userName, context); + } + UserInfo userinfo = (UserInfo) context.getAttribute(userName); + + if (userinfo.id2config.get(condition.id) == null){ + + }else { + for (String conditionName : conditionNameList) { + if (userinfo.conditionTable.get(conditionName) == null) { + continue; + } + List conditionList = userinfo.conditionTable.get(conditionName); + int condLength = conditionList.size(); + for (int i = 0; i < condLength; i++) { + if (conditionList.get(i).id == Integer.parseInt(configId)) { + conditionList.set(i, condition); + } + } + } + userinfo.id2config.put(Integer.parseInt(configId), configLine); + } + + return true; + + } + + public boolean deleteConfig(String userName, String configId, String data, ServletContext context) throws IOException { + Condition condition = new Condition(); + ProcessQuestion process = new ProcessQuestion(); + //data=configLine+"---"+conditionNameList + + String conditionNameList[] = data.split(","); + if(context.getAttribute(userName) == null){ + process.userConfigInit(userName, context); + } + UserInfo userinfo = (UserInfo) context.getAttribute(userName); + if (userinfo.id2config.containsKey(Integer.parseInt(configId))) { + String currentPremises[] = userinfo.id2config.get(Integer.parseInt(configId)).split("\\|")[0].split(","); + + + for (String premise : currentPremises) { + String conditionName = premise.split("=")[0]; + if (userinfo.conditionTable.get(conditionName) == null) { + continue; + } + List conditionList = userinfo.conditionTable.get(conditionName); + Iterator condIter = userinfo.conditionTable.get(conditionName).iterator(); + while (condIter.hasNext()) { + Condition c = condIter.next(); + if (c.id == Integer.parseInt(configId)) { + condIter.remove(); + } + } + } + userinfo.id2config.remove(Integer.parseInt(configId)); + } + return true; + } + + public boolean updateExtraInfo(String userName, String data, ServletContext context) throws IOException { + ProcessQuestion process = new ProcessQuestion(); + + if(context.getAttribute(userName) == null){ + if(context.getAttribute(userName) == null){ + process.userConfigInit(userName, context); + } + } + UserInfo userinfo = (UserInfo) context.getAttribute(userName); + String extraElements[] = data.split("\\|"); + userinfo.extraInfo.put(extraElements[1],extraElements[2]); + + return true; + } + + public String writeConfig(String userName, ServletContext context) throws IOException { + + System.out.println("write"); + UserInfo userinfo = (UserInfo) context.getAttribute(userName); + String CONFIG_DIR = System.getProperty("user.dir")+"/config", configText; + context.setAttribute(userName,userinfo); + String path = CONFIG_DIR + "/" + userName + ".txt"; + File file = new File(path); + File dir = new File(System.getProperty("user.dir")+"/config"); + String returnMessage = "success"; + + if(!dir.exists()) + dir.mkdir(); + if(!file.exists()){ + file.createNewFile(); + } + FileWriter fw = new FileWriter(file); + BufferedWriter bw = new BufferedWriter(fw); + try { + Iterator keyIter = userinfo.extraInfo.keySet().iterator(); + while (keyIter.hasNext()) { + String info = keyIter.next(); + if(!userinfo.extraInfo.get(info).equals("")) + bw.write("-extraInfo-|" + info + "|" + userinfo.extraInfo.get(info) + "\n"); + } + Iterator idIter = userinfo.id2config.keySet().iterator(); + while (idIter.hasNext()) { + int id = idIter.next(); + bw.write(userinfo.id2config.get(id) + "\n"); + } + bw.write("\n"); + }catch(Exception e){ + e.printStackTrace(); + returnMessage = "config file write error"; + }finally { + bw.close(); + fw.close(); + } + + return returnMessage; + } + + + public void batchUpdate(String userName, String data, ServletContext context) throws IOException { + BufferedReader br = new BufferedReader(new StringReader(data)); + UserInfo userinfo = new UserInfo(userName); + userinfo = ProcessQuestion.buildUserInfo(br, userinfo); + context.setAttribute(userinfo.userName,userinfo); + System.out.println("batchupdate"); + } +} diff --git a/web/js/jquery-3.3.1.min.js b/web/js/jquery-3.3.1.min.js new file mode 100644 index 0000000..4d9b3a2 --- /dev/null +++ b/web/js/jquery-3.3.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w(" + @@ -37,7 +37,7 @@ //几个参数需要注意一下 type: "POST",//方法类型 dataType: "text",//预期服务器返回的数据类型 - url: "update" ,//url + url: "getConfig" ,//url data: $('#frm').serialize(), success: function (result) { var list = result.split("---") diff --git a/web/update3.html b/web/update3.html index c5ac067..0dc0100 100644 --- a/web/update3.html +++ b/web/update3.html @@ -2,7 +2,7 @@ 配置文件 - + @@ -54,7 +54,7 @@ //几个参数需要注意一下 type: "POST",//方法类型 dataType: "text",//预期服务器返回的数据类型 - url: "update" ,//url + url: "getConfig" ,//url data:{ "userName":document.getElementById("txtUserName").value, "config_string": text