HarryDataScience commited on
Commit
5959a78
·
1 Parent(s): 5f211d7

Replace with new DocuMind AI (FastAPI + FAISS)

Browse files
47 files changed +2975 -1209
Files changed (47)
.dockerignoreAdded+13
.env.exampleAdded+21
.github/workflows/ci.ymlAdded+16
.gitignore+80-8
.python-versionAdded+1
CHANGELOG.mdAdded+51
CONTRIBUTING.mdAdded+6
Dockerfile+27-21
MakefileAdded+9
README.md+132-326
backend/api/__init__.py+1-1
backend/api/routes.py+237-229
backend/api/schemas.py+16-2
backend/core/config.py+42-11
backend/core/logger.py-1
backend/services/embeddings.py+3-4
backend/services/faiss_index.pyAdded+138
backend/services/pdf_processor.py+82-29
backend/services/rag_engine.py+105-203
backend/services/rag_graph.pyAdded+318
backend/services/vector_store.py+179-233
data/uploads/.gitkeepAdded
Empty file
docker-compose.yml+18-7
frontend.zipDeleted
Binary file (11.8 kB)
frontend/static/css/style.css+12
frontend/static/js/app.js+121-19
frontend/static/js/markdown.jsAdded+79
frontend/templates/index.html+2-1
main.py+73-77
requirements-dev.txtAdded+4
requirements.txt+22-30
ruff.tomlAdded+7
run.ps1Added+41
run.shAdded+14
scripts/benchmark_search.pyAdded+85
scripts/eval_example.jsonAdded+3
scripts/eval_retrieval.pyAdded+25
tests/test_api.py+3-7
tests/test_api_security.pyAdded+58
tests/test_citations.pyAdded+125
tests/test_faiss_index.pyAdded+88
tests/test_faiss_integration.pyAdded+140
tests/test_fixes.pyAdded+289
tests/test_pdf_processor.pyAdded+33
tests/test_rag_engine.pyAdded+131
tests/test_vector_store.pyAdded+50
tests/test_vector_store_integration.pyAdded+75