cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Add example Extract_Information_From_INVOICE

Open SonjeVilas opened this issue 9 months ago • 2 comments

This PR adds a notebook demonstrating automated invoice data extraction. The solution processes invoice images, extracts key fields (invoice number, date, line items, totals), and outputs structured JSON—eliminating manual data entry. Fixes common issues (local file handling, API errors) and includes a scalable workflow for finance automation.

Key Changes:

  • ✅ Base64 image encoding for secure processing
  • ✅ Custom prompt engineering for JSON output
  • ✅ Integration with LangChain for Gemini API calls
  • ✅ Example conversion to Pandas/CSV

Impact: Enables faster accounts payable processing, expense tracking, and document digitization using AI.

SonjeVilas avatar Apr 07 '25 19:04 SonjeVilas

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@andycandy @Giom-V Thank for Review :)

SonjeVilas avatar Apr 20 '25 09:04 SonjeVilas