Skip to content

feat: add structured output helper - #713

Merged
AmitoVrito merged 3 commits into
mainfrom
feat/issue-696-structured-output
May 20, 2026
Merged

AmitoVrito merged 3 commits into
mainfrom
feat/issue-696-structured-output

Conversation

@DhruvGarg111

@DhruvGarg111 DhruvGarg111 commented May 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add provider-agnostic structured output helper with retries + streaming
  • add tests and example usage
  • export structured output API at top level

Testing

  • ruff check
  • ruff format --check
  • mypy
  • pytest (targeted 5 tests)

closes: #696

@DhruvGarg111 DhruvGarg111 added the v1.8 Planned for v1.8 release label May 20, 2026
@AmitoVrito
AmitoVrito merged commit e10d3ed into main May 20, 2026
5 checks passed
@AmitoVrito

Copy link
Copy Markdown
Collaborator

Thanks Dhruv. The IncrementalJSONBuffer approach for detecting complete JSON in a stream is a nice touch. Retry strategy with fallback provider support and backoff is the right design. 211 tests covering edge cases well. Merged via #719.

AmitoVrito added a commit that referenced this pull request May 20, 2026
…turedOutput, AgentFederation, FineTuningPipeline, benchmark harness

Covers PRs #711 #712 #713 #718 #714 #717 merged via batch PR #719.

Co-authored-by: Dhruv Garg <[email protected]>
Co-authored-by: Abhay <[email protected]>
@AmitoVrito
AmitoVrito deleted the feat/issue-696-structured-output branch May 22, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1.8 Planned for v1.8 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: StructuredOutput validation framework with auto-retry

2 participants