├── .gitignore ├── .env.example ├── gitpush.bat ├── requirements.txt ├── faiss_index ├── index.pkl └── index.faiss ├── README.md ├── .devcontainer └── devcontainer.json └── app.py /.gitignore: -------------------------------------------------------------------------------- 1 | env 2 | .env -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | GOOGLE_API_KEY= -------------------------------------------------------------------------------- /gitpush.bat: -------------------------------------------------------------------------------- 1 | git add . 2 | git commit -m %1 3 | git push -u origin main -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanugurajesh/Document-QA/HEAD/requirements.txt -------------------------------------------------------------------------------- /faiss_index/index.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanugurajesh/Document-QA/HEAD/faiss_index/index.pkl -------------------------------------------------------------------------------- /faiss_index/index.faiss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanugurajesh/Document-QA/HEAD/faiss_index/index.faiss -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Document QA 2 | 3 |
4 | 5 |
6 | 7 | A document Question Answering application using Gemini Pro vision. This project provides good user interface to interact with gemini pro vision 8 | 9 | ## Screenshots 10 | 11 | ![Screenshot 2024-01-18 215141](https://github.com/kanugurajesh/Document-QA/assets/77529419/0e4e29db-e862-4cc6-8bbf-ca3da288349e) 12 | 13 | ![Screenshot 2024-01-18 215207](https://github.com/kanugurajesh/Document-QA/assets/77529419/43247e8e-4f1a-42f2-a9b1-4d3667b20ce1) 14 | 15 | ## Demo 16 | 17 | [![Document QA](https://img.youtube.com/vi/mQNUb9Mh2TE/0.jpg)](https://youtu.be/mQNUb9Mh2TE) 18 | 19 | -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Python 3", 3 | // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile 4 | "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", 5 | "customizations": { 6 | "codespaces": { 7 | "openFiles": [ 8 | "README.md", 9 | "app.py" 10 | ] 11 | }, 12 | "vscode": { 13 | "settings": {}, 14 | "extensions": [ 15 | "ms-python.python", 16 | "ms-python.vscode-pylance" 17 | ] 18 | } 19 | }, 20 | "updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade -y && sudo xargs apt install -y