Commit 124ca54a authored by luojun's avatar luojun

deepseek优化

parent 1c955ab9
......@@ -62,6 +62,8 @@ public class DeepSeekAiListener extends EventSourceListener {
webSocketModel.setName(maxKbChatReq.getUserName());
webSocketModel.setTitle(maxKbChatReq.getShowType().getDesc());
webSocketModel.setImgs(maxKbChatReq.getShowType().getImgs());
webSocketModel.setNote(maxKbChatReq.getShowType().getNote());
webSocketModel.setPosition(maxKbChatReq.getShowType().getPosition());
webSocketModel.setContent("");
try {
session.getBasicRemote().sendText(JSON.toJSONString(webSocketModel));
......@@ -87,8 +89,6 @@ public class DeepSeekAiListener extends EventSourceListener {
map.put("imgs",maxKbChatReq.getShowType().getImgs());
map.put("title",maxKbChatReq.getShowType().getDesc());
map.put("content",completionResponse.getContent());
map.put("note",maxKbChatReq.getShowType().getNote());
map.put("position",maxKbChatReq.getShowType().getPosition());
String msg = JSON.toJSONString(map);
maxKbChatReq.getSession().getBasicRemote().sendText(msg);
if (maxKbChatReq.getClient().equals(WebSocketUtil.H5)){
......
......@@ -42,4 +42,12 @@ public class WebSocketModel {
* 图片列表
*/
private List<String> imgs;
/**
* 人员介绍内容
*/
private String note;
/**
* 人员职位
*/
private String position;
}
......@@ -319,11 +319,11 @@ public class VoiceWebSocketServer {
} else if (msg.contains("刘瑞华")){
return ResponseEnum.ZK_LRH;
} else if (msg.contains("中科慧居") && (msg.contains("运营平台"))){
return ResponseEnum.ZK_SMH;
return ResponseEnum.ZK_PLATFORM;
} else if (msg.contains("中科慧居") && (msg.contains("小程序") || msg.contains("客户端小程序"))){
return ResponseEnum.ZK_SMH;
return ResponseEnum.ZK_SMALL_PROGRAM;
} else if (msg.contains("中科慧居") && (msg.contains("手持机") || msg.contains("手持机收费终端"))){
return ResponseEnum.ZK_SMH;
return ResponseEnum.ZK_POS;
} else if (msg.contains("中科慧居") && (msg.contains("超级魔盒") || msg.contains("物联网超级魔盒"))){
return ResponseEnum.ZK_SMH;
}else if (msg.contains("中科慧居") && (msg.contains("无线高位视频") || msg.contains("ETC系列设备"))){
......
......@@ -33,7 +33,7 @@ public enum ResponseEnum{
ZK_PLATFORM(8,"运营平台", Arrays.asList("https://bj-img.justh5.com/newBigScreen/software/yypt1.png", "https://bj-img.justh5.com/newBigScreen/software/yypt2.png","https://bj-img.justh5.com/newBigScreen/software/yypt3.png","https://bj-img.justh5.com/newBigScreen/software/yypt4.png"),null,null),
ZK_SMALL_PROGRAM(8,"客户端小程序", Arrays.asList("https://bj-img.justh5.com/newBigScreen/software/khdxcx1.png", "https://bj-img.justh5.com/newBigScreen/software/khdxcx2.png","https://bj-img.justh5.com/newBigScreen/software/khdxcx3.png","https://bj-img.justh5.com/newBigScreen/software/khdxcx4.png"),null,null),
ZK_POS(8,"手持机收费终端", Arrays.asList("https://bj-img.justh5.com/newBigScreen/software/sjzd1.png", "https://bj-img.justh5.com/newBigScreen/software/sjzd2.png","https://bj-img.justh5.com/newBigScreen/software/sjzd3.png","https://bj-img.justh5.com/newBigScreen/software/sjzd4.png"),null,null),
ZK_TB(9,"汤波", Collections.singletonList("https://bj-img.justh5.com/newBigScreen/person/tb.png"),"创始人&董事长","中国科学院硕士研究生;人力资源经济师;原世界500强企业人力资源总监;十余年人力资源管理经验,具备系统的专业知识和丰富的实战经历。"),
ZK_TB(9,"汤波", Collections.singletonList("https://bj-img.justh5.com/newBigScreen/person/tb.png"),"创始人&董事长","中科慧居创始人;中科院研究生、MBA、中科院第一届创新创业班成员;动静态一体智能交通研究院副院长、中海地产项目经理、智能家居项目负责人;注册一级建造师、物联网领域资深专家;20多项国家专利发明人、2015年互联网+创新创业大赛全国总决赛最佳创业项目奖、2021年嘉兴市创业领军人才、2022年度科创中国长三角G60创业榜单30强。"),
ZK_LL(9,"李乐", Collections.singletonList("https://bj-img.justh5.com/newBigScreen/person/ll.png"),"联合创始人","中国科学院硕士研究生;人力资源经济师;原世界500强企业人力资源总监;十余年人力资源管理经验,具备系统的专业知识和丰富的实战经历。"),
ZK_LBL(9,"吕泊岚", Collections.singletonList("https://bj-img.justh5.com/newBigScreen/person/lbl.png"),"联合创始人","美国纽约伯克利大学海归,CFA;之江创业基金合伙人;中科慧居创始合伙人;沣墒资本管理合伙人;中科智泊科技董事长;畅尔装备监事。"),
ZK_SWW(9,"孙巍巍", Collections.singletonList("https://bj-img.justh5.com/newBigScreen/person/sww.png"),"联合创始人","原百度IDG事业部智慧停车行业总经理; 原精英路通常务副总经理;中交一公局停车行业运营总监; 两项国家行业标准参与制定者;省级科技进步一等奖。"),
......
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