Commit 997e1f4e by hxw2303632

添加配置文件的描述

parent 2c0e85e6
#
## qa问答地址
qa_url=http://192.168.1.78:59000/game
#
## 中控url
# qa问答地址
qa_url=http://aliyun-hz1.chewrobot.com:59100/game
# 中控url
cc_url=http://localhost:8070/api/update/data
#
## condition后台url
# condition后台url
condition_backend_url=http://192.168.1.82:6636/api
#
## action生成指定的后台地址
service_url=http://192.168.1.111:8081/bot/dialog
# 引擎会把表单数据提交到这个地址
service_url=http://192.168.1.178:8081/bot/dialog
......@@ -19,21 +19,33 @@ service_url=http://192.168.1.111:8081/bot/dialog
# condition_backend_url=http://localhost:6636/api
# service_url=http://localhost:8081/bot/dialog
# 超过这个时间就会在内存中清除/保存用户对话数据,这个数据是存档chatcache,相关代码ChatcacheController.updateChatCache4Insert
chatcache_time_out=300000
# 数据模型url
# 数据模型url,现在没用到
automatch_url=http://dev01.centaurstech.com:5700/mermaid/?model=auto-train
# 周治宇的后台
condition_backend_error=语义关系后台异常
# 话术用到的condition和关键词保存在这个文件中
keyword_dir=keywords.txt
# 新平台有个备份功能,在将备份返回给前端之前会将bot的备份文件保存到这个地址
bot_backup_dir=tmp/
# 配置文件地址
config_dir=config/
# 系统预设的无匹配文本,作为最终兜底回答
unknown_text=不好意思,我没听懂你刚才说的话,请换个别的问题试试吧~哎呀,刚才开了小差,没理解你的意思,请换个问题吧~请根据上文信息,认真回答吧,谢谢~我们好像不在一个频道上,换个问题试试,希望我们能够接轨上吧
# 游戏平台,当下个剧情和当前剧情不在同个地点时,提醒玩家前往下一步剧情的地点, 相关代码PlotConstructor.BFSGenerate4
location_hint=请到%s
# 如果回答无匹配文本的人全是离线的, 那么就会出现没有人可以说话的情况
no_one_can_reply_unknown=此地点没人可以回答unknown
game_start_hint=【旁白@%正常】请说开始剧情或者继续剧情
......@@ -41,10 +53,15 @@ game_welcome_text=【旁白@正常】欢迎来到%s,请说继续剧情或者重
game_module_error=游戏模块出错
program_error=程序出现异常
# 配置文件中的所有配置条目都不匹配时会回答这个
intent_not_understand=我不理解
# -------------------------------游戏生成---------------------------
# 周治宇的后台需要权限Authorization, 如果权限超时会返回400
token_time_out=token超时了
# 新建机器人的默认类别
game_bot_category=游戏
delete_old_config_term_error=删除旧数据config失败
delete_old_variable_error=删除旧变量失败
......@@ -55,22 +72,26 @@ log_path=/var/www/html/logs/
# ----------------------------------------------------------------
# 只是描述
unknown_text_description=对于无法识别的问题做出的回答
# 只是描述
game_step_description=QA问答游戏进度
star_plot_not_exist=开始剧情不存在,请到剧情列表设置
助手对应的变量
# 助手对应的变量
assistant=globalVariable_智能助手
unknown_counter_name=globalVariable_无匹配次数
plot_random_num=globalVariable_剧情随机数
# ------------------------助手情绪--------------
assistant_emotion=正常
# 一个说话者的模板【npc名字@情绪】
talker_pattern=【%s@%s】
# ----------------------------------------------
# 游戏进度标识 ,格式为"引擎账号名_plot_剧情id"
game_step_format=%s_plot_%s
# ----------------------剧情进度标识-----------------
......@@ -84,11 +105,12 @@ plot_generation_error=剧情接口处理出现异常
action_text_generate_error=action生成失败
qa_fetch_error=QA处理中发生异常
默认condition
# 当剧情condition为空时设置的默认condition
default_condition=any_keyword
script_not_exist=话术不存在
# 去沙滩/去营地/去xx这个语义对应的condition,用在当前剧情和下一剧情不再同一个地点时(一个地点A, 一个地点B),会在两个剧情之间产生一个中间结点,当用户说“去B”时就会激活下一剧情(这个中间结点是一个监听剧情,用到的语义关系就是goto_condition)
goto_condition=do_what_vn
#-------------------话术------------------------
......@@ -118,23 +140,35 @@ find_item_owner=[物品名]在[人名]身上
#--------------------condition文本默认配置--------------------------
options=disable_knowledge_qa,fast_understanding,pattern_cover,no_repeat
# 引擎的配置,用在关键词单元
options=disable_knowledge_qa,fast_understanding,pattern_cover,no_repeat,simple_post,delete_chat,actioncache
# 引擎会话的超时时间
idle_limit=180000
# 用于提交表单的condition的名字
condition_fellow=pivot_httppost
# 数据模型的匹配阈值,现在没啥用
automatch_threshold=0.5
# 除提交表单condition以外的所有condition的style参数
default_style=style=interrupt,bothvalue,multimatchvalues
# 提交表单condition的style参数,加上bothvalue会把so都传给后台,如果不加bothValue就只传一边(三元组为问号的那一边)
post_style1=style=httppost,bothvalue,multimatchvalues
post_style2=style=httppost,multimatchvalues
# ---------------------condition解析生成---------------------
bot_info_not_exist=bot信息不存在
# 现在没用
conditon_backend_error=condition后台报错
text_parse_error=文本解析出错
#于游戏有关的condition都存放在这个类别下,现在这个类别id李进峰会在游戏生成时传过来,这个只是默认值
game_condition_category=97
# action的格式
post_action_head=#actions\r\nname=pivot_httppost\r\nstatus=waiting\r\n%s\r\nserviceURL=%s\r\n
update_keyword_error=更新关键词单元失败
......@@ -150,6 +184,7 @@ update_error=更新失败
# --------------------------配置文件增删改查-----------------------------------
# 配置文件的格式
config_pattern=%s|%s|%s|=>|%s|nextStep=%s|status=%s|configId=%s
config_delete_error=删除配置文件失败
condition_name_update_error=更新语义关系名字失败
......@@ -172,7 +207,11 @@ variable_delete_error=变量删除失败
variable_update_error=变量更新失败
variable_sql_delete_error=从数据库删除变量失败
variable_save_format=-varInitial-|%s|%s\n
extra_info_format=-extraInfo-|%s|%s\n
#调用变量更新方法需要的参数,格式为 变量名---变量值, 代码VariableUtils.updateVariable。 这个有点多余,
variable_update_format=%s---%s
# ---------------------------数据库连接获取失败--------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment