(String[] args)
| 21 | } |
| 22 | |
| 23 | public static void main(String[] args) { |
| 24 | try { |
| 25 | // Create the task |
| 26 | TingWu tingwu = new TingWu(); |
| 27 | TingWuParam param = |
| 28 | TingWuParam.builder() |
| 29 | .model("tingwu-automotive-service-inspection") |
| 30 | .input(buildCreateTask("123456")) |
| 31 | .parameters(new HashMap<>()) // Set task parameters |
| 32 | .build(); |
| 33 | DashScopeResult result = tingwu.call(param); |
| 34 | System.out.println(JsonUtils.toJson(result)); |
| 35 | } catch (ApiException | NoApiKeyException | InputRequiredException e) { |
| 36 | System.out.println(e.getMessage()); |
| 37 | } |
| 38 | System.exit(0); |
| 39 | } |
| 40 | } |
nothing calls this directly
no test coverage detected