Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HarmCategory: Civic Integrity #242

Open
moeadham opened this issue Aug 29, 2024 · 5 comments · May be fixed by #268
Open

HarmCategory: Civic Integrity #242

moeadham opened this issue Aug 29, 2024 · 5 comments · May be fixed by #268
Assignees
Labels
component:js sdk Issue/PR related to JavaScript SDK status:triaged Issue/PR triaged to the corresponding sub-team type:bug Something isn't working

Comments

@moeadham
Copy link

Description of the bug:

Gemini AI now has a harm category "Civic Integrity"

Actual vs expected behavior:

The ENUM is missing the new "Civic Integrity" category

HARM_CATEGORY_DANGEROUS_CONTENT = "HARM_CATEGORY_DANGEROUS_CONTENT",

Any other information you'd like to share?

No response

@0wwafa
Copy link

0wwafa commented Aug 29, 2024

I just noticed the same.

@augusto-rehfeldt
Copy link

Ridiculous that they launch this without api support.

@manojssmk manojssmk added type:bug Something isn't working status:triaged Issue/PR triaged to the corresponding sub-team component:js sdk Issue/PR related to JavaScript SDK labels Sep 2, 2024
@0wwafa
Copy link

0wwafa commented Sep 2, 2024

Ridiculous that they launch this without api support.

to tell the truth, api supports it. it's the javascript code that has not been updated

using rest you can specify also the new category. so it IS implemented on the server side.
it's just the ENUM that misses it.

@samrahimi
Copy link

Using rest, what do I call it? "HARM_CATEGORY_CIVIC_INTEGRITY"?

@0wwafa
Copy link

0wwafa commented Sep 9, 2024

Using rest, what do I call it? "HARM_CATEGORY_CIVIC_INTEGRITY"?

yep.

@ImBIOS ImBIOS linked a pull request Sep 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:js sdk Issue/PR related to JavaScript SDK status:triaged Issue/PR triaged to the corresponding sub-team type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants