This repository contains notebooks and teaching materials for the EBU6505 Reasoning and Agents module.
- Python 3.11
- Terminal/Command Prompt
- VS Code (recommended)
uv is a fast Python package installer and resolver that we'll use to create our virtual environment.
-
Install
uv(if not already installed):# On macOS and Linux. curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
-
Create a virtual environment (under the project directory):
uv venv
-
Activate the virtual environment:
- On Windows:
.venv\Scripts\activate
- On macOS/Linux:
source .venv/bin/activate
- On Windows:
-
Install required packages:
uv sync
- Activate your virtual environment (see above)
- Use VS Code to open the project folder and open the notebooks. (Recommended)
- Or, Navigate to the project folder, Launch Jupyter in the project folder:
jupyter notebook
- Select the notebook you want to open
The presentation slides can be viewed in two ways:
-
Double-click Method: (Recommended)
- Simply double-click on any slide file (
.slides.html) in your file explorer - Your default browser will open the slides in presentation mode
- Simply double-click on any slide file (
-
From Jupyter:
- Open the corresponding notebook in Jupyter
- Select "File" > "Export Notebook As" > "Reveal.js Slides"
- Open the generated HTML file
If you encounter issues:
- Ensure your virtual environment is activated
- Use student forum or contact the lecturer.
This material is provided for educational purposes as part of the EBU6505 module.