orchestrata_kg
Reference › components › knowledge_graph › orchestrata_kg
orchestrata_kg — the knowledge_graph component (SPEC-119).
orchestrata_kg is the import package of the knowledge_graph component (SPEC-119); its __init__ is a one-line docstring. Parts by role. Reading code: ast_loader holds the AST data classes and the 1,359-line codebase_analyzer, and orchestrata_ast a lifted analyzer. Writing and querying the graph: knowledge_graph (95 modules) holds the parsers, synchronizers, query engine, schema and context injection, with context_pack for packing context. Storage access: graph with Bolt adapters implements the repository contracts. Retrieval: semantic_graph provides embedders, vector and graph stores, and the Memgraph high-availability controller. Traceability: traceability and core. Prompt context: context.
Source files are loaded by ast_loader, parsed and synchronized into the graph by knowledge_graph, and read back through its query engine and context injector. The interfaces are in contracts kg. Start with knowledge_graph.
161 modules, 28,253 lines of code.
Subpackages
| Package | Modules | LOC |
|---|---|---|
ast_loader |
15 | 1,990 |
context |
1 | 103 |
core |
1 | 357 |
graph |
8 | 1,003 |
knowledge_graph |
95 | 19,008 |
orchestrata_ast |
1 | 395 |
semantic_graph |
37 | 5,317 |
traceability |
2 | 79 |
Modules
| Module | Summary | LOC |
|---|---|---|
__init__ |
orchestrata_kg — the knowledge_graph component (SPEC-119). | 1 |