Répertoire, Montreal's university research hub
Capstone project at ÉTS. A platform listing the research projects funded by the City of Montreal, with AI-powered search (RAG) across their documents.
- TypeScript
- Express
- Prisma
- PostgreSQL
- Python
- FastAPI
- LangChain
- pgvector
- Ollama
- React
- Docker
The context
Every year, the City of Montreal funds university research projects, but no tool brings them together. As a result, similar projects risk being funded twice, progress is hard to track and results stay scattered across universities.
For our capstone project (LOG795, ÉTS), a team of five of us built a web platform to meet this need, in collaboration with the City of Montreal:
- the public browses and filters the funded research projects;
- researchers get an account to publish and update their projects and documents;
- City administrators approve accounts and publications;
- anyone can ask a question in plain language: a RAG engine looks for the answer in the research documents and cites the related projects.
The source code belongs to the project and is not public; the video above shows the platform in action.
Architecture
Three services in Docker containers: a React app, an Express API (TSOA, Prisma, PostgreSQL) and a Python RAG service (FastAPI, LangChain, pgvector, Ollama).
My role: the RAG service and the API
- Hybrid search: documents (PDF, Word, PowerPoint…) are converted with Docling, chunked and embedded, then each question combines a vector search (pgvector) with a keyword search (BM25).
- Local LLM: the answer is written by Gemma 2B through Ollama from the retrieved passages only, so documents never leave the server.
- API: Controller, Service, DAO architecture, routes and Swagger docs generated by TSOA, a 13-entity Prisma schema and Jest tests.
