generative-ai-js icon indicating copy to clipboard operation
generative-ai-js copied to clipboard

Civic Integrity Harm Category needs to be added

Open samrahimi opened this issue 5 months ago • 2 comments

Description of the bug:

The new gemini pro and flash models released 0827 (exp) have an additional harm category called civic integrity, which is present in the AI studio UI but is totally undocumented anywhere and is missing from the npm package @google/generative-ai.

In order to keep my customers happy, I patched the package and added the item to the enum... how do I pull request it so it gets merged in?

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

samrahimi avatar Sep 03 '24 19:09 samrahimi