Repository navigation
✨ pass text context to chained model - #481
Merged
Merged
Conversation
ianardee
force-pushed
the
text-context
branch
from
November 25, 2026 18:09
1af954a to
ebd1fd2
Compare
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the v2 SDK coverage additions and classification formatting correction.
No open issues 🎉
What changed in this PR
This PR strengthens coverage for passing text context to chained extraction models in the v2 SDK and corrects classification response formatting.
Changes:
- Add parameter serialization tests for split, crop, classification, and extraction requests.
- Verify split and classification response text against fixtures, and fix the classification heading.
- Clarify contributor guidance for code conversion, linting, and test fixtures.
| File | Description |
|---|---|
tests/v2/product/split/test_split_response.py |
Check rendered split responses against fixtures. |
tests/v2/product/split/test_split_parameters.py |
Test default parameters and chained extraction context. |
tests/v2/product/extraction/test_extraction_parameters.py |
Test extraction options, text context, and schema serialization. |
tests/v2/product/crop/test_crop_parameters.py |
Test default parameters and chained extraction context. |
tests/v2/product/classification/test_classification_response.py |
Check rendered classification responses against fixtures. |
tests/v2/product/classification/test_classification_parameters.py |
Test default parameters and chained extraction context. |
mindee/v2/product/classification/classification_result.py |
Correct the classification heading underline and newline. |
AGENTS.md |
Clarify conversion, linting, and fixture guidance. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Types of changes