技能对话接口,API多轮对话的实现
Ta的回复 :拼接参数...: String params = "{\"bot_session\":\"{\\\"session_id\\\":\\\" " + session_id + "\\\"}\"," + "\"log_id\":\"" + logId + "\"" + ",\"request\":" + "{\"bernard_level\":1" + ",\"client_session\":\"" + "{\\\"client_results\\\":\\\"\\\", " + "\\\"candidate_options\\\":[]}\"," + "\"query\":\"" + content + "\"," + "\"query_info\":" + "{\"asr_candidates\":[]," + "\"source\":\"ASR\"," + "\"type\":\"TEXT\"}," + "\"updates\":\"\"," + "\"user_id\":\"" + user_id + "\"}," + "\"bot_id\":" + Constants.BAIDU_UNIT_BOT_ID + "," + "\"version\":\"2.0\"}";