How lekhal-kenza3/cosider-ai works
COSIDER AI is currently a scaffold for a French-language intelligent-document assistant, not a working document-analysis product. The visible workflow is navigating the Vue interface and uploading a PDF through the backend endpoint; the chat and analysis views are demonstrations, and document processing, AI responses, and database-backed behavior are not implemented in the inspected evidence. The README documents a Vite /api proxy to FastAPI. Backend configuration includes future AI and storage settings, but their runtime integrations are not shown.
Main entry points: index.js Page routing · main.py API application · documents.py PDF upload endpoint · router.py API router
Components 24
Vue application
- Application shell
frontend/src/App.vue - Navigation layout
frontend/src/layouts/MainLayout.vue - Page routing
frontend/src/router/index.js - Dashboard
frontend/src/views/DashboardView.vue - Documents page
frontend/src/views/DocumentsView.vue - Demo assistant
frontend/src/views/ChatView.vue - Demo analysis
frontend/src/views/AnalysisView.vue - History page
frontend/src/views/HistoryView.vue - Warehouse page
frontend/src/views/WarehouseView.vue - Local settings
frontend/src/views/SettingsView.vue - API client
frontend/src/services/api.js
FastAPI backend
- API application
backend/app/main.py - Runtime configuration
backend/app/core/config.py - API router
backend/app/api/router.py - Health endpoint
backend/app/api/routes/health.py - PDF upload endpoint
backend/app/api/routes/documents.py - Uploaded PDFs
backend/storage/documents
Planned capabilities
- Document processing
backend/app/processing - AI and embeddings
backend/app/ai - Vector storage
backend/app/vectorstore - Database layer
backend/app/db
Other components
- COSIDER user
- Ollama service
- PostgreSQL
Connections 24
- COSIDER user → Application shell: uses
README.md - Application shell → Navigation layout: renders
frontend/src/App.vue - Navigation layout → Page routing: displays pages
frontend/src/layouts/MainLayout.vue - Page routing → Dashboard: routes to
frontend/src/router/index.js - Page routing → Documents page: routes to
frontend/src/router/index.js - Page routing → Demo assistant: routes to
frontend/src/router/index.js - Page routing → Demo analysis: routes to
frontend/src/router/index.js - Page routing → History page: routes to
frontend/src/router/index.js - Page routing → Warehouse page: routes to
frontend/src/router/index.js - Page routing → Local settings: routes to
frontend/src/router/index.js - COSIDER user → PDF upload endpoint: uploads PDF
backend/app/api/routes/documents.py - API application → Runtime configuration: loads settings
backend/app/main.py - API application → API router: mounts
backend/app/main.py - API router → Health endpoint: registers
backend/app/api/router.py - API router → PDF upload endpoint: registers
backend/app/api/router.py - PDF upload endpoint → Uploaded PDFs: writes PDF
backend/app/api/routes/documents.py - COSIDER user → API application: checks health
README.md - API client → API application: proxy targets
README.md - PDF upload endpoint → Document processing: future handoff
- Document processing → AI and embeddings: future extraction
- AI and embeddings → Vector storage: future indexing
- AI and embeddings → Ollama service: configured integration
- Document processing → Database layer: future persistence
- Database layer → PostgreSQL: configured database