Skip to content

Commit

Permalink
Remove unused harm category settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl committed Dec 24, 2023
1 parent 0e3d76c commit 805628d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions gemini_pro_bot/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_NONE,
HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE,
# Doesn't seem to be working, might be old?
# HarmCategory.HARM_CATEGORY_DANGEROUS: HarmBlockThreshold.BLOCK_NONE,
# HarmCategory.HARM_CATEGORY_DEROGATORY: HarmBlockThreshold.BLOCK_NONE,
# HarmCategory.HARM_CATEGORY_VIOLENCE: HarmBlockThreshold.BLOCK_NONE,
# HarmCategory.HARM_CATEGORY_MEDICAL: HarmBlockThreshold.BLOCK_NONE,
# HarmCategory.HARM_CATEGORY_UNSPECIFIED: HarmBlockThreshold.BLOCK_NONE,
# HarmCategory.HARM_CATEGORY_TOXICITY: HarmBlockThreshold.BLOCK_NONE,
}


Expand Down

0 comments on commit 805628d

Please sign in to comment.