Skip to content

Commit bb355a4

Browse files
📝 fix documentation (#231)
1 parent 09c6f81 commit bb355a4

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

docs/extras/guide/expense_receipts_v5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ print(result.document.inference.prediction.document_type.value)
210210

211211
```py
212212
for line_items_elem in result.document.inference.prediction.line_items:
213-
print(line_items_elem.value)
213+
print(line_items_elem)
214214
```
215215

216216
## Expense Locale

docs/extras/guide/financial_document_v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ print(result.document.inference.prediction.invoice_number.value)
277277

278278
```py
279279
for line_items_elem in result.document.inference.prediction.line_items:
280-
print(line_items_elem.value)
280+
print(line_items_elem)
281281
```
282282

283283
## Locale

docs/extras/guide/invoices_v4.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ print(result.document)
3232
########
3333
Document
3434
########
35-
:Mindee ID: 80f2328c-58a5-486a-9599-eb2d738680f0
35+
:Mindee ID: a9062dd1-0d34-42ab-9505-0481a8545106
3636
:Filename: default_sample.jpg
3737
3838
Inference
3939
#########
40-
:Product: mindee/invoices v4.4
40+
:Product: mindee/invoices v4.5
4141
:Rotation applied: Yes
4242
4343
Prediction
@@ -63,6 +63,8 @@ Prediction
6363
:Customer Name: JIRO DOI
6464
:Customer Company Registrations:
6565
:Customer Address: 1954 Bloor Street West Toronto, ON, M6P 3K9 Canada
66+
:Shipping Address:
67+
:Billing Address: 1954 Bloor Street West Toronto, ON, M6P 3K9 Canada
6668
:Document Type: INVOICE
6769
:Line Items:
6870
+--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
@@ -101,6 +103,8 @@ Page 0
101103
:Customer Name: JIRO DOI
102104
:Customer Company Registrations:
103105
:Customer Address: 1954 Bloor Street West Toronto, ON, M6P 3K9 Canada
106+
:Shipping Address:
107+
:Billing Address: 1954 Bloor Street West Toronto, ON, M6P 3K9 Canada
104108
:Document Type: INVOICE
105109
:Line Items:
106110
+--------------------------------------+--------------+----------+------------+--------------+--------------+------------+
@@ -267,7 +271,7 @@ print(result.document.inference.prediction.invoice_number.value)
267271

268272
```py
269273
for line_items_elem in result.document.inference.prediction.line_items:
270-
print(line_items_elem.value)
274+
print(line_items_elem)
271275
```
272276

273277
## Locale

docs/extras/guide/material_certificate_v1.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ print(result.document)
2626
# Print the document-level summary
2727
# print(result.document.inference.prediction)
2828
```
29-
3029
# Field Types
3130
## Standard Fields
3231
These fields are generic and used in several products.

0 commit comments

Comments
 (0)