fix: annotate clusters and substitute {disputes} in classic pipeline path
This commit is contained in:
@@ -27,6 +27,10 @@ def constructability_review(sheets: List[Dict], clusters: List[Dict],
|
||||
"assertions": dumps(slim_sheets(sheets)),
|
||||
"clusters": dumps(slim_clusters(clusters)),
|
||||
"conflicts": dumps(conflicts),
|
||||
"disputes": dumps([
|
||||
d for cluster in clusters
|
||||
for d in (cluster.get("disputed_attributes") or [])
|
||||
]),
|
||||
},
|
||||
max_tokens=config.CONSTRUCT_MAX_TOKENS,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user