This repository contains the source code for Part 1 of the ALMA PhD trial task. It implements a "Collaborative Partner" application designed to shift Human-LLM interaction from passive consumption to active collaborative learning.
The prototype utilizes the Google Gemini API to demonstrate pedagogical behaviors such as constructive friction, reflective questioning, and role adaptation (Novice vs. Professional).
elheyba.ipynb: The main Jupyter Notebook containing the application prototype, system architecture, and design rationale.
report.pdf: The accompanying theoretical report.- Content: Defines the learning scenario (High-Level Software Architecture), analyzes the "Oracle Trap," and provides the pedagogical justification for the design choices (e.g., why the AI refuses to answer "lazy" prompts).
Note: Detailed explanations of the system architecture and the educational design choices are embedded directly within the notebook's Markdown cells.
- Python: 3.10 or higher
- API Key: A valid Google Gemini API Key (Free Tier supported)
google-generativeai(Official Google Gemini Python Client)ipykernel(If running inside a Jupyter environment)
-
Clone the repository:
-
Install the dependencies:
pip install google-generativeai
-
Run the Notebook: Open
elheyba.ipynbin Jupyter Lab, Jupyter Notebook, or VS Code. -
Configure Authentication: The first cell of the notebook will prompt you to enter your Google API Key. Follow the instructions inside the notebook to obtain one if you haven't already.
Submitted as part of the ALMA Project PhD recruitment process.