google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.19k stars 227 forks source link

Quick safety filtering: Allow `safety_settings="block_none"` #347

Closed MarkDaoust closed 1 month ago

MarkDaoust commented 1 month ago

generate_content(safety_setting='BLOCK_NONE')