Skip to content

Streamlit app leveraging OpenAI's LLM for accurate invoice extraction, supporting PDF files and offering JSON/CSV outputs.

Notifications You must be signed in to change notification settings

Ja-yy/Invoice-excreter-bot-llm

Repository files navigation

Invoice-excreter-bot-llm

📄Project description

Welcome to my Streamlit app designed for invoice extraction utilizing OpenAI's API. This versatile tool offers two distinct output models for enhanced flexibility and accuracy in extracting invoice data.

🎯 Purpose and Achievement:

Acknowledging the widespread demand for data extraction solutions utilizing LLM, and inspired by Langchain's introduction of the with_structured_output method for enhanced model calls, I centered my efforts on tackling the common use case of invoice extraction, culminating in the development of this bot.

⚙️🚀 Technologies and Frameworks Utilized

Python Streamlit OpenAI Langchain

💡Features

  • Supports extraction of data from PDF files
  • Utilizes function calling with LLM to enhance accuracy
  • Offers two output options: JSON and CSV

🎬 Demo

Extracter-bot-demo.mp4

🔜 Future Development and Features

In upcoming iterations, I aim to incorporate the ability to extract data from Excel and Word files, expanding the application's versatility and utility.

▶️ Run

Clone the repository

git clone git@github.com:Ja-yy/Invoice-excreter-bot-llm.git

Create a virtual environment using Pipenv:

pipenv install

Start Streamlit server:

streamlit run main.py 

Now, go to localhost:8501

Enjoy the app :)

About

Streamlit app leveraging OpenAI's LLM for accurate invoice extraction, supporting PDF files and offering JSON/CSV outputs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages