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 bd718f9 commit d34ff02Copy full SHA for d34ff02
firebaseai/src/Imagen/ImagenModel.cs
@@ -119,7 +119,9 @@ private string MakeGenerateImagenRequest(string prompt) {
119
private Dictionary<string, object> MakeGenerateImagenRequestAsDictionary(
120
string prompt) {
121
Dictionary<string, object> parameters = new() {
122
+ // These values are hardcoded to true for AI Monitoring.
123
["includeRaiReason"] = true,
124
+ ["includeSafetyAttributes"] = true,
125
};
126
// Merge the settings into a single parameter dictionary
127
if (_generationConfig != null) {
0 commit comments