chatbot_simbert:检索类型的微信聊天机器人问答系统,通过API异步通信,实现在微信上交互,本项目包括模型和工程化部署一体化。包含查天气,知识图谱聊天查询,生成式问答聊天查询,图片识别,多次重复回答等;涉及到命名实体识别,相似匹配(bm25,bool检索,simbert等),bert+seq2seq生成,neo4j知识图谱查询等技术

上传者: 42109125 | 上传时间: 2024-04-07 10:07:55 | 文件大小: 1.23MB | 文件类型: ZIP
chatbot_simbert 检索类型的微信聊天机器人/问答系统,通过API异步通信,实现在微信上交互,可以查询天气、重复问句识别等情况;本项目包括模型和工程化部署一体化。用到SimBert等模型。 描述 各位可以根据自己的需求部署或修改: 问答库如果是任务型的,就是一个任务型聊天机器人,如果闲聊的问答库,那就是闲聊型聊天机器人; 后续也可以添加意图,用来用意图识别的匹配;也可以添加个知识图谱的API... 总之可以添加的模块很多,扩展性非常强大。 品尝方式(使用说明) 准备: 环境准备:安装requirement中的依赖包 下载模型,并放置在code/1.retrieve_match/3.simbert_match/config路径下: simbert模型: 启动: 1、 启动code/2.API_serve/KG_service.py 2、 启动code/3.wx_project/c

文件下载

资源详情

[{"title":"( 26 个子文件 1.23MB ) chatbot_simbert:检索类型的微信聊天机器人问答系统,通过API异步通信,实现在微信上交互,本项目包括模型和工程化部署一体化。包含查天气,知识图谱聊天查询,生成式问答聊天查询,图片识别,多次重复回答等;涉及到命名实体识别,相似匹配(bm25,bool检索,simbert等),bert+seq2seq生成,neo4j知识图谱查询等技术","children":[{"title":"chatbot_simbert-main","children":[{"title":"data","children":[{"title":"qa_corpus.xlsx <span style='color:#111;'> 899.95KB </span>","children":null,"spread":false},{"title":"stopwords","children":[{"title":"哈工大停用词表.txt <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"code","children":[{"title":"1.retrieve_match","children":[{"title":"2.Bool","children":[{"title":"bool_recall.py <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"bool_config.py <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"bool_model.py <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"5.weather_search","children":[{"title":"city.json <span style='color:#111;'> 11.98KB </span>","children":null,"spread":false},{"title":"weather.py <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"1.BM25","children":[{"title":"bm25_config.py <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"bm25_model.py <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"哈工大停用词表.txt <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false},{"title":"redis.json <span style='color:#111;'> 7.03KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"bm25_recall.py <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"Predict_rank.py <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"4.model_config","children":[{"title":"model_config.py <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"6.max_segment","children":[{"title":"max_seg.py <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"3.simbert_match","children":[{"title":"retireval_bunny.py <span style='color:#111;'> 6.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"3.wx_project","children":[{"title":"server.py <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"wxpy.pkl <span style='color:#111;'> 1.20MB </span>","children":null,"spread":false},{"title":"chat_bot.py <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"2.API_serve","children":[{"title":"service_helper.py <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"KG_service.py <span style='color:#111;'> 992B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"requirement.txt <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明