@firebase/ai 2.7.0-canary.8123231a1 → 2.7.0-canary.b10a296fa
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 +12 -12
- package/dist/ai.d.ts +12 -12
- package/dist/esm/index.esm.js +4 -4
- 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/responses.d.ts +4 -4
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.node.cjs.js +4 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +4 -4
- 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/responses.d.ts +4 -4
- package/package.json +8 -8
|
@@ -138,7 +138,7 @@ export interface FileDataPart {
|
|
|
138
138
|
/**
|
|
139
139
|
* Represents the code that is executed by the model.
|
|
140
140
|
*
|
|
141
|
-
* @
|
|
141
|
+
* @public
|
|
142
142
|
*/
|
|
143
143
|
export interface ExecutableCodePart {
|
|
144
144
|
text?: never;
|
|
@@ -157,7 +157,7 @@ export interface ExecutableCodePart {
|
|
|
157
157
|
/**
|
|
158
158
|
* Represents the code execution result from the model.
|
|
159
159
|
*
|
|
160
|
-
* @
|
|
160
|
+
* @public
|
|
161
161
|
*/
|
|
162
162
|
export interface CodeExecutionResultPart {
|
|
163
163
|
text?: never;
|
|
@@ -176,7 +176,7 @@ export interface CodeExecutionResultPart {
|
|
|
176
176
|
/**
|
|
177
177
|
* An interface for executable code returned by the model.
|
|
178
178
|
*
|
|
179
|
-
* @
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export interface ExecutableCode {
|
|
182
182
|
/**
|
|
@@ -191,7 +191,7 @@ export interface ExecutableCode {
|
|
|
191
191
|
/**
|
|
192
192
|
* The results of code execution run by the model.
|
|
193
193
|
*
|
|
194
|
-
* @
|
|
194
|
+
* @public
|
|
195
195
|
*/
|
|
196
196
|
export interface CodeExecutionResult {
|
|
197
197
|
/**
|
|
@@ -367,7 +367,7 @@ export type InferenceSource = (typeof InferenceSource)[keyof typeof InferenceSou
|
|
|
367
367
|
/**
|
|
368
368
|
* Represents the result of the code execution.
|
|
369
369
|
*
|
|
370
|
-
* @
|
|
370
|
+
* @public
|
|
371
371
|
*/
|
|
372
372
|
export declare const Outcome: {
|
|
373
373
|
UNSPECIFIED: string;
|
|
@@ -378,13 +378,13 @@ export declare const Outcome: {
|
|
|
378
378
|
/**
|
|
379
379
|
* Represents the result of the code execution.
|
|
380
380
|
*
|
|
381
|
-
* @
|
|
381
|
+
* @public
|
|
382
382
|
*/
|
|
383
383
|
export type Outcome = (typeof Outcome)[keyof typeof Outcome];
|
|
384
384
|
/**
|
|
385
385
|
* The programming language of the code.
|
|
386
386
|
*
|
|
387
|
-
* @
|
|
387
|
+
* @public
|
|
388
388
|
*/
|
|
389
389
|
export declare const Language: {
|
|
390
390
|
UNSPECIFIED: string;
|
|
@@ -393,7 +393,7 @@ export declare const Language: {
|
|
|
393
393
|
/**
|
|
394
394
|
* The programming language of the code.
|
|
395
395
|
*
|
|
396
|
-
* @
|
|
396
|
+
* @public
|
|
397
397
|
*/
|
|
398
398
|
export type Language = (typeof Language)[keyof typeof Language];
|
|
399
399
|
/**
|
|
@@ -353,7 +353,7 @@ export interface Segment {
|
|
|
353
353
|
/**
|
|
354
354
|
* Metadata related to {@link URLContextTool}.
|
|
355
355
|
*
|
|
356
|
-
* @
|
|
356
|
+
* @public
|
|
357
357
|
*/
|
|
358
358
|
export interface URLContextMetadata {
|
|
359
359
|
/**
|
|
@@ -364,7 +364,7 @@ export interface URLContextMetadata {
|
|
|
364
364
|
/**
|
|
365
365
|
* Metadata for a single URL retrieved by the {@link URLContextTool} tool.
|
|
366
366
|
*
|
|
367
|
-
* @
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
export interface URLMetadata {
|
|
370
370
|
/**
|
|
@@ -391,7 +391,7 @@ export interface URLMetadata {
|
|
|
391
391
|
* <b>URL_RETRIEVAL_STATUS_UNSAFE:</b> The URL retrieval failed because the content is unsafe.
|
|
392
392
|
* <br/>
|
|
393
393
|
*
|
|
394
|
-
* @
|
|
394
|
+
* @public
|
|
395
395
|
*/
|
|
396
396
|
export declare const URLRetrievalStatus: {
|
|
397
397
|
/**
|
|
@@ -430,7 +430,7 @@ export declare const URLRetrievalStatus: {
|
|
|
430
430
|
* <b>URL_RETRIEVAL_STATUS_UNSAFE:</b> The URL retrieval failed because the content is unsafe.
|
|
431
431
|
* <br/>
|
|
432
432
|
*
|
|
433
|
-
* @
|
|
433
|
+
* @public
|
|
434
434
|
*/
|
|
435
435
|
export type URLRetrievalStatus = (typeof URLRetrievalStatus)[keyof typeof URLRetrievalStatus];
|
|
436
436
|
/**
|
package/dist/index.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ var util = require('@firebase/util');
|
|
|
8
8
|
var logger$1 = require('@firebase/logger');
|
|
9
9
|
|
|
10
10
|
var name = "@firebase/ai";
|
|
11
|
-
var version = "2.7.0-canary.
|
|
11
|
+
var version = "2.7.0-canary.b10a296fa";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @license
|
|
@@ -396,7 +396,7 @@ const InferenceSource = {
|
|
|
396
396
|
/**
|
|
397
397
|
* Represents the result of the code execution.
|
|
398
398
|
*
|
|
399
|
-
* @
|
|
399
|
+
* @public
|
|
400
400
|
*/
|
|
401
401
|
const Outcome = {
|
|
402
402
|
UNSPECIFIED: 'OUTCOME_UNSPECIFIED',
|
|
@@ -407,7 +407,7 @@ const Outcome = {
|
|
|
407
407
|
/**
|
|
408
408
|
* The programming language of the code.
|
|
409
409
|
*
|
|
410
|
-
* @
|
|
410
|
+
* @public
|
|
411
411
|
*/
|
|
412
412
|
const Language = {
|
|
413
413
|
UNSPECIFIED: 'LANGUAGE_UNSPECIFIED',
|
|
@@ -458,7 +458,7 @@ const ThinkingLevel = {
|
|
|
458
458
|
* <b>URL_RETRIEVAL_STATUS_UNSAFE:</b> The URL retrieval failed because the content is unsafe.
|
|
459
459
|
* <br/>
|
|
460
460
|
*
|
|
461
|
-
* @
|
|
461
|
+
* @public
|
|
462
462
|
*/
|
|
463
463
|
const URLRetrievalStatus = {
|
|
464
464
|
/**
|