@firebase/ai 1.3.0 → 1.4.0
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.
- package/dist/ai-public.d.ts +30 -3
- package/dist/ai.d.ts +30 -3
- package/dist/esm/index.esm2017.js +6 -1
- package/dist/esm/index.esm2017.js.map +1 -1
- package/dist/esm/src/requests/schema-builder.d.ts +6 -0
- package/dist/esm/src/types/enums.d.ts +6 -1
- package/dist/esm/src/types/error.d.ts +2 -2
- package/dist/esm/src/types/schema.d.ts +16 -0
- package/dist/index.cjs.js +6 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.node.cjs.js +6 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +6 -1
- package/dist/index.node.mjs.map +1 -1
- package/dist/src/requests/schema-builder.d.ts +6 -0
- package/dist/src/types/enums.d.ts +6 -1
- package/dist/src/types/error.d.ts +2 -2
- package/dist/src/types/schema.d.ts +16 -0
- package/package.json +2 -2
package/dist/index.node.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { Logger } from '@firebase/logger';
|
|
|
5
5
|
import { __asyncGenerator, __await } from 'tslib';
|
|
6
6
|
|
|
7
7
|
var name = "@firebase/ai";
|
|
8
|
-
var version = "1.
|
|
8
|
+
var version = "1.4.0";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
@@ -85,6 +85,11 @@ var HarmBlockThreshold;
|
|
|
85
85
|
* All content will be allowed.
|
|
86
86
|
*/
|
|
87
87
|
HarmBlockThreshold["BLOCK_NONE"] = "BLOCK_NONE";
|
|
88
|
+
/**
|
|
89
|
+
* All content will be allowed. This is the same as `BLOCK_NONE`, but the metadata corresponding
|
|
90
|
+
* to the {@link HarmCategory} will not be present in the response.
|
|
91
|
+
*/
|
|
92
|
+
HarmBlockThreshold["OFF"] = "OFF";
|
|
88
93
|
})(HarmBlockThreshold || (HarmBlockThreshold = {}));
|
|
89
94
|
/**
|
|
90
95
|
* This property is not supported in the Gemini Developer API ({@link GoogleAIBackend}).
|