feat: surface disputed extracted values to critic and specialist prompts
This commit is contained in:
1 parent
df4d15fd0c
commit
8631a26006
4 files changed
+34
-1
No files matched your search
@@ -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