This project is a full-stack application using Flask and Python for the backend and Next.js powered by React for the frontend. It allows users to upload files and interact with the file data through a series of queries. The interface is styled with Tailwind CSS for a responsive design, along with html and css.
- Allow users to signup/login on the App.
- Allow users to upload files in any format like pdf, jpg, jpeg etc.
- Allow data querying to answer user questions based on file data.
- Maintain record of previous user data including files and chat histories as well.
- Have encryption for storing file data securely in DB and also show sensitive data after password confirmation.
- Fully Responsive web interface using Next.js and Tailwind CSS.
- Backend: Flask, Python
- Frontend: Next.js, React, Tailwind CSS, TS
- Database: PostgreSQL, SQLAlchemy
- LLMs: ChatGPT gpt-3.5, Gorq (llama)
- OCR and supporting Libraries: pdf2image, pytesseract, PIL, Werkzeug, cryptography, base64, pandas, textract
Ensure you have the following installed:
- Docker
- Node.js (version 14 or higher)
- Python (version 3.9 or higher)
Navigate to the backend directory:
cd backend
Install Python dependencies:
pip install -r requirements.txt
Start the backend server:
flask run
Navigate to the frontend directory:
cd frontend
Install JavaScript dependencies:
npm install
Run the development server:
npm run dev
To run the entire application using Docker:
docker-compose up --build
Deployed on following URL: https://form-chat-frontend-aw3wvc3u4-adans-projects-962d6816.vercel.app/
You just need to signup and then can start using the app.
This project is licensed under the MIT License - see the LICENSE.md file for details.