Prerequisites
- Python 3.12. ladyGraph was developed on 3.12, and the DecisionLite SDK requires 3.12 or newer. Python 3.11 has not been tried.
- The
ladyGraph/folder, the one that holdspyproject.toml. Run every command on this page from it.
Set up
1
Create the environment
Both options install the same package list, The file sets Python 3.12 and then installs
docs/requirements.txt.- conda
- venv and pip
docs/requirements.txt with pip. To update an existing environment later, run conda env update -f docs/environment.yml --prune.requirements.txt gives lower bounds only. It is not a lock file.2
Run the first lesson
The sample is a fictitious Vietnamese finance policy, “Quyết định 211”. Pretend its text was extracted from a PDF. Nothing reads a real file.
What you can run next
What you can run depends on what you have.
Lessons 3, 5, 6, 7, 9 and 13 need no service at all. They run on scripted stand-ins, and a few switch to a real local model through an environment variable.
Tutorials
The lessons in a suggested order.
Environment variables
Every variable the scripts read.