@firebase/ai 2.1.0-canary.84b8bed35 → 2.1.0-canary.c5f08a9bc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,6 +59,14 @@ export interface ImagenResponseInternal {
59
59
  * The reason why the image was filtered.
60
60
  */
61
61
  raiFilteredReason?: string;
62
+ /**
63
+ * The safety attributes.
64
+ *
65
+ * This type is currently unused in the SDK. It is sent back because our requests set
66
+ * `includeSafetyAttributes`. This property is currently only used to avoid throwing an error
67
+ * when encountering this unsupported prediction type.
68
+ */
69
+ safetyAttributes?: unknown;
62
70
  }>;
63
71
  }
64
72
  /**
@@ -81,6 +89,7 @@ export interface ImagenResponseInternal {
81
89
  * "personGeneration": "allow_all",
82
90
  * "sampleCount": 2,
83
91
  * "includeRaiReason": true,
92
+ * "includeSafetyAttributes": true,
84
93
  * "aspectRatio": "9:16"
85
94
  * }
86
95
  * }
@@ -108,6 +117,7 @@ export interface PredictRequestBody {
108
117
  safetyFilterLevel?: string;
109
118
  personGeneration?: string;
110
119
  includeRaiReason: boolean;
120
+ includeSafetyAttributes: boolean;
111
121
  };
112
122
  }
113
123
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/ai",
3
- "version": "2.1.0-canary.84b8bed35",
3
+ "version": "2.1.0-canary.c5f08a9bc",
4
4
  "description": "The Firebase AI SDK",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "engines": {
@@ -45,19 +45,19 @@
45
45
  "trusted-type-check": "tsec -p tsconfig.json --noEmit"
46
46
  },
47
47
  "peerDependencies": {
48
- "@firebase/app": "0.14.1-canary.84b8bed35",
49
- "@firebase/app-types": "0.9.3-canary.84b8bed35"
48
+ "@firebase/app": "0.14.1-canary.c5f08a9bc",
49
+ "@firebase/app-types": "0.9.3-canary.c5f08a9bc"
50
50
  },
51
51
  "dependencies": {
52
- "@firebase/app-check-interop-types": "0.3.3-canary.84b8bed35",
53
- "@firebase/component": "0.7.0-canary.84b8bed35",
54
- "@firebase/logger": "0.5.0-canary.84b8bed35",
55
- "@firebase/util": "1.13.0-canary.84b8bed35",
52
+ "@firebase/app-check-interop-types": "0.3.3-canary.c5f08a9bc",
53
+ "@firebase/component": "0.7.0-canary.c5f08a9bc",
54
+ "@firebase/logger": "0.5.0-canary.c5f08a9bc",
55
+ "@firebase/util": "1.13.0-canary.c5f08a9bc",
56
56
  "tslib": "^2.1.0"
57
57
  },
58
58
  "license": "Apache-2.0",
59
59
  "devDependencies": {
60
- "@firebase/app": "0.14.1-canary.84b8bed35",
60
+ "@firebase/app": "0.14.1-canary.c5f08a9bc",
61
61
  "@rollup/plugin-json": "6.1.0",
62
62
  "rollup": "2.79.2",
63
63
  "rollup-plugin-replace": "2.2.0",