Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add PDF extraction example agent with verification#176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
crjaensch wants to merge2 commits intoopenai:main
base:main
Choose a base branch
Loading
fromcrjaensch:main

Conversation

crjaensch
Copy link

@crjaenschcrjaensch commentedMar 15, 2025
edited
Loading

Summary

Add PDF extraction example agent with verification

  • Create a dedicated extract_doc folder for document processing examples
  • Implement PDF extraction agent using OpenAI responses API with file input support
  • Add sample document generator with ReportLab for testing
  • Include verification step to ensure extracted data is grounded in the source document
  • Support structured data extraction with customizable schema
  • Handle JSON parsing from various response formats

Test plan

Issue number

Checks

  • I've added new tests (if relevant)
  • I've added/updated the relevant documentation
  • I've runmake lint andmake format
  • I've made sure tests pass

- Create dedicated extract_doc folder for document processing examples- Implement PDF extraction agent using OpenAI responses API with file input support- Add sample document generator with ReportLab for testing- Include verification step to ensure extracted data is grounded in source document- Support structured data extraction with customizable schema- Handle JSON parsing from various response formats
Copy link
Collaborator

@rm-openairm-openai left a comment

Choose a reason for hiding this comment

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

Thank you for this PR! We're trying to keep the examples here universally helpful and dependency light. We're internally discussing the best way to add examples like this that use dependencies like reportlab, and will get back to you soon!

@seratchseratch added the documentationImprovements or additions to documentation labelJun 25, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rm-openairm-openairm-openai requested changes

@akhilsmokieakhilsmokieakhilsmokie approved these changes

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
documentationImprovements or additions to documentation
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@crjaensch@rm-openai@akhilsmokie@seratch

[8]ページ先頭

©2009-2025 Movatter.jp