gemini / utils.py
airworkx's picture
Update utils.py
5150311 verified
raw
history blame
636 Bytes
"""https://ai.google.dev/api/rest/v1beta/HarmCategory"""
SAFETY_SETTINGS = [
{
"category": "HARM_CATEGORY_SEXUAL",
"threshold": "ALLOW",
},
{
"category": "HARM_CATEGORY_DANGEROUS",
"threshold": "ALLOW",
},
{
"category": "HARM_CATEGORY_HARASSMENT",
"threshold": "ALLOW",
},
{
"category": "HARM_CATEGORY_HATE_SPEECH",
"threshold": "ALLOW",
},
{
"category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
"threshold": "ALLOW",
},
{
"category": "HARM_CATEGORY_DANGEROUS_CONTENT",
"threshold": "ALLOW",
},
]