Skip to content

Conversation

@mikesoennichsen
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 20:49
@mikesoennichsen mikesoennichsen force-pushed the dev/mikesoennichsen/save-to branch from 68de65a to d9e7122 Compare December 19, 2025 20:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an optional save_to parameter to the extract, parse, and split methods in the LandingAI ADE client, allowing users to automatically save API responses to JSON files on disk.

Key changes:

  • Added save_to parameter (type str | Path | None) to three API methods in the sync client
  • Implemented file write logic using Path(save_to).write_text(result.to_json()) after each API call
  • Updated README.md with usage examples demonstrating the new parameter

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 9 comments.

File Description
src/landingai_ade/_client.py Added Path import and implemented save_to parameter for extract, parse, and split methods in the sync LandingAIADE client
README.md Added documentation of the new save_to feature in the features list and updated code examples to demonstrate its usage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings December 23, 2025 18:34
@mikesoennichsen mikesoennichsen force-pushed the dev/mikesoennichsen/save-to branch from 305297d to a0cdb2e Compare December 23, 2025 18:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikesoennichsen mikesoennichsen merged commit 7f02d05 into main Dec 24, 2025
7 checks passed
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.

3 participants