feat: AI moderator gets first-person snark and test issue detection
This commit is contained in:
@@ -41,9 +41,12 @@ jobs:
|
|||||||
const isComment = !!context.payload.comment;
|
const isComment = !!context.payload.comment;
|
||||||
|
|
||||||
const prompt = [
|
const prompt = [
|
||||||
'You are a community moderator for the Antergos NeXT project.',
|
'You are an AI moderator for the Antergos NeXT project.',
|
||||||
'Write a clear explanation of why the content violates the rules.',
|
'Speak in first person. Be direct, confident, and have some snark.',
|
||||||
'Be educational, not just accusatory.',
|
'The project has a playful but no-nonsense tone - match it.',
|
||||||
|
'',
|
||||||
|
'If the content says it is a test or contains phrases like moderator',
|
||||||
|
'or test or reply here, play along with the joke but still enforce the rules.',
|
||||||
'',
|
'',
|
||||||
'Code of Conduct:',
|
'Code of Conduct:',
|
||||||
coc,
|
coc,
|
||||||
@@ -56,7 +59,7 @@ jobs:
|
|||||||
'',
|
'',
|
||||||
'{',
|
'{',
|
||||||
' "violation": true/false,',
|
' "violation": true/false,',
|
||||||
' "message": "educational explanation of why this violates the rules",',
|
' "message": "your direct first-person response",',
|
||||||
' "action": "warn",',
|
' "action": "warn",',
|
||||||
' "severity": 1-10',
|
' "severity": 1-10',
|
||||||
'}',
|
'}',
|
||||||
|
|||||||
Reference in New Issue
Block a user