Python source
The reference implementation and the tooling used to build and verify this publication.
Reference implementation
- Modelssrc/rag_evolution/models.py · 100 lines
- Textsrc/rag_evolution/text.py · 169 lines
- Demo Datasrc/rag_evolution/demo_data.py · 276 lines
- Ingestionsrc/rag_evolution/ingestion.py · 372 lines
- Chunkingsrc/rag_evolution/chunking.py · 325 lines
- Indexessrc/rag_evolution/indexes.py · 621 lines
- Retrieverssrc/rag_evolution/retrievers.py · 428 lines
- Rerankerssrc/rag_evolution/rerankers.py · 106 lines
- Selectionsrc/rag_evolution/selection.py · 313 lines
- Contextsrc/rag_evolution/context.py · 110 lines
- Generationsrc/rag_evolution/generation.py · 147 lines
- Pipelinesrc/rag_evolution/pipeline.py · 144 lines
- Structuredsrc/rag_evolution/structured.py · 247 lines
- Agenticsrc/rag_evolution/agentic.py · 166 lines
- Memorysrc/rag_evolution/memory.py · 251 lines
- Temporalsrc/rag_evolution/temporal.py · 232 lines
- Securitysrc/rag_evolution/security.py · 244 lines
- Trainingsrc/rag_evolution/training.py · 285 lines
- Evaluationsrc/rag_evolution/evaluation.py · 200 lines
- Operationssrc/rag_evolution/operations.py · 302 lines
- Package indexsrc/rag_evolution/__init__.py · 55 lines
Tooling
- Chronology builderscripts/build_chronological_index.py · 171 lines
- Notebook builderscripts/build_curriculum_notebooks.py · 2,220 lines
- Notebook executorscripts/execute_notebooks.py · 108 lines
- Site rendererscripts/render_field_notebook_preview.py · 1,602 lines
- Python highlighterscripts/python_source_renderer.py · 254 lines
- Preview serverscripts/serve_notebook_site.py · 249 lines
- Research validatorscripts/validate_research.py · 1,517 lines