BillBuddy AI:以私隱為先的發票助理
🧾 BillBuddy AI: A Privacy-First Invoice Assistant
BillBuddy AI 是一款以本機處理為主的發票助理原型,使用本機執行的 Ollama 模型擷取發票資料,並將紀錄儲存在本機 SQLite 資料庫。用戶可核對擷取結果、管理付款狀態及匯出 CSV;項目提醒 AI 擷取資料可能不準確,儲存或採用前須核實。
Managing invoices manually can be time-consuming for freelancers and small businesses. I built BillBuddy AI, a local-first invoice assistant that helps extract invoice details and manage records in one place.
💡 What is BillBuddy AI?
BillBuddy AI is a prototype application designed to simplify invoice management while keeping document
nts and records local.
Users can upload an invoice, review AI-extracted details, and manage payment records through a simple interface.
✨ Features
- 📄 Upload PDF, PNG, JPG, WEBP, and TXT invoices
- 🤖 Extract invoice details using a locally running Ollama model
- ✏️ Review and verify extracted information before saving
- 🗄️ Store invoice records in a local SQLite database
- 📊 View invoice and payment summaries on a dashboard
- 💰 Manage payment statuses
- 📥 Export invoice records to CSV
🛠️ Tech Stack
- Python
- Streamlit
- Ollama (local LLM inference)
- SQLite
- Pandas
🔒 Privacy-First Approach
BillBuddy AI is designed to process documents using a locally running language model and store records in a local SQLite database. This reduces the need to send invoice documents to an external AI service.
AI-extracted information can be inaccurate, so users should verify all fields before saving or relying on them.
🚀 How to Run
- Clone the repository.
- Install the Python dependencies.
- Install and start Ollama.
- Download the model specified in the project setup.
- Run the Streamlit application.
Check the README for the exact installation commands and model name.
🔗 Project Link
GitHub Repository: https://github.com/anuuu2507/billbuddy-ai
🎯 What I Learned
Building BillBuddy AI helped me explore local LLM integration, document processing, structured data extraction, database operations, and building interactive applications with Streamlit.
This is a prototype, and I plan to improve its extraction accuracy, validation, and invoice management workflow further.
I'd love to hear your feedback and suggestions!
Note: BillBuddy AI is a prototype, not accounting or tax advice. Always verify invoice details manually.
來源:DEV Community · dev.to


