@firebase/ai 2.3.0-canary.0ffcb26af → 2.3.0-canary.7a7634f79
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 +9 -9
- package/dist/ai.d.ts +9 -9
- package/dist/esm/index.esm.js +3 -3
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/src/types/content.d.ts +4 -4
- package/dist/esm/src/types/enums.d.ts +4 -4
- package/dist/esm/src/types/requests.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.node.cjs.js +3 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +3 -3
- package/dist/index.node.mjs.map +1 -1
- package/dist/src/types/content.d.ts +4 -4
- package/dist/src/types/enums.d.ts +4 -4
- package/dist/src/types/requests.d.ts +1 -1
- package/package.json +8 -8
package/dist/ai-public.d.ts
CHANGED
|
@@ -396,7 +396,7 @@ export declare interface CitationMetadata {
|
|
|
396
396
|
/**
|
|
397
397
|
* The results of code execution run by the model.
|
|
398
398
|
*
|
|
399
|
-
* @
|
|
399
|
+
* @beta
|
|
400
400
|
*/
|
|
401
401
|
export declare interface CodeExecutionResult {
|
|
402
402
|
/**
|
|
@@ -413,7 +413,7 @@ export declare interface CodeExecutionResult {
|
|
|
413
413
|
/**
|
|
414
414
|
* Represents the code execution result from the model.
|
|
415
415
|
*
|
|
416
|
-
* @
|
|
416
|
+
* @beta
|
|
417
417
|
*/
|
|
418
418
|
export declare interface CodeExecutionResultPart {
|
|
419
419
|
text?: never;
|
|
@@ -430,7 +430,7 @@ export declare interface CodeExecutionResultPart {
|
|
|
430
430
|
/**
|
|
431
431
|
* A tool that enables the model to use code execution.
|
|
432
432
|
*
|
|
433
|
-
* @
|
|
433
|
+
* @beta
|
|
434
434
|
*/
|
|
435
435
|
export declare interface CodeExecutionTool {
|
|
436
436
|
/**
|
|
@@ -580,7 +580,7 @@ export declare interface ErrorDetails {
|
|
|
580
580
|
/**
|
|
581
581
|
* An interface for executable code returned by the model.
|
|
582
582
|
*
|
|
583
|
-
* @
|
|
583
|
+
* @beta
|
|
584
584
|
*/
|
|
585
585
|
export declare interface ExecutableCode {
|
|
586
586
|
/**
|
|
@@ -596,7 +596,7 @@ export declare interface ExecutableCode {
|
|
|
596
596
|
/**
|
|
597
597
|
* Represents the code that is executed by the model.
|
|
598
598
|
*
|
|
599
|
-
* @
|
|
599
|
+
* @beta
|
|
600
600
|
*/
|
|
601
601
|
export declare interface ExecutableCodePart {
|
|
602
602
|
text?: never;
|
|
@@ -1863,7 +1863,7 @@ export declare class IntegerSchema extends Schema {
|
|
|
1863
1863
|
/**
|
|
1864
1864
|
* The programming language of the code.
|
|
1865
1865
|
*
|
|
1866
|
-
* @
|
|
1866
|
+
* @beta
|
|
1867
1867
|
*/
|
|
1868
1868
|
export declare const Language: {
|
|
1869
1869
|
UNSPECIFIED: string;
|
|
@@ -1873,7 +1873,7 @@ export declare const Language: {
|
|
|
1873
1873
|
/**
|
|
1874
1874
|
* The programming language of the code.
|
|
1875
1875
|
*
|
|
1876
|
-
* @
|
|
1876
|
+
* @beta
|
|
1877
1877
|
*/
|
|
1878
1878
|
export declare type Language = (typeof Language)[keyof typeof Language];
|
|
1879
1879
|
|
|
@@ -2290,7 +2290,7 @@ export declare interface OnDeviceParams {
|
|
|
2290
2290
|
/**
|
|
2291
2291
|
* Represents the result of the code execution.
|
|
2292
2292
|
*
|
|
2293
|
-
* @
|
|
2293
|
+
* @beta
|
|
2294
2294
|
*/
|
|
2295
2295
|
export declare const Outcome: {
|
|
2296
2296
|
UNSPECIFIED: string;
|
|
@@ -2302,7 +2302,7 @@ export declare const Outcome: {
|
|
|
2302
2302
|
/**
|
|
2303
2303
|
* Represents the result of the code execution.
|
|
2304
2304
|
*
|
|
2305
|
-
* @
|
|
2305
|
+
* @beta
|
|
2306
2306
|
*/
|
|
2307
2307
|
export declare type Outcome = (typeof Outcome)[keyof typeof Outcome];
|
|
2308
2308
|
|
package/dist/ai.d.ts
CHANGED
|
@@ -439,7 +439,7 @@ export declare interface CitationMetadata {
|
|
|
439
439
|
/**
|
|
440
440
|
* The results of code execution run by the model.
|
|
441
441
|
*
|
|
442
|
-
* @
|
|
442
|
+
* @beta
|
|
443
443
|
*/
|
|
444
444
|
export declare interface CodeExecutionResult {
|
|
445
445
|
/**
|
|
@@ -456,7 +456,7 @@ export declare interface CodeExecutionResult {
|
|
|
456
456
|
/**
|
|
457
457
|
* Represents the code execution result from the model.
|
|
458
458
|
*
|
|
459
|
-
* @
|
|
459
|
+
* @beta
|
|
460
460
|
*/
|
|
461
461
|
export declare interface CodeExecutionResultPart {
|
|
462
462
|
text?: never;
|
|
@@ -476,7 +476,7 @@ export declare interface CodeExecutionResultPart {
|
|
|
476
476
|
/**
|
|
477
477
|
* A tool that enables the model to use code execution.
|
|
478
478
|
*
|
|
479
|
-
* @
|
|
479
|
+
* @beta
|
|
480
480
|
*/
|
|
481
481
|
export declare interface CodeExecutionTool {
|
|
482
482
|
/**
|
|
@@ -626,7 +626,7 @@ export declare interface ErrorDetails {
|
|
|
626
626
|
/**
|
|
627
627
|
* An interface for executable code returned by the model.
|
|
628
628
|
*
|
|
629
|
-
* @
|
|
629
|
+
* @beta
|
|
630
630
|
*/
|
|
631
631
|
export declare interface ExecutableCode {
|
|
632
632
|
/**
|
|
@@ -642,7 +642,7 @@ export declare interface ExecutableCode {
|
|
|
642
642
|
/**
|
|
643
643
|
* Represents the code that is executed by the model.
|
|
644
644
|
*
|
|
645
|
-
* @
|
|
645
|
+
* @beta
|
|
646
646
|
*/
|
|
647
647
|
export declare interface ExecutableCodePart {
|
|
648
648
|
text?: never;
|
|
@@ -1978,7 +1978,7 @@ export declare class IntegerSchema extends Schema {
|
|
|
1978
1978
|
/**
|
|
1979
1979
|
* The programming language of the code.
|
|
1980
1980
|
*
|
|
1981
|
-
* @
|
|
1981
|
+
* @beta
|
|
1982
1982
|
*/
|
|
1983
1983
|
export declare const Language: {
|
|
1984
1984
|
UNSPECIFIED: string;
|
|
@@ -1988,7 +1988,7 @@ export declare const Language: {
|
|
|
1988
1988
|
/**
|
|
1989
1989
|
* The programming language of the code.
|
|
1990
1990
|
*
|
|
1991
|
-
* @
|
|
1991
|
+
* @beta
|
|
1992
1992
|
*/
|
|
1993
1993
|
export declare type Language = (typeof Language)[keyof typeof Language];
|
|
1994
1994
|
|
|
@@ -2421,7 +2421,7 @@ export declare interface OnDeviceParams {
|
|
|
2421
2421
|
/**
|
|
2422
2422
|
* Represents the result of the code execution.
|
|
2423
2423
|
*
|
|
2424
|
-
* @
|
|
2424
|
+
* @beta
|
|
2425
2425
|
*/
|
|
2426
2426
|
export declare const Outcome: {
|
|
2427
2427
|
UNSPECIFIED: string;
|
|
@@ -2433,7 +2433,7 @@ export declare const Outcome: {
|
|
|
2433
2433
|
/**
|
|
2434
2434
|
* Represents the result of the code execution.
|
|
2435
2435
|
*
|
|
2436
|
-
* @
|
|
2436
|
+
* @beta
|
|
2437
2437
|
*/
|
|
2438
2438
|
export declare type Outcome = (typeof Outcome)[keyof typeof Outcome];
|
|
2439
2439
|
|
package/dist/esm/index.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { FirebaseError, Deferred, getModularInstance } from '@firebase/util';
|
|
|
4
4
|
import { Logger } from '@firebase/logger';
|
|
5
5
|
|
|
6
6
|
var name = "@firebase/ai";
|
|
7
|
-
var version = "2.3.0-canary.
|
|
7
|
+
var version = "2.3.0-canary.7a7634f79";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -382,7 +382,7 @@ const InferenceMode = {
|
|
|
382
382
|
/**
|
|
383
383
|
* Represents the result of the code execution.
|
|
384
384
|
*
|
|
385
|
-
* @
|
|
385
|
+
* @beta
|
|
386
386
|
*/
|
|
387
387
|
const Outcome = {
|
|
388
388
|
UNSPECIFIED: 'OUTCOME_UNSPECIFIED',
|
|
@@ -393,7 +393,7 @@ const Outcome = {
|
|
|
393
393
|
/**
|
|
394
394
|
* The programming language of the code.
|
|
395
395
|
*
|
|
396
|
-
* @
|
|
396
|
+
* @beta
|
|
397
397
|
*/
|
|
398
398
|
const Language = {
|
|
399
399
|
UNSPECIFIED: 'LANGUAGE_UNSPECIFIED',
|