|
1 | 1 | package com.mindee.http; |
2 | 2 |
|
3 | 3 | import com.fasterxml.jackson.databind.ObjectMapper; |
4 | | -import com.mindee.InferencePredictOptions; |
| 4 | +import com.mindee.InferenceOptions; |
5 | 5 | import com.mindee.MindeeException; |
6 | 6 | import com.mindee.MindeeSettingsV2; |
7 | 7 | import com.mindee.input.LocalInputSource; |
@@ -74,7 +74,7 @@ private MindeeHttpApiV2( |
74 | 74 | */ |
75 | 75 | public JobResponse enqueuePost( |
76 | 76 | LocalInputSource inputSource, |
77 | | - InferencePredictOptions options |
| 77 | + InferenceOptions options |
78 | 78 | ) { |
79 | 79 | String url = this.mindeeSettings.getBaseUrl() + "/inferences/enqueue"; |
80 | 80 | HttpPost post = buildHttpPost(url, inputSource, options); |
@@ -149,7 +149,7 @@ private MindeeHttpExceptionV2 getHttpError(ClassicHttpResponse response) { |
149 | 149 |
|
150 | 150 | private HttpEntity buildHttpBody( |
151 | 151 | LocalInputSource inputSource, |
152 | | - InferencePredictOptions options |
| 152 | + InferenceOptions options |
153 | 153 | ) { |
154 | 154 | MultipartEntityBuilder builder = MultipartEntityBuilder.create(); |
155 | 155 | builder.setMode(HttpMultipartMode.EXTENDED); |
@@ -187,7 +187,7 @@ private HttpEntity buildHttpBody( |
187 | 187 | private HttpPost buildHttpPost( |
188 | 188 | String url, |
189 | 189 | LocalInputSource inputSource, |
190 | | - InferencePredictOptions options |
| 190 | + InferenceOptions options |
191 | 191 | ) { |
192 | 192 | HttpPost post; |
193 | 193 | try { |
|
0 commit comments