googleapis / googleapis/python-genai

Set SafetySetting across all categories

Open
#1,174 2 comments 0 reactions 1 assignee Claimed by @Venkaiahbabuneelam View on GitHub
priority: p3 type: feature request
Dominant language
Python
Stars
4k
Forks
1k
Avg merge
2d 11h
Merged PRs (30d)
40

Description

Currently, you are required to pass a category to set a SafetySetting. It should be possible to set it to the same level across all categories rather than having to specify one by one.

https://ai.google.dev/gemini-api/docs/safety-settings

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.