This project aims to extract relevant information from documents using Large Language Models (LLMs). The implementation leverages the power of LLMs to read, understand, and extract data from various documents, making it useful for a wide range of applications in data processing, automation, and information retrieval.
You can find a small demonstration of the Streamlit app implementation of this project:
demo.1.mov
The main goal of this project is to build an LLM-based document extraction tool. The tool allows users to input a variety of documents and have relevant information extracted and presented in a structured format. This project uses state-of-the-art language models, OpenAI, and Chroma for the vector database, as well as Retrieval-Augmented Generation (RAG) for context to process documents and extract the desired data.
- Document Extraction: Extracts structured data from documents using Large Language Models.
- Streamlit Interface: A user-friendly interface for extracting data from documents.
- Dockerized Application: The application is containerized using Docker for easy deployment and usage.
Link to the docker hub streamlit app
-
Install Docker: First, ensure Docker is installed on your computer. You can download and install it from the official Docker website.
-
Pull the Docker Image: Open your terminal and run this command to get the app:
docker pull vsanchezn/streamlit-app
-
Run the App: Start the app by running:
docker run -p 8501:8501 vsanchezn/streamlit-app
This will launch the app on port
8501. -
Open the App: Open your web browser and go to http://localhost:8501.
-
Stop the App: To stop the app, press
Ctrl+Cin the terminal or use:docker stop <container_id>
Replace
vsancheznwith the actual username you used to upload the Docker image.