Skip to content

✨ pass text context to chained model - #481

Merged
ianardee merged 1 commit into
mainfrom
text-context
Nov 25, 2026
Merged

ianardee merged 1 commit into
mainfrom
text-context

Conversation

@ianardee

Copy link
Copy Markdown
Contributor

Description

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@ianardee
ianardee merged commit 3b503f7 into main Nov 25, 2026
37 checks passed
@ianardee
ianardee deleted the text-context branch November 25, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants