Skip to content

Commit 30b69c0

Browse files
committed
deploy: cd12d10
1 parent e0acd87 commit 30b69c0

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

code_samples/default_v2.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@ mindee_client = ClientV2(api_key)
1111
params = InferenceParameters(
1212
# ID of the model, required.
1313
model_id=model_id,
14-
# If set to `True`, will enable Retrieval-Augmented Generation.
15-
rag=False,
14+
15+
# Options: set to `True` or `False` to override defaults
16+
17+
# Enhance extraction accuracy with Retrieval-Augmented Generation.
18+
rag=None,
19+
# Extract the full text content from the document as strings.
20+
raw_text=None,
21+
# Calculate bounding box polygons for all fields.
22+
polygon=None,
23+
# Boost the precision and accuracy of all extractions.
24+
# Calculate confidence scores for all fields.
25+
confidence=None,
1626
)
1727

1828
# Load a file from disk

0 commit comments

Comments
 (0)