chuckclaus
03/17/2024, 5:52 PMian
03/26/2024, 6:58 PMconfig.safetySettings under the provider. For example:
yaml
- id: vertex:gemini-pro
config:
safetySettings:
- category: HARM_CATEGORY_HARASSMENT
threshold: BLOCK_ONLY_HIGH
- category: HARM_CATEGORY_VIOLENCE
threshold: BLOCK_MEDIUM_AND_ABOVE
more details on google's SafetySetting API here: