
The problem
An LLM alone can invent exercises; routines had to come from a real catalog.
Conditions
- A team of 5 with separate mobile app, backend, and chat service.
- Routines tailored to level, equipment, age, and target muscles.
- No vector database: retrieval runs on SQL.
What I decided and why
Retrieve before generating
The service searches and scores exercises in MySQL and passes them to the model.
Pair programming
I built the chatbot logic in a pair with another team member.
Documented API
OpenAPI spec and Swagger UI for the chat service.
Outcome
- A chatbot that builds routines from the real catalog.
- Main contributor to the project report: interviews, user personas, and scenarios.
- Chat service in Node.js/Express with an LLM via Replicate.