You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/apps/merge_suggestions_worker/src/workflows/mergeMembersWithLLM.ts
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,11 @@ export async function mergeMembersWithLLM(
52
52
- If the values are DIFFERENT, immediately return 'false' - these are definitely different people
53
53
- This rule applies REGARDLESS of how similar other fields appear.
54
54
This check must be performed FIRST before evaluating any other similarities. Only do such labeling if both members have identities in the same platform. If they don't have identities in the same platform, ignore the rule.
55
+
BOT CHECKS - NEVER MERGE IF ONE PROFILE IS A BOT AND THE OTHER IS NOT
56
+
- Check the bot status in attributes.isBot.default for each member
57
+
- If one member has attributes.isBot.default === true and the other has attributes.isBot.default === false (or undefined), return 'false'
58
+
- Bots and humans are never the same entity
59
+
- This check must be performed before evaluating any other similarities
55
60
Print 'true' if they are the same member, 'false' otherwise. No explanation required. Don't print anything else.`
0 commit comments