Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Mindee Python Client Library Changelog

## v4.28.1 - 2025-09-03
### Fixes
* :bug: inference options should default to None


## v4.28.0 - 2025-09-02
### Changes
* :sparkles: add list field typed accessors
Expand Down
14 changes: 12 additions & 2 deletions docs/extras/code_samples/default_v2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@ mindee_client = ClientV2(api_key)
params = InferenceParameters(
# ID of the model, required.
model_id=model_id,
# If set to `True`, will enable Retrieval-Augmented Generation.
rag=False,

# Options: set to `True` or `False` to override defaults

# Enhance extraction accuracy with Retrieval-Augmented Generation.
rag=None,
# Extract the full text content from the document as strings.
raw_text=None,
# Calculate bounding box polygons for all fields.
polygon=None,
# Boost the precision and accuracy of all extractions.
# Calculate confidence scores for all fields.
confidence=None,
)

# Load a file from disk
Expand Down
2 changes: 1 addition & 1 deletion mindee/versions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys

__version__ = "4.28.0"
__version__ = "4.28.1"

PYTHON_VERSION = f"{sys.version_info[0]}.{sys.version_info[1]}"

Expand Down
4 changes: 4 additions & 0 deletions tests/test_client_v2_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ def test_parse_file_filled_single_page_must_succeed(
params = InferenceParameters(
model_id=findoc_model_id,
webhook_ids=[],
rag=None,
raw_text=None,
polygon=None,
confidence=None,
alias="py_integration_filled_single",
)

Expand Down