@@ -40,8 +40,8 @@ void parseFile_emptyMultiPage_mustSucceed() throws IOException, InterruptedExcep
4040 LocalInputSource source = new LocalInputSource (
4141 new File ("src/test/resources/file_types/pdf/multipage_cut-2.pdf" ));
4242
43- InferenceOptions options =
44- InferenceOptions .builder (modelId ).build ();
43+ InferenceParameters options =
44+ InferenceParameters .builder (modelId ).build ();
4545
4646 InferenceResponse response = mindeeClient .enqueueAndParse (source , options );
4747
@@ -64,8 +64,8 @@ void parseFile_filledSinglePage_mustSucceed() throws IOException, InterruptedExc
6464 LocalInputSource source = new LocalInputSource (
6565 new File ("src/test/resources/products/financial_document/default_sample.jpg" ));
6666
67- InferenceOptions options =
68- InferenceOptions .builder (modelId ).build ();
67+ InferenceParameters options =
68+ InferenceParameters .builder (modelId ).build ();
6969
7070 InferenceResponse response = mindeeClient .enqueueAndParse (source , options );
7171
@@ -98,8 +98,8 @@ void invalidModel_mustThrowError() throws IOException {
9898 LocalInputSource source = new LocalInputSource (
9999 new File ("src/test/resources/file_types/pdf/multipage_cut-2.pdf" ));
100100
101- InferenceOptions options =
102- InferenceOptions .builder ("INVALID MODEL ID" ).build ();
101+ InferenceParameters options =
102+ InferenceParameters .builder ("INVALID MODEL ID" ).build ();
103103
104104 MindeeHttpExceptionV2 ex = assertThrows (
105105 MindeeHttpExceptionV2 .class ,
0 commit comments