gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
java map转String
- User
java map转String
- Assistant
Map<String, String> toStrMap = new HashMap<>(); String strMap = ""; for (Map.Entry<String, String> entry : toStrMap.entrySet()) { strMap += entry.getKey() + ":" + entry.getValue() + ","; } strMap = strMap.substring(0, strMap.length() - 1); // 去掉尾部逗号 System.out.println(strMap);
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.