RET v4 is a FastAPI + Vue 3 application for XML/ZIP scanning, XML-to-CSV/XLSX conversion, comparison workflows, and Azure OpenAI-powered RAG chat.
- Full documentation:
documentation.md - Backend details:
backend/README.md - Frontend details:
frontend/README.md
documentation.mdis the canonical application guide, user guide, admin guide, and file-by-file code atlas.backend/README.mdfocuses on backend setup, API surfaces, runtime storage, and service-layer responsibilities.frontend/README.mdfocuses on the Vue SPA structure, tab workflow, and component responsibilities.- No editable PDF user-guide source is currently tracked in this repository; the maintained source of truth is the Markdown documentation above.
From the repository root:
cd D:\WORK\RET_Appcd backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install asyncpg
python -m scripts.init_db --seed-demo
python -m alembic upgrade head
python start.pyOpen a second terminal:
cd frontend
npm install
npm run dev- Frontend:
http://localhost:5173 - Backend API:
http://localhost:8000 - Swagger docs:
http://localhost:8000/docs
admin / admin123demo / demo123
- The backend uses
pyproject.toml, so setup should usepip install -e ".[dev]"rather thanrequirements.txt. - The complete setup, user guide, deployment guidance, and file-by-file utility reference are in
documentation.md.
- Utility tab handles upload, scan, async conversion, preview, and download workflows.
- Business Structure tab now renders a 5-layer graph from converted CSV contents, not from scanned ZIP paths.
- Compare tab supports session/file comparison and drilldown review.
- AI tab supports post-conversion indexing, retrieval, chat, and transcript export.
backend/api/schemas/business_structure.py— response models for the Business Structure hierarchy.backend/api/services/business_structure_service.py— builds the hierarchy from converted CSV files in the sessionoutput/folder.backend/api/routers/conversion_router.py— exposes the Business Structure API endpoint.frontend/src/views/MainView.vue— fetches Business Structure data after conversion and passes it into the tab.frontend/src/components/workspace/BusinessStructurePanel.vue— renders the searchable 5-layer Mermaid graph with pan/zoom controls.