Getting Started
Prerequisites
- Python 3.10+
- GitHub CLI (
gh) for corpus extraction - An Anthropic API key (for running experiments)
Installation
1 2 3 | |
Generate Queries
Generate benchmark queries from any domain's learning graph CSV:
1 2 3 4 | |
Run the CKG Baseline
Evaluate the built-in CKG system against any domain:
1 2 3 4 5 6 7 8 | |
Plug In Your Own System
Subclass Retriever and implement one method:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
See Submit Your System for full RAG and LlamaIndex examples.
Extract Corpus from Source Repos
To re-extract learning graph CSVs from all McCreary textbook repositories:
1 | |
This requires the GitHub CLI (gh) to be installed and authenticated.
Dependencies
| Package | Version | Purpose |
|---|---|---|
anthropic |
>= 0.25.0 | Claude API |
openai |
>= 1.0.0 | Embeddings |
faiss-cpu |
>= 1.7.4 | Vector similarity |
langchain |
>= 0.1.0 | RAG pipeline |
graphrag |
>= 1.0.0 | GraphRAG system |
pandas |
>= 2.0.0 | Data processing |
numpy |
>= 1.24.0 | Numerical computation |
scikit-learn |
>= 1.3.0 | ML utilities |
tqdm |
>= 4.65.0 | Progress bars |