From f095e5716ede47cd3e0babe9edfcb43936a6c4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ianar=C3=A9=20S=C3=A9vi?= Date: Mon, 1 Jun 2026 15:29:49 +0200 Subject: [PATCH] :memo: clean up v2 samples --- docs/code_samples/v2_classification.txt | 9 ++++----- docs/code_samples/v2_crop.txt | 9 ++++----- docs/code_samples/v2_extraction_polling.txt | 9 ++++----- docs/code_samples/v2_extraction_webhook.txt | 9 ++++----- docs/code_samples/v2_ocr.txt | 9 ++++----- docs/code_samples/v2_split.txt | 9 ++++----- 6 files changed, 24 insertions(+), 30 deletions(-) diff --git a/docs/code_samples/v2_classification.txt b/docs/code_samples/v2_classification.txt index 8dd97a82..ec5ad9ba 100644 --- a/docs/code_samples/v2_classification.txt +++ b/docs/code_samples/v2_classification.txt @@ -1,20 +1,19 @@ enqueueAndGetResult( ClassificationResponse::class, $inputSource, - $classificationParams + $modelParams ); // Print a summary of the response diff --git a/docs/code_samples/v2_crop.txt b/docs/code_samples/v2_crop.txt index b52a3b2e..6ba38e59 100644 --- a/docs/code_samples/v2_crop.txt +++ b/docs/code_samples/v2_crop.txt @@ -1,20 +1,19 @@ enqueueAndGetResult( CropResponse::class, $inputSource, - $cropParams + $modelParams ); // Print a summary of the response diff --git a/docs/code_samples/v2_extraction_polling.txt b/docs/code_samples/v2_extraction_polling.txt index c4696e52..e8b5e014 100644 --- a/docs/code_samples/v2_extraction_polling.txt +++ b/docs/code_samples/v2_extraction_polling.txt @@ -1,20 +1,19 @@ enqueueAndGetResult( ExtractionResponse::class, $inputSource, - $inferenceParams + $modelParams ); // Print a summary of the response diff --git a/docs/code_samples/v2_extraction_webhook.txt b/docs/code_samples/v2_extraction_webhook.txt index 28293a6b..6385f622 100644 --- a/docs/code_samples/v2_extraction_webhook.txt +++ b/docs/code_samples/v2_extraction_webhook.txt @@ -1,19 +1,18 @@ enqueue( $inputSource, - $inferenceParams + $modelParams ); // Print the job ID diff --git a/docs/code_samples/v2_ocr.txt b/docs/code_samples/v2_ocr.txt index 5beba83d..1711049e 100644 --- a/docs/code_samples/v2_ocr.txt +++ b/docs/code_samples/v2_ocr.txt @@ -1,20 +1,19 @@ enqueueAndGetResult( OcrResponse::class, $inputSource, - $ocrParams + $modelParams ); // Print a summary of the response diff --git a/docs/code_samples/v2_split.txt b/docs/code_samples/v2_split.txt index 73c7c137..a43ea01b 100644 --- a/docs/code_samples/v2_split.txt +++ b/docs/code_samples/v2_split.txt @@ -1,20 +1,19 @@ enqueueAndGetResult( SplitResponse::class, $inputSource, - $splitParams + $modelParams ); // Print a summary of the response