Force to use dedupe int ID from FACT INVALIDATION CANDIDATES
This commit is contained in:
parent
da6f3336bb
commit
6c6698f84a
1 changed files with 7 additions and 6 deletions
|
|
@ -143,6 +143,7 @@ def resolve_edge(context: dict[str, Any]) -> list[Message]:
|
||||||
Task:
|
Task:
|
||||||
If the NEW FACT represents identical factual information of one or more in EXISTING FACTS, return the idx of the duplicate facts.
|
If the NEW FACT represents identical factual information of one or more in EXISTING FACTS, return the idx of the duplicate facts.
|
||||||
Facts with similar information that contain key differences should not be marked as duplicates.
|
Facts with similar information that contain key differences should not be marked as duplicates.
|
||||||
|
When returning the idx list, ensure to use the integer id from FACT INVALIDATION CANDIDATES items, not the uuid from EXISTING FACTS.
|
||||||
If the NEW FACT is not a duplicate of any of the EXISTING FACTS, return an empty list.
|
If the NEW FACT is not a duplicate of any of the EXISTING FACTS, return an empty list.
|
||||||
|
|
||||||
Given the predefined FACT TYPES, determine if the NEW FACT should be classified as one of these types.
|
Given the predefined FACT TYPES, determine if the NEW FACT should be classified as one of these types.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue