We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da9b2d commit e09b902Copy full SHA for e09b902
google/generativeai/vision_models/_vision_models.py
@@ -104,7 +104,7 @@ def to_mapping_value(value) -> struct_pb2.Struct:
104
OutputMimeType = Literal["image/png", "image/jpeg"]
105
OUTPUT_MIME_TYPES = OutputMimeType.__args__ # type: ignore
106
107
-SafetyFilterLevel = Literal["block_most", "block_some", "block_few"]
+SafetyFilterLevel = Literal["block_low_and_above", "block_medium_and_above", "block_only_high"]
108
SAFETY_FILTER_LEVELS = SafetyFilterLevel.__args__ # type: ignore
109
110
PersonGeneration = Literal["dont_allow", "allow_adult"]
0 commit comments