cookbook
cookbook copied to clipboard
Add example Extract_Information_From_INVOICE
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.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@andycandy @Giom-V Thank for Review :)