追问的提示信息修改

This commit is contained in:
2025-11-02 00:29:58 +08:00
parent db72d08b98
commit f79d1423ca

View File

@@ -171,7 +171,7 @@ public class ChatWebSocketHandler {
} }
Map<String,String> mapEntity = new HashMap<>(); Map<String,String> mapEntity = new HashMap<>();
mapEntity.put("role","system"); mapEntity.put("role","system");
mapEntity.put("content","你是面试官根据Construction Labourer候选人回答生成追问。只要一个问题,问题不要重复"); mapEntity.put("content","You are an interviewer. Generate follow-up questions based on Construction Labourer candidate responses.");
List<Map<String,String>> list = new LinkedList(); List<Map<String,String>> list = new LinkedList();
list.add(mapEntity); list.add(mapEntity);
promptJson = JSONUtil.toJsonStr(list); promptJson = JSONUtil.toJsonStr(list);