Skip to content

Commit 4212c66

Browse files
fix smoke tests
1 parent aacff56 commit 4212c66

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/code_samples/v2_classification.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Mindee\ClientV2;
3+
use Mindee\V2\Client;
44
use Mindee\V2\Product\Classification\Params\ClassificationParameters;
55
use Mindee\V2\Product\Classification\ClassificationResponse;
66
use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010
$modelId = "MY_MODEL_ID";
1111

1212
// Init a new client
13-
$mindeeClient = new ClientV2($apiKey);
13+
$mindeeClient = new Client($apiKey);
1414

1515
// Set classification parameters
1616
// Note: modelId is mandatory.

docs/code_samples/v2_crop.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Mindee\ClientV2;
3+
use Mindee\V2\Client;
44
use Mindee\V2\Product\Crop\Params\CropParameters;
55
use Mindee\V2\Product\Crop\CropResponse;
66
use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010
$modelId = "MY_MODEL_ID";
1111

1212
// Init a new client
13-
$mindeeClient = new ClientV2($apiKey);
13+
$mindeeClient = new Client($apiKey);
1414

1515
// Set crop parameters
1616
// Note: modelId is mandatory.

docs/code_samples/v2_extraction_polling.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Mindee\ClientV2;
3+
use Mindee\V2\Client;
44
use Mindee\Input\InferenceParameters;
55
use Mindee\Input\PathInput;
66
use Mindee\Parsing\V2\InferenceResponse;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010
$modelId = "MY_MODEL_ID";
1111

1212
// Init a new client
13-
$mindeeClient = new ClientV2($apiKey);
13+
$mindeeClient = new Client($apiKey);
1414

1515
// Set inference parameters
1616
// Note: modelId is mandatory.

docs/code_samples/v2_extraction_webhook.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Mindee\ClientV2;
3+
use Mindee\V2\Client;
44
use Mindee\Input\InferenceParameters;
55
use Mindee\Input\PathInput;
66

@@ -9,7 +9,7 @@ $filePath = "/path/to/the/file.ext";
99
$modelId = "MY_MODEL_ID";
1010

1111
// Init a new client
12-
$mindeeClient = new ClientV2($apiKey);
12+
$mindeeClient = new Client($apiKey);
1313

1414
// Set inference parameters
1515
// Note: modelId is mandatory.

docs/code_samples/v2_ocr.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Mindee\ClientV2;
3+
use Mindee\V2\Client;
44
use Mindee\V2\Product\Ocr\Params\OcrParameters;
55
use Mindee\V2\Product\Ocr\OcrResponse;
66
use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010
$modelId = "MY_MODEL_ID";
1111

1212
// Init a new client
13-
$mindeeClient = new ClientV2($apiKey);
13+
$mindeeClient = new Client($apiKey);
1414

1515
// Set ocr parameters
1616
// Note: modelId is mandatory.

docs/code_samples/v2_split.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Mindee\ClientV2;
3+
use Mindee\V2\Client;
44
use Mindee\V2\Product\Split\Params\SplitParameters;
55
use Mindee\V2\Product\Split\SplitResponse;
66
use Mindee\Input\PathInput;
@@ -10,7 +10,7 @@ $filePath = "/path/to/the/file.ext";
1010
$modelId = "MY_MODEL_ID";
1111

1212
// Init a new client
13-
$mindeeClient = new ClientV2($apiKey);
13+
$mindeeClient = new Client($apiKey);
1414

1515
// Set split parameters
1616
// Note: modelId is mandatory.

0 commit comments

Comments
 (0)