Skip to content

πŸ”ŽπŸ“š This document processing system is designed to efficiently analyze user documents and provide accurate responses to user queries related to the content. Powered by advanced algorithms, it offers a seamless experience for users seeking insights or information within their documents.

Notifications You must be signed in to change notification settings

jvmolu/Intelligent-Document-Processing-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Intelligent Document Processing RAG System πŸ”ŽπŸ“š

This document processing system is designed to efficiently analyze user documents and provide accurate responses to user queries related to the content. Powered by advanced algorithms, it offers a seamless experience for users seeking insights or information within their documents. Whether you're searching for specific details, or extracting key information, this system is equipped to handle diverse document processing tasks with precision and speed.

Installation:

Prerequisites: Java 17 or higher, Maven should be set up in the system for the backend to work.

  1. Clone the repository
  2. Download the Glove word embeddings using this link: http://nlp.stanford.edu/data/glove.6B.zip and extract the zip file
  3. Navigate to the project directory
  4. Setup the application.properties file in the project in its default location [A Template for application.properties is provided in the repository]
  5. Build the project: mvn clean install
  6. Start the spring project
  7. Open the frontend.html file, located in the 'frontend' folder in your browser.

Usage:

Enter Username: Begin by typing your username into the designated field.

Now, you can either submit a new document or query your submitted documents

---- Submit a File

Choose File: Click the "Choose File" button to select the file you want to upload.

Get Text from File: After selecting the file, click the "Get Text from File" button. The chatbot will preview the text data extracted from the file below.

Submit File: If you're satisfied with the text preview and want to ask questions based on the file content, click the "Submit File" button.

---- Query your files

Hit Query Button: Once you've entered your data, click on the "Hit Query" button to submit your query to the chatbot.

View Results: The chatbot will process your query and display the result in the result box below. You can then review the response provided by the chatbot.

Future Enhancements:

  1. Support for multiple file formats.
  2. Add a loading icon in the front end, signifying when the user request is being processed.
  3. Better prompt engineering to make query answers accurate and more aligned with the input data.

References:

For glove embeddings usage, I took some reference from this amazing project's code: https://github.com/chen0040/java-text-embedding/tree/master

About

πŸ”ŽπŸ“š This document processing system is designed to efficiently analyze user documents and provide accurate responses to user queries related to the content. Powered by advanced algorithms, it offers a seamless experience for users seeking insights or information within their documents.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published