Skip to content

Commit cd74401

Browse files
🔖 Version 4.23.0 (#214)
1 parent f7aac3c commit cd74401

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Mindee Java API Library Changelog
22

3+
## v4.23.0 - 2024-12-12
4+
### Changes
5+
* :sparkles: allow local downloading of remote sources
6+
* :coffin: remove support for (FR) Carte Vitale V1 in favor of French Health Card V1
7+
### Fixes
8+
* :memo: fix technical documentation.
9+
10+
311
## v4.22.0 - 2024-11-28
412
### Changes
513
* :sparkles: add support for workflows

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ For example USA-specific classes will be in the `com.mindee.product.us` package:
7171
import com.mindee.product.us.bankcheck.BankCheckV1;
7272
```
7373

74-
### Custom Documents (API Builder)
74+
### Custom Documents (docTI & Custom APIs)
7575
```java
7676
import com.mindee.MindeeClient;
7777
import com.mindee.input.LocalInputSource;
7878
import com.mindee.parsing.common.PredictResponse;
79-
import com.mindee.product.custom.CustomV1;
79+
import com.mindee.product.generated.GeneratedV1;
8080
import com.mindee.http.Endpoint;
8181
import java.io.File;
8282
import java.io.IOException;
@@ -95,7 +95,7 @@ public class SimpleMindeeClient {
9595
"src/main/resources/invoices/invoice1.pdf"
9696
);
9797
// Parse the file
98-
Document<CustomV1> customDocument = mindeeClient.parse(
98+
Document<GeneratedV1> customDocument = mindeeClient.enqueueAndParse(
9999
localInputSource,
100100
endpoint
101101
);
@@ -221,7 +221,7 @@ Complete details on the working of the library are available in the following gu
221221
* [Java EU Driver License OCR](https://developers.mindee.com/docs/java-eu-driver-license-ocr)
222222
* [Java FR Bank Account Detail OCR](https://developers.mindee.com/docs/java-fr-bank-account-details-ocr)
223223
* [Java FR Carte Grise OCR](https://developers.mindee.com/docs/java-fr-carte-grise-ocr)
224-
* [Java FR Carte Vitale OCR](https://developers.mindee.com/docs/java-fr-carte-vitale-ocr)
224+
* [Java FR Health Card OCR](https://developers.mindee.com/docs/java-fr-health-card-ocr)
225225
* [Java FR ID Card OCR](https://developers.mindee.com/docs/java-fr-carte-nationale-didentite-ocr)
226226
* [Java US Bank Check OCR](https://developers.mindee.com/docs/java-us-bank-check-ocr)
227227
* [Java US W9 OCR](https://developers.mindee.com/docs/java-us-w9-ocr)

docs/custom_v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ category: 622b805aaec68102ea7fcbc2
44
slug: java-api-builder
55
parentDoc: 631a062c3718850f3519b793
66
---
7-
> 🚧 This product is still supported, but is considered to be deprecated. If you are looking for the DocTI API documentation, you can find it [here](https://developers.mindee.com/docs/java-generated-ocr).
7+
> 🚧 This product is still supported, but is considered to be deprecated. If you are looking for the docTI API documentation, you can find it [here](https://developers.mindee.com/docs/java-generated-ocr).
88
99
## Quick Start
1010

docs/getting_started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,12 @@ PredictResponse<ReceiptV4> receiptV4Inference = mindeeClient.parse(ReceiptV4.cla
268268

269269
For more fine-grained control over parsing the documents you can have a look on the `parse` override method.
270270

271-
#### Custom Documents
271+
#### Custom Documents (docTI)
272272

273273
In this case, you will have two ways to handle them.
274274

275275
The first one enables the possibility to use a class object which represents a kind of dictionary where,
276-
keys will be the name of each field define in your Custom API model (on the Mindee platform).
276+
keys will be the name of each field define in your Custom API model (`docTI` section on the Mindee platform).
277277

278278
It also requires that you instantiate a new `Endpoint` object to define the information of your custom API built.
279279

@@ -284,7 +284,7 @@ CustomEndpoint endpoint = new CustomEndpoint(
284284
"1.0" // optional
285285
);
286286

287-
PredictResponse<CustomV1> customDocument = mindeeClient.parse(localInputSource, endpoint);
287+
PredictResponse<GeneratedV1> customDocument = mindeeClient.enqueueAndParse(localInputSource, endpoint);
288288
```
289289

290290
The second one is using your own class.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.mindee.sdk</groupId>
77
<artifactId>mindee-api-java</artifactId>
8-
<version>4.22.0</version>
8+
<version>4.23.0</version>
99
<modelVersion>4.0.0</modelVersion>
1010
<name>Mindee Java Helper Library</name>
1111
<description>Java Library to call Mindee's Off-The-Shelf and Custom APIs</description>

0 commit comments

Comments
 (0)