public void sample(AipNlp client) { String word1 = "北京"; String word2 = "上海"; // 传入可选参数调用接口 HashMap options = new HashMap(); options.put("mode", 0); // 词义相似度 JSONObject res = client.wordSimEmbedding(word1, word2, options); System.out.println(res.toString(2)); } 运行后报错如下 { "error_code": 282004, "error_msg": "invalid parameter(s)", "log_id": 613307206256948550 }...