Skip to content

feat: sync tools with latest Uni-Parser - #20

Closed
1259666087 wants to merge 5 commits into
mainfrom
feat/jindi/account-information-notebook
Closed

1259666087 wants to merge 5 commits into
mainfrom
feat/jindi/account-information-notebook

Conversation

@1259666087

Copy link
Copy Markdown
Collaborator

add app.account_information.ipynb &Fixed some issues

Copilot AI review requested due to automatic review settings July 17, 2026 10:00

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.

Pull request overview

This PR updates UniParser-Tools to align with newer Uni-Parser server capabilities (additional request options, partial results, and third-party output), and refreshes the repo’s docs/examples accordingly.

Changes:

  • Extend the Python client to support new trigger options, return_half partial fetching, and a /get-third-party-output endpoint (MinerU output).
  • Update result schema/constants (e.g., MoleculeResult.esmi, new ErrorFlag values, ThirdPartyFormatter) and adjust unit tests.
  • Refresh documentation, Agent Skill references, and playground notebooks to reflect updated URL source support and callback signing behavior.

Reviewed changes

Copilot reviewed 21 out of 23 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
uniparser_tools/common/dataclass.py Add esmi field to MoleculeResult schema.
uniparser_tools/common/constant.py Add new error flags and ThirdPartyFormatter enum.
uniparser_tools/api/clients.py Add new client options, timeouts, partial fetch (return_half), and third-party output API.
tests/unit/test_dataclass_results.py Add coverage for MoleculeResult.esmi.
tests/unit/test_convert.py Update conversion test data to include esmi.
tests/unit/test_constant.py Add ThirdPartyFormatter test.
tests/unit/test_client.py Add tests for host normalization, new payload options, return_half, and third-party output.
skills/UniParser-Tools/SKILL.md Clarify supported URL sources and callback guidance text.
skills/UniParser-Tools/scripts/parse_document.py Update CLI help text for URL sources.
skills/UniParser-Tools/scripts/fetch_by_token.py Update CLI help text for URL sources.
skills/UniParser-Tools/references/patterns.md Update callback signature guidance and add partial/MinerU usage pattern.
skills/UniParser-Tools/references/notes.md Update callback verification snippet to hash raw body bytes.
skills/UniParser-Tools/references/data-classes.md Document MoleculeResult.esmi.
skills/UniParser-Tools/references/api-reference.md Document URL schemes, return_half, and third-party output.
README.md Update examples: file_path, callback signature header, URL sources, third-party output section.
playground/app.crop_images.ipynb Update notebook flow and API key handling; notebook contains executed outputs.
playground/app.caption_extraction.ipynb Update notebook formatting and API key handling.
playground/app.account_information.ipynb Add account/billing API tutorial notebook; includes executed outputs with sensitive data.
playground/04.use_callbacks.py Update callback verification message to match signature-header behavior.
playground/01.quick_start.ipynb Update notebook flow and API key handling; notebook contains executed outputs.
mcp_server/README.md Update MCP URL parsing description to include supported URL schemes.

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

Comment on lines +105 to +109
" \"username\": \"demo_yaoming\",\n",
" \"email\": \"demo_yaoming@guest.example.com\",\n",
" \"is_active\": true,\n",
" \"is_superuser\": false,\n",
" \"id\": \"4765260b-4f96-48ba-93f3-7fdab33cecf8\",\n",
Comment on lines +331 to +335
" \"ip_address\": \"39.106.237.255\",\n",
" \"user_agent\": \"python-requests/2.32.4\",\n",
" \"id\": \"b4d4351c-706a-4133-9755-758d47aae4e5\",\n",
" \"user_id\": \"4765260b-4f96-48ba-93f3-7fdab33cecf8\",\n",
" \"organization_id\": null,\n",
Comment on lines 101 to 105
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
Comment on lines 99 to 103
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot fixed try again

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Updated in commit a1cfc8a by redacting the task token in playground/app.crop_images.ipynb output.

@uni-parser

Copy link
Copy Markdown
Collaborator

Further discussion and issue clearance are needed

@uni-parser uni-parser closed this Jul 29, 2026
@uni-parser
uni-parser deleted the feat/jindi/account-information-notebook branch July 29, 2026 04:31
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.

4 participants