This service provides the question-answering and evaluation engine for The Tutor platform.
- Store, serve, and evaluate objective questions for students
- Provide multi-agent, real-time feedback on student answers
- CRUD for questions
- Multi-agent evaluation via /grader/interaction
- Submission history and answer storage
- Python 3.13+
- FastAPI
- Cosmos DB (Azure)
- Azure OpenAI (for evaluation)
-
Install dependencies:
uv pip install --python .venv -e .[dev]
-
Start the API:
uvicorn app.main:app --reload
- Build a Docker image and push to ACR
- Deploy as a container app using the
azd+ Terraform infrastructure - Configure environment variables for Cosmos DB and Azure OpenAI