Commit c39a8a25 authored by yangyw's avatar yangyw

bugfix:修改输入的参数类型

parent 12878bfe
...@@ -59,7 +59,7 @@ public class AiPlatformExtensionService { ...@@ -59,7 +59,7 @@ public class AiPlatformExtensionService {
inputs.put("scene", "single_evaluate"); inputs.put("scene", "single_evaluate");
inputs.put("business_id", String.valueOf(businessId)); inputs.put("business_id", String.valueOf(businessId));
JSONObject param = new JSONObject(); JSONObject param = new JSONObject();
param.put("query", businessId); param.put("query", String.valueOf(businessId));
param.put("inputs", inputs); param.put("inputs", inputs);
param.put("response_mode", "blocking"); param.put("response_mode", "blocking");
param.put("conversation_id", ""); param.put("conversation_id", "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment