Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anonymisation of messages after a legitimate vote #198

Merged

Conversation

sarge1989
Copy link
Collaborator

Issues

Summary

  • New openAI anonymizer that uses the new GPT-3.5-turbo-1106 and a slightly different prompt
  • Ran npm run update

@sarge1989 sarge1989 linked an issue Nov 11, 2023 that may be closed by this pull request
@sarge1989 sarge1989 requested a review from stonefruit November 17, 2023 00:21
if (env === "SIT") {
return message
}
let returnMessage = message.replace(/\u00a0/g, " ")
try {
const anonymisationHyperparameters = hyperparameters?.anonymisation
let anonymisationHyperparameters = isComplex
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for hyperparameters?.complexAnonymisation, would it be useful to fall back to the simple version if not present?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think not necessary! Cos business wise, we rather not anonymize at all if there are issues, as opposed to anonymize and lose info for the checkers.

@sarge1989 sarge1989 merged commit f49ec28 into develop Nov 19, 2023
1 check passed
@sarge1989 sarge1989 deleted the 185-anonymise-messages-fully-after-a-legitimate-outcome branch November 19, 2023 02:31
@sarge1989 sarge1989 mentioned this pull request Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anonymise messages fully after a legitimate outcome
3 participants