@firebase/ai 1.4.1-canary.2d720995d → 1.4.1-canary.cb19688bf
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 +0 -15
- package/dist/ai.d.ts +0 -15
- package/dist/esm/index.esm.js +1 -1
- package/dist/esm/src/types/responses.d.ts +0 -14
- package/dist/index.cjs.js +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.mjs +1 -1
- package/dist/src/types/responses.d.ts +0 -14
- package/package.json +8 -8
package/dist/ai-public.d.ts
CHANGED
|
@@ -900,17 +900,6 @@ export declare interface GoogleSearchTool {
|
|
|
900
900
|
googleSearch: GoogleSearch;
|
|
901
901
|
}
|
|
902
902
|
|
|
903
|
-
/**
|
|
904
|
-
* @deprecated
|
|
905
|
-
* @public
|
|
906
|
-
*/
|
|
907
|
-
export declare interface GroundingAttribution {
|
|
908
|
-
segment: Segment;
|
|
909
|
-
confidenceScore?: number;
|
|
910
|
-
web?: WebAttribution;
|
|
911
|
-
retrievedContext?: RetrievedContextAttribution;
|
|
912
|
-
}
|
|
913
|
-
|
|
914
903
|
/**
|
|
915
904
|
* Represents a chunk of retrieved data that supports a claim in the model's response. This is part
|
|
916
905
|
* of the grounding information provided when grounding is enabled.
|
|
@@ -962,10 +951,6 @@ export declare interface GroundingMetadata {
|
|
|
962
951
|
* @deprecated Use {@link GroundingSupport} instead.
|
|
963
952
|
*/
|
|
964
953
|
retrievalQueries?: string[];
|
|
965
|
-
/**
|
|
966
|
-
* @deprecated Use {@link GroundingChunk} instead.
|
|
967
|
-
*/
|
|
968
|
-
groundingAttributions: GroundingAttribution[];
|
|
969
954
|
}
|
|
970
955
|
|
|
971
956
|
/**
|
package/dist/ai.d.ts
CHANGED
|
@@ -971,17 +971,6 @@ export declare interface GoogleSearchTool {
|
|
|
971
971
|
googleSearch: GoogleSearch;
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
/**
|
|
975
|
-
* @deprecated
|
|
976
|
-
* @public
|
|
977
|
-
*/
|
|
978
|
-
export declare interface GroundingAttribution {
|
|
979
|
-
segment: Segment;
|
|
980
|
-
confidenceScore?: number;
|
|
981
|
-
web?: WebAttribution;
|
|
982
|
-
retrievedContext?: RetrievedContextAttribution;
|
|
983
|
-
}
|
|
984
|
-
|
|
985
974
|
/**
|
|
986
975
|
* Represents a chunk of retrieved data that supports a claim in the model's response. This is part
|
|
987
976
|
* of the grounding information provided when grounding is enabled.
|
|
@@ -1033,10 +1022,6 @@ export declare interface GroundingMetadata {
|
|
|
1033
1022
|
* @deprecated Use {@link GroundingSupport} instead.
|
|
1034
1023
|
*/
|
|
1035
1024
|
retrievalQueries?: string[];
|
|
1036
|
-
/**
|
|
1037
|
-
* @deprecated Use {@link GroundingChunk} instead.
|
|
1038
|
-
*/
|
|
1039
|
-
groundingAttributions: GroundingAttribution[];
|
|
1040
1025
|
}
|
|
1041
1026
|
|
|
1042
1027
|
/**
|
package/dist/esm/index.esm.js
CHANGED
|
@@ -192,10 +192,6 @@ export interface GroundingMetadata {
|
|
|
192
192
|
* @deprecated Use {@link GroundingSupport} instead.
|
|
193
193
|
*/
|
|
194
194
|
retrievalQueries?: string[];
|
|
195
|
-
/**
|
|
196
|
-
* @deprecated Use {@link GroundingChunk} instead.
|
|
197
|
-
*/
|
|
198
|
-
groundingAttributions: GroundingAttribution[];
|
|
199
195
|
}
|
|
200
196
|
/**
|
|
201
197
|
* Google search entry point.
|
|
@@ -308,16 +304,6 @@ export interface Segment {
|
|
|
308
304
|
*/
|
|
309
305
|
text: string;
|
|
310
306
|
}
|
|
311
|
-
/**
|
|
312
|
-
* @deprecated
|
|
313
|
-
* @public
|
|
314
|
-
*/
|
|
315
|
-
export interface GroundingAttribution {
|
|
316
|
-
segment: Segment;
|
|
317
|
-
confidenceScore?: number;
|
|
318
|
-
web?: WebAttribution;
|
|
319
|
-
retrievedContext?: RetrievedContextAttribution;
|
|
320
|
-
}
|
|
321
307
|
/**
|
|
322
308
|
* @public
|
|
323
309
|
*/
|
package/dist/index.cjs.js
CHANGED
package/dist/index.node.cjs.js
CHANGED
package/dist/index.node.mjs
CHANGED
|
@@ -192,10 +192,6 @@ export interface GroundingMetadata {
|
|
|
192
192
|
* @deprecated Use {@link GroundingSupport} instead.
|
|
193
193
|
*/
|
|
194
194
|
retrievalQueries?: string[];
|
|
195
|
-
/**
|
|
196
|
-
* @deprecated Use {@link GroundingChunk} instead.
|
|
197
|
-
*/
|
|
198
|
-
groundingAttributions: GroundingAttribution[];
|
|
199
195
|
}
|
|
200
196
|
/**
|
|
201
197
|
* Google search entry point.
|
|
@@ -308,16 +304,6 @@ export interface Segment {
|
|
|
308
304
|
*/
|
|
309
305
|
text: string;
|
|
310
306
|
}
|
|
311
|
-
/**
|
|
312
|
-
* @deprecated
|
|
313
|
-
* @public
|
|
314
|
-
*/
|
|
315
|
-
export interface GroundingAttribution {
|
|
316
|
-
segment: Segment;
|
|
317
|
-
confidenceScore?: number;
|
|
318
|
-
web?: WebAttribution;
|
|
319
|
-
retrievedContext?: RetrievedContextAttribution;
|
|
320
|
-
}
|
|
321
307
|
/**
|
|
322
308
|
* @public
|
|
323
309
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/ai",
|
|
3
|
-
"version": "1.4.1-canary.
|
|
3
|
+
"version": "1.4.1-canary.cb19688bf",
|
|
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.13.2-canary.
|
|
49
|
-
"@firebase/app-types": "0.9.3-canary.
|
|
48
|
+
"@firebase/app": "0.13.2-canary.cb19688bf",
|
|
49
|
+
"@firebase/app-types": "0.9.3-canary.cb19688bf"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@firebase/app-check-interop-types": "0.3.3-canary.
|
|
53
|
-
"@firebase/component": "0.6.18-canary.
|
|
54
|
-
"@firebase/logger": "0.4.4-canary.
|
|
55
|
-
"@firebase/util": "1.12.1-canary.
|
|
52
|
+
"@firebase/app-check-interop-types": "0.3.3-canary.cb19688bf",
|
|
53
|
+
"@firebase/component": "0.6.18-canary.cb19688bf",
|
|
54
|
+
"@firebase/logger": "0.4.4-canary.cb19688bf",
|
|
55
|
+
"@firebase/util": "1.12.1-canary.cb19688bf",
|
|
56
56
|
"tslib": "^2.1.0"
|
|
57
57
|
},
|
|
58
58
|
"license": "Apache-2.0",
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@firebase/app": "0.13.2-canary.
|
|
60
|
+
"@firebase/app": "0.13.2-canary.cb19688bf",
|
|
61
61
|
"@rollup/plugin-json": "6.1.0",
|
|
62
62
|
"rollup": "2.79.2",
|
|
63
63
|
"rollup-plugin-replace": "2.2.0",
|