enrich_lineage_steps_with_ai
Public callable
Optionally enrich deterministic lineage steps using an AI helper callable.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
lineage_steps
|
list of dict of str to Any
|
Deterministic lineage step dictionaries. |
required |
ai_helper
|
Any or None
|
Callable that accepts lineage steps and returns enriched steps. |
None
|
Returns:
| Type | Description |
|---|---|
dict of str to Any
|
Enrichment payload containing steps, AI usage flag, fallback prompt, and notes. |
Source code in src/fabricops_kit/lineage.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | |