File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/mindee/http Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public JobResponse reqPostInferenceEnqueue(
7272 LocalInputSource inputSource ,
7373 InferenceParameters options
7474 ) {
75- String url = this .mindeeSettings .getBaseUrl () + "/inferences /enqueue" ;
75+ String url = this .mindeeSettings .getBaseUrl () + "/products/extraction /enqueue" ;
7676 HttpPost post = buildHttpPost (url );
7777
7878 MultipartEntityBuilder builder = MultipartEntityBuilder .create ();
@@ -100,7 +100,7 @@ public JobResponse reqPostInferenceEnqueue(
100100 URLInputSource inputSource ,
101101 InferenceParameters options
102102 ) {
103- String url = this .mindeeSettings .getBaseUrl () + "/inferences /enqueue" ;
103+ String url = this .mindeeSettings .getBaseUrl () + "/products/extraction /enqueue" ;
104104 HttpPost post = buildHttpPost (url );
105105
106106 MultipartEntityBuilder builder = MultipartEntityBuilder .create ();
@@ -175,7 +175,7 @@ public JobResponse reqGetJob(String jobId) {
175175 @ Override
176176 public InferenceResponse reqGetInference (String inferenceId ) {
177177
178- String url = this .mindeeSettings .getBaseUrl () + "/inferences /" + inferenceId ;
178+ String url = this .mindeeSettings .getBaseUrl () + "/products/extraction/results /" + inferenceId ;
179179 HttpGet get = new HttpGet (url );
180180
181181 if (this .mindeeSettings .getApiKey ().isPresent ()) {
You can’t perform that action at this time.
0 commit comments