feat: surface disputed extracted values to critic and specialist prompts
This commit is contained in:
@@ -12,7 +12,7 @@ from typing import Dict, List
|
||||
|
||||
|
||||
def _norm(value) -> str:
|
||||
return re.sub(r"\s+", " ", str(value or "").strip().lower())
|
||||
return re.sub(r"\s+", " ", ("" if value is None else str(value)).strip().lower())
|
||||
|
||||
|
||||
def find_disputes(assertions: List[Dict]) -> List[Dict]:
|
||||
|
||||
Reference in New Issue
Block a user