技能对话接口,API多轮对话的实现
Ta的回复 :String params = "{\"bot_session\":\"{\\\"session_id\\\":\\\" " + session_id + "\\\"}\"," + "\"log_id\":\"" + 1106648 + "\"" + ",\"request\":" + "{\"bernard_level\":1" + ",\"client_session\":\"" + "{\\\"client_results\\\":\\\"\\\", " + "\\\"candidate_options\\\":[]}\"," + "\"query\":\"" + content + "\"," + "\"query_info\":" + "{\"asr_candidates\":[]," + "\"source\":\"ASR\"," + "\"type\":\"TEXT\"}," + "\"updates\":\"\"," + "\"user_id\":\"" + 88888 + "\"}," + "\"bot_id\":\"S54982\"}," + "\"version\":\"2.0\"}"; 报错 :ult":{"ref_id":"q9cn6_20211214105107_4257016938"},"error_code":282008,"error_msg":"The request content type is illegal."}