@google/genai 2.5.0 → 2.6.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/genai.d.ts +144 -68
- package/dist/index.cjs +470 -36
- package/dist/index.mjs +471 -37
- package/dist/index.mjs.map +1 -1
- package/dist/node/index.cjs +470 -36
- package/dist/node/index.mjs +471 -37
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/node.d.ts +144 -68
- package/dist/tokenizer/node.cjs +56 -16
- package/dist/tokenizer/node.d.ts +26 -21
- package/dist/tokenizer/node.mjs +56 -16
- package/dist/tokenizer/node.mjs.map +1 -1
- package/dist/vertex_internal/index.cjs +57 -17
- package/dist/vertex_internal/index.cjs.map +1 -1
- package/dist/vertex_internal/index.d.ts +142 -66
- package/dist/vertex_internal/index.js +57 -17
- package/dist/vertex_internal/index.js.map +1 -1
- package/dist/web/index.mjs +471 -37
- package/dist/web/index.mjs.map +1 -1
- package/dist/web/web.d.ts +144 -68
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -558,18 +558,6 @@ function videoFromVertex$1(fromObject) {
|
|
|
558
558
|
* Copyright 2025 Google LLC
|
|
559
559
|
* SPDX-License-Identifier: Apache-2.0
|
|
560
560
|
*/
|
|
561
|
-
/** Programming language of the `code`. */
|
|
562
|
-
exports.Language = void 0;
|
|
563
|
-
(function (Language) {
|
|
564
|
-
/**
|
|
565
|
-
* Unspecified language. This value should not be used.
|
|
566
|
-
*/
|
|
567
|
-
Language["LANGUAGE_UNSPECIFIED"] = "LANGUAGE_UNSPECIFIED";
|
|
568
|
-
/**
|
|
569
|
-
* Python >= 3.10, with numpy and simpy available.
|
|
570
|
-
*/
|
|
571
|
-
Language["PYTHON"] = "PYTHON";
|
|
572
|
-
})(exports.Language || (exports.Language = {}));
|
|
573
561
|
/** Outcome of the code execution. */
|
|
574
562
|
exports.Outcome = void 0;
|
|
575
563
|
(function (Outcome) {
|
|
@@ -578,18 +566,30 @@ exports.Outcome = void 0;
|
|
|
578
566
|
*/
|
|
579
567
|
Outcome["OUTCOME_UNSPECIFIED"] = "OUTCOME_UNSPECIFIED";
|
|
580
568
|
/**
|
|
581
|
-
* Code execution completed successfully.
|
|
569
|
+
* Code execution completed successfully. `output` contains the stdout, if any.
|
|
582
570
|
*/
|
|
583
571
|
Outcome["OUTCOME_OK"] = "OUTCOME_OK";
|
|
584
572
|
/**
|
|
585
|
-
* Code execution
|
|
573
|
+
* Code execution failed. `output` contains the stderr and stdout, if any.
|
|
586
574
|
*/
|
|
587
575
|
Outcome["OUTCOME_FAILED"] = "OUTCOME_FAILED";
|
|
588
576
|
/**
|
|
589
|
-
* Code execution ran for too long, and was cancelled. There may or may not be a partial output present.
|
|
577
|
+
* Code execution ran for too long, and was cancelled. There may or may not be a partial `output` present.
|
|
590
578
|
*/
|
|
591
579
|
Outcome["OUTCOME_DEADLINE_EXCEEDED"] = "OUTCOME_DEADLINE_EXCEEDED";
|
|
592
580
|
})(exports.Outcome || (exports.Outcome = {}));
|
|
581
|
+
/** Programming language of the `code`. */
|
|
582
|
+
exports.Language = void 0;
|
|
583
|
+
(function (Language) {
|
|
584
|
+
/**
|
|
585
|
+
* Unspecified language. This value should not be used.
|
|
586
|
+
*/
|
|
587
|
+
Language["LANGUAGE_UNSPECIFIED"] = "LANGUAGE_UNSPECIFIED";
|
|
588
|
+
/**
|
|
589
|
+
* Python >= 3.10, with numpy and simpy available.
|
|
590
|
+
*/
|
|
591
|
+
Language["PYTHON"] = "PYTHON";
|
|
592
|
+
})(exports.Language || (exports.Language = {}));
|
|
593
593
|
/** Specifies how the response should be scheduled in the conversation. */
|
|
594
594
|
exports.FunctionResponseScheduling = void 0;
|
|
595
595
|
(function (FunctionResponseScheduling) {
|
|
@@ -657,6 +657,14 @@ exports.Environment = void 0;
|
|
|
657
657
|
* Operates in a web browser.
|
|
658
658
|
*/
|
|
659
659
|
Environment["ENVIRONMENT_BROWSER"] = "ENVIRONMENT_BROWSER";
|
|
660
|
+
/**
|
|
661
|
+
* Operates in a mobile environment.
|
|
662
|
+
*/
|
|
663
|
+
Environment["ENVIRONMENT_MOBILE"] = "ENVIRONMENT_MOBILE";
|
|
664
|
+
/**
|
|
665
|
+
* Operates in a desktop environment.
|
|
666
|
+
*/
|
|
667
|
+
Environment["ENVIRONMENT_DESKTOP"] = "ENVIRONMENT_DESKTOP";
|
|
660
668
|
})(exports.Environment || (exports.Environment = {}));
|
|
661
669
|
/** Type of auth scheme. This enum is not supported in Gemini API. */
|
|
662
670
|
exports.AuthType = void 0;
|
|
@@ -1442,7 +1450,23 @@ exports.PairwiseChoice = void 0;
|
|
|
1442
1450
|
*/
|
|
1443
1451
|
PairwiseChoice["TIE"] = "TIE";
|
|
1444
1452
|
})(exports.PairwiseChoice || (exports.PairwiseChoice = {}));
|
|
1445
|
-
/** The tuning
|
|
1453
|
+
/** The speed of the tuning job. Only supported for Veo 3.0 models. This enum is not supported in Gemini API. */
|
|
1454
|
+
exports.TuningSpeed = void 0;
|
|
1455
|
+
(function (TuningSpeed) {
|
|
1456
|
+
/**
|
|
1457
|
+
* The default / unset value. For Veo 3.0 models, this defaults to FAST.
|
|
1458
|
+
*/
|
|
1459
|
+
TuningSpeed["TUNING_SPEED_UNSPECIFIED"] = "TUNING_SPEED_UNSPECIFIED";
|
|
1460
|
+
/**
|
|
1461
|
+
* Regular tuning speed.
|
|
1462
|
+
*/
|
|
1463
|
+
TuningSpeed["REGULAR"] = "REGULAR";
|
|
1464
|
+
/**
|
|
1465
|
+
* Fast tuning speed.
|
|
1466
|
+
*/
|
|
1467
|
+
TuningSpeed["FAST"] = "FAST";
|
|
1468
|
+
})(exports.TuningSpeed || (exports.TuningSpeed = {}));
|
|
1469
|
+
/** The tuning task for Veo. This enum is not supported in Gemini API. */
|
|
1446
1470
|
exports.TuningTask = void 0;
|
|
1447
1471
|
(function (TuningTask) {
|
|
1448
1472
|
/**
|
|
@@ -1462,6 +1486,22 @@ exports.TuningTask = void 0;
|
|
|
1462
1486
|
*/
|
|
1463
1487
|
TuningTask["TUNING_TASK_R2V"] = "TUNING_TASK_R2V";
|
|
1464
1488
|
})(exports.TuningTask || (exports.TuningTask = {}));
|
|
1489
|
+
/** The orientation of the video. Defaults to LANDSCAPE. This enum is not supported in Gemini API. */
|
|
1490
|
+
exports.VideoOrientation = void 0;
|
|
1491
|
+
(function (VideoOrientation) {
|
|
1492
|
+
/**
|
|
1493
|
+
* Unspecified video orientation. Defaults to landscape.
|
|
1494
|
+
*/
|
|
1495
|
+
VideoOrientation["VIDEO_ORIENTATION_UNSPECIFIED"] = "VIDEO_ORIENTATION_UNSPECIFIED";
|
|
1496
|
+
/**
|
|
1497
|
+
* Landscape orientation (e.g. 16:9, 1280x720).
|
|
1498
|
+
*/
|
|
1499
|
+
VideoOrientation["LANDSCAPE"] = "LANDSCAPE";
|
|
1500
|
+
/**
|
|
1501
|
+
* Portrait orientation (e.g. 9:16, 720x1280).
|
|
1502
|
+
*/
|
|
1503
|
+
VideoOrientation["PORTRAIT"] = "PORTRAIT";
|
|
1504
|
+
})(exports.VideoOrientation || (exports.VideoOrientation = {}));
|
|
1465
1505
|
/** Output only. Current state of the `Document`. This enum is not supported in Vertex AI. */
|
|
1466
1506
|
exports.DocumentState = void 0;
|
|
1467
1507
|
(function (DocumentState) {
|
|
@@ -5802,6 +5842,39 @@ function blobToMldev$3(fromObject) {
|
|
|
5802
5842
|
}
|
|
5803
5843
|
return toObject;
|
|
5804
5844
|
}
|
|
5845
|
+
function codeExecutionResultToVertex$2(fromObject) {
|
|
5846
|
+
const toObject = {};
|
|
5847
|
+
const fromOutcome = getValueByPath(fromObject, ['outcome']);
|
|
5848
|
+
if (fromOutcome != null) {
|
|
5849
|
+
setValueByPath(toObject, ['outcome'], fromOutcome);
|
|
5850
|
+
}
|
|
5851
|
+
const fromOutput = getValueByPath(fromObject, ['output']);
|
|
5852
|
+
if (fromOutput != null) {
|
|
5853
|
+
setValueByPath(toObject, ['output'], fromOutput);
|
|
5854
|
+
}
|
|
5855
|
+
if (getValueByPath(fromObject, ['id']) !== undefined) {
|
|
5856
|
+
throw new Error('id parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
5857
|
+
}
|
|
5858
|
+
return toObject;
|
|
5859
|
+
}
|
|
5860
|
+
function computerUseToVertex$2(fromObject) {
|
|
5861
|
+
const toObject = {};
|
|
5862
|
+
const fromEnvironment = getValueByPath(fromObject, ['environment']);
|
|
5863
|
+
if (fromEnvironment != null) {
|
|
5864
|
+
setValueByPath(toObject, ['environment'], fromEnvironment);
|
|
5865
|
+
}
|
|
5866
|
+
const fromExcludedPredefinedFunctions = getValueByPath(fromObject, [
|
|
5867
|
+
'excludedPredefinedFunctions',
|
|
5868
|
+
]);
|
|
5869
|
+
if (fromExcludedPredefinedFunctions != null) {
|
|
5870
|
+
setValueByPath(toObject, ['excludedPredefinedFunctions'], fromExcludedPredefinedFunctions);
|
|
5871
|
+
}
|
|
5872
|
+
if (getValueByPath(fromObject, ['enablePromptInjectionDetection']) !==
|
|
5873
|
+
undefined) {
|
|
5874
|
+
throw new Error('enablePromptInjectionDetection parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
5875
|
+
}
|
|
5876
|
+
return toObject;
|
|
5877
|
+
}
|
|
5805
5878
|
function contentToMldev$3(fromObject) {
|
|
5806
5879
|
const toObject = {};
|
|
5807
5880
|
const fromParts = getValueByPath(fromObject, ['parts']);
|
|
@@ -5997,6 +6070,21 @@ function deleteCachedContentResponseFromVertex(fromObject) {
|
|
|
5997
6070
|
}
|
|
5998
6071
|
return toObject;
|
|
5999
6072
|
}
|
|
6073
|
+
function executableCodeToVertex$2(fromObject) {
|
|
6074
|
+
const toObject = {};
|
|
6075
|
+
const fromCode = getValueByPath(fromObject, ['code']);
|
|
6076
|
+
if (fromCode != null) {
|
|
6077
|
+
setValueByPath(toObject, ['code'], fromCode);
|
|
6078
|
+
}
|
|
6079
|
+
const fromLanguage = getValueByPath(fromObject, ['language']);
|
|
6080
|
+
if (fromLanguage != null) {
|
|
6081
|
+
setValueByPath(toObject, ['language'], fromLanguage);
|
|
6082
|
+
}
|
|
6083
|
+
if (getValueByPath(fromObject, ['id']) !== undefined) {
|
|
6084
|
+
throw new Error('id parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
6085
|
+
}
|
|
6086
|
+
return toObject;
|
|
6087
|
+
}
|
|
6000
6088
|
function fileDataToMldev$3(fromObject) {
|
|
6001
6089
|
const toObject = {};
|
|
6002
6090
|
if (getValueByPath(fromObject, ['displayName']) !== undefined) {
|
|
@@ -6280,13 +6368,13 @@ function partToVertex$2(fromObject) {
|
|
|
6280
6368
|
'codeExecutionResult',
|
|
6281
6369
|
]);
|
|
6282
6370
|
if (fromCodeExecutionResult != null) {
|
|
6283
|
-
setValueByPath(toObject, ['codeExecutionResult'], fromCodeExecutionResult);
|
|
6371
|
+
setValueByPath(toObject, ['codeExecutionResult'], codeExecutionResultToVertex$2(fromCodeExecutionResult));
|
|
6284
6372
|
}
|
|
6285
6373
|
const fromExecutableCode = getValueByPath(fromObject, [
|
|
6286
6374
|
'executableCode',
|
|
6287
6375
|
]);
|
|
6288
6376
|
if (fromExecutableCode != null) {
|
|
6289
|
-
setValueByPath(toObject, ['executableCode'], fromExecutableCode);
|
|
6377
|
+
setValueByPath(toObject, ['executableCode'], executableCodeToVertex$2(fromExecutableCode));
|
|
6290
6378
|
}
|
|
6291
6379
|
const fromFileData = getValueByPath(fromObject, ['fileData']);
|
|
6292
6380
|
if (fromFileData != null) {
|
|
@@ -6452,7 +6540,7 @@ function toolToVertex$2(fromObject) {
|
|
|
6452
6540
|
}
|
|
6453
6541
|
const fromComputerUse = getValueByPath(fromObject, ['computerUse']);
|
|
6454
6542
|
if (fromComputerUse != null) {
|
|
6455
|
-
setValueByPath(toObject, ['computerUse'], fromComputerUse);
|
|
6543
|
+
setValueByPath(toObject, ['computerUse'], computerUseToVertex$2(fromComputerUse));
|
|
6456
6544
|
}
|
|
6457
6545
|
if (getValueByPath(fromObject, ['fileSearch']) !== undefined) {
|
|
6458
6546
|
throw new Error('fileSearch parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
@@ -7596,7 +7684,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
7596
7684
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
7597
7685
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
7598
7686
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
7599
|
-
const SDK_VERSION = '2.
|
|
7687
|
+
const SDK_VERSION = '2.6.0'; // x-release-please-version
|
|
7600
7688
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
7601
7689
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
7602
7690
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|
|
@@ -11633,6 +11721,39 @@ function blobToMldev$2(fromObject) {
|
|
|
11633
11721
|
}
|
|
11634
11722
|
return toObject;
|
|
11635
11723
|
}
|
|
11724
|
+
function codeExecutionResultToVertex$1(fromObject) {
|
|
11725
|
+
const toObject = {};
|
|
11726
|
+
const fromOutcome = getValueByPath(fromObject, ['outcome']);
|
|
11727
|
+
if (fromOutcome != null) {
|
|
11728
|
+
setValueByPath(toObject, ['outcome'], fromOutcome);
|
|
11729
|
+
}
|
|
11730
|
+
const fromOutput = getValueByPath(fromObject, ['output']);
|
|
11731
|
+
if (fromOutput != null) {
|
|
11732
|
+
setValueByPath(toObject, ['output'], fromOutput);
|
|
11733
|
+
}
|
|
11734
|
+
if (getValueByPath(fromObject, ['id']) !== undefined) {
|
|
11735
|
+
throw new Error('id parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
11736
|
+
}
|
|
11737
|
+
return toObject;
|
|
11738
|
+
}
|
|
11739
|
+
function computerUseToVertex$1(fromObject) {
|
|
11740
|
+
const toObject = {};
|
|
11741
|
+
const fromEnvironment = getValueByPath(fromObject, ['environment']);
|
|
11742
|
+
if (fromEnvironment != null) {
|
|
11743
|
+
setValueByPath(toObject, ['environment'], fromEnvironment);
|
|
11744
|
+
}
|
|
11745
|
+
const fromExcludedPredefinedFunctions = getValueByPath(fromObject, [
|
|
11746
|
+
'excludedPredefinedFunctions',
|
|
11747
|
+
]);
|
|
11748
|
+
if (fromExcludedPredefinedFunctions != null) {
|
|
11749
|
+
setValueByPath(toObject, ['excludedPredefinedFunctions'], fromExcludedPredefinedFunctions);
|
|
11750
|
+
}
|
|
11751
|
+
if (getValueByPath(fromObject, ['enablePromptInjectionDetection']) !==
|
|
11752
|
+
undefined) {
|
|
11753
|
+
throw new Error('enablePromptInjectionDetection parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
11754
|
+
}
|
|
11755
|
+
return toObject;
|
|
11756
|
+
}
|
|
11636
11757
|
function contentToMldev$2(fromObject) {
|
|
11637
11758
|
const toObject = {};
|
|
11638
11759
|
const fromParts = getValueByPath(fromObject, ['parts']);
|
|
@@ -11669,6 +11790,21 @@ function contentToVertex$1(fromObject) {
|
|
|
11669
11790
|
}
|
|
11670
11791
|
return toObject;
|
|
11671
11792
|
}
|
|
11793
|
+
function executableCodeToVertex$1(fromObject) {
|
|
11794
|
+
const toObject = {};
|
|
11795
|
+
const fromCode = getValueByPath(fromObject, ['code']);
|
|
11796
|
+
if (fromCode != null) {
|
|
11797
|
+
setValueByPath(toObject, ['code'], fromCode);
|
|
11798
|
+
}
|
|
11799
|
+
const fromLanguage = getValueByPath(fromObject, ['language']);
|
|
11800
|
+
if (fromLanguage != null) {
|
|
11801
|
+
setValueByPath(toObject, ['language'], fromLanguage);
|
|
11802
|
+
}
|
|
11803
|
+
if (getValueByPath(fromObject, ['id']) !== undefined) {
|
|
11804
|
+
throw new Error('id parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
11805
|
+
}
|
|
11806
|
+
return toObject;
|
|
11807
|
+
}
|
|
11672
11808
|
function fileDataToMldev$2(fromObject) {
|
|
11673
11809
|
const toObject = {};
|
|
11674
11810
|
if (getValueByPath(fromObject, ['displayName']) !== undefined) {
|
|
@@ -12408,13 +12544,13 @@ function partToVertex$1(fromObject) {
|
|
|
12408
12544
|
'codeExecutionResult',
|
|
12409
12545
|
]);
|
|
12410
12546
|
if (fromCodeExecutionResult != null) {
|
|
12411
|
-
setValueByPath(toObject, ['codeExecutionResult'], fromCodeExecutionResult);
|
|
12547
|
+
setValueByPath(toObject, ['codeExecutionResult'], codeExecutionResultToVertex$1(fromCodeExecutionResult));
|
|
12412
12548
|
}
|
|
12413
12549
|
const fromExecutableCode = getValueByPath(fromObject, [
|
|
12414
12550
|
'executableCode',
|
|
12415
12551
|
]);
|
|
12416
12552
|
if (fromExecutableCode != null) {
|
|
12417
|
-
setValueByPath(toObject, ['executableCode'], fromExecutableCode);
|
|
12553
|
+
setValueByPath(toObject, ['executableCode'], executableCodeToVertex$1(fromExecutableCode));
|
|
12418
12554
|
}
|
|
12419
12555
|
const fromFileData = getValueByPath(fromObject, ['fileData']);
|
|
12420
12556
|
if (fromFileData != null) {
|
|
@@ -12566,7 +12702,7 @@ function toolToVertex$1(fromObject) {
|
|
|
12566
12702
|
}
|
|
12567
12703
|
const fromComputerUse = getValueByPath(fromObject, ['computerUse']);
|
|
12568
12704
|
if (fromComputerUse != null) {
|
|
12569
|
-
setValueByPath(toObject, ['computerUse'], fromComputerUse);
|
|
12705
|
+
setValueByPath(toObject, ['computerUse'], computerUseToVertex$1(fromComputerUse));
|
|
12570
12706
|
}
|
|
12571
12707
|
if (getValueByPath(fromObject, ['fileSearch']) !== undefined) {
|
|
12572
12708
|
throw new Error('fileSearch parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
@@ -12846,6 +12982,21 @@ function citationMetadataFromMldev(fromObject, _rootObject) {
|
|
|
12846
12982
|
}
|
|
12847
12983
|
return toObject;
|
|
12848
12984
|
}
|
|
12985
|
+
function codeExecutionResultToVertex(fromObject, _rootObject) {
|
|
12986
|
+
const toObject = {};
|
|
12987
|
+
const fromOutcome = getValueByPath(fromObject, ['outcome']);
|
|
12988
|
+
if (fromOutcome != null) {
|
|
12989
|
+
setValueByPath(toObject, ['outcome'], fromOutcome);
|
|
12990
|
+
}
|
|
12991
|
+
const fromOutput = getValueByPath(fromObject, ['output']);
|
|
12992
|
+
if (fromOutput != null) {
|
|
12993
|
+
setValueByPath(toObject, ['output'], fromOutput);
|
|
12994
|
+
}
|
|
12995
|
+
if (getValueByPath(fromObject, ['id']) !== undefined) {
|
|
12996
|
+
throw new Error('id parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
12997
|
+
}
|
|
12998
|
+
return toObject;
|
|
12999
|
+
}
|
|
12849
13000
|
function computeTokensParametersToVertex(apiClient, fromObject, rootObject) {
|
|
12850
13001
|
const toObject = {};
|
|
12851
13002
|
const fromModel = getValueByPath(fromObject, ['model']);
|
|
@@ -12884,6 +13035,24 @@ function computeTokensResponseFromVertex(fromObject, _rootObject) {
|
|
|
12884
13035
|
}
|
|
12885
13036
|
return toObject;
|
|
12886
13037
|
}
|
|
13038
|
+
function computerUseToVertex(fromObject, _rootObject) {
|
|
13039
|
+
const toObject = {};
|
|
13040
|
+
const fromEnvironment = getValueByPath(fromObject, ['environment']);
|
|
13041
|
+
if (fromEnvironment != null) {
|
|
13042
|
+
setValueByPath(toObject, ['environment'], fromEnvironment);
|
|
13043
|
+
}
|
|
13044
|
+
const fromExcludedPredefinedFunctions = getValueByPath(fromObject, [
|
|
13045
|
+
'excludedPredefinedFunctions',
|
|
13046
|
+
]);
|
|
13047
|
+
if (fromExcludedPredefinedFunctions != null) {
|
|
13048
|
+
setValueByPath(toObject, ['excludedPredefinedFunctions'], fromExcludedPredefinedFunctions);
|
|
13049
|
+
}
|
|
13050
|
+
if (getValueByPath(fromObject, ['enablePromptInjectionDetection']) !==
|
|
13051
|
+
undefined) {
|
|
13052
|
+
throw new Error('enablePromptInjectionDetection parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
13053
|
+
}
|
|
13054
|
+
return toObject;
|
|
13055
|
+
}
|
|
12887
13056
|
function contentEmbeddingFromVertex(fromObject, rootObject) {
|
|
12888
13057
|
const toObject = {};
|
|
12889
13058
|
const fromValues = getValueByPath(fromObject, ['values']);
|
|
@@ -13558,6 +13727,21 @@ function endpointFromVertex(fromObject, _rootObject) {
|
|
|
13558
13727
|
}
|
|
13559
13728
|
return toObject;
|
|
13560
13729
|
}
|
|
13730
|
+
function executableCodeToVertex(fromObject, _rootObject) {
|
|
13731
|
+
const toObject = {};
|
|
13732
|
+
const fromCode = getValueByPath(fromObject, ['code']);
|
|
13733
|
+
if (fromCode != null) {
|
|
13734
|
+
setValueByPath(toObject, ['code'], fromCode);
|
|
13735
|
+
}
|
|
13736
|
+
const fromLanguage = getValueByPath(fromObject, ['language']);
|
|
13737
|
+
if (fromLanguage != null) {
|
|
13738
|
+
setValueByPath(toObject, ['language'], fromLanguage);
|
|
13739
|
+
}
|
|
13740
|
+
if (getValueByPath(fromObject, ['id']) !== undefined) {
|
|
13741
|
+
throw new Error('id parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
13742
|
+
}
|
|
13743
|
+
return toObject;
|
|
13744
|
+
}
|
|
13561
13745
|
function fileDataToMldev$1(fromObject, _rootObject) {
|
|
13562
13746
|
const toObject = {};
|
|
13563
13747
|
if (getValueByPath(fromObject, ['displayName']) !== undefined) {
|
|
@@ -15436,7 +15620,7 @@ function partToMldev$1(fromObject, rootObject) {
|
|
|
15436
15620
|
}
|
|
15437
15621
|
return toObject;
|
|
15438
15622
|
}
|
|
15439
|
-
function partToVertex(fromObject,
|
|
15623
|
+
function partToVertex(fromObject, rootObject) {
|
|
15440
15624
|
const toObject = {};
|
|
15441
15625
|
const fromMediaResolution = getValueByPath(fromObject, [
|
|
15442
15626
|
'mediaResolution',
|
|
@@ -15448,13 +15632,13 @@ function partToVertex(fromObject, _rootObject) {
|
|
|
15448
15632
|
'codeExecutionResult',
|
|
15449
15633
|
]);
|
|
15450
15634
|
if (fromCodeExecutionResult != null) {
|
|
15451
|
-
setValueByPath(toObject, ['codeExecutionResult'], fromCodeExecutionResult);
|
|
15635
|
+
setValueByPath(toObject, ['codeExecutionResult'], codeExecutionResultToVertex(fromCodeExecutionResult));
|
|
15452
15636
|
}
|
|
15453
15637
|
const fromExecutableCode = getValueByPath(fromObject, [
|
|
15454
15638
|
'executableCode',
|
|
15455
15639
|
]);
|
|
15456
15640
|
if (fromExecutableCode != null) {
|
|
15457
|
-
setValueByPath(toObject, ['executableCode'], fromExecutableCode);
|
|
15641
|
+
setValueByPath(toObject, ['executableCode'], executableCodeToVertex(fromExecutableCode));
|
|
15458
15642
|
}
|
|
15459
15643
|
const fromFileData = getValueByPath(fromObject, ['fileData']);
|
|
15460
15644
|
if (fromFileData != null) {
|
|
@@ -15929,7 +16113,7 @@ function toolToMldev$1(fromObject, rootObject) {
|
|
|
15929
16113
|
}
|
|
15930
16114
|
return toObject;
|
|
15931
16115
|
}
|
|
15932
|
-
function toolToVertex(fromObject,
|
|
16116
|
+
function toolToVertex(fromObject, rootObject) {
|
|
15933
16117
|
const toObject = {};
|
|
15934
16118
|
const fromRetrieval = getValueByPath(fromObject, ['retrieval']);
|
|
15935
16119
|
if (fromRetrieval != null) {
|
|
@@ -15937,7 +16121,7 @@ function toolToVertex(fromObject, _rootObject) {
|
|
|
15937
16121
|
}
|
|
15938
16122
|
const fromComputerUse = getValueByPath(fromObject, ['computerUse']);
|
|
15939
16123
|
if (fromComputerUse != null) {
|
|
15940
|
-
setValueByPath(toObject, ['computerUse'], fromComputerUse);
|
|
16124
|
+
setValueByPath(toObject, ['computerUse'], computerUseToVertex(fromComputerUse));
|
|
15941
16125
|
}
|
|
15942
16126
|
if (getValueByPath(fromObject, ['fileSearch']) !== undefined) {
|
|
15943
16127
|
throw new Error('fileSearch parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
|
|
@@ -20141,6 +20325,250 @@ function createTuningJobParametersPrivateToVertex(fromObject, rootObject) {
|
|
|
20141
20325
|
}
|
|
20142
20326
|
return toObject;
|
|
20143
20327
|
}
|
|
20328
|
+
function distillationHyperParametersFromVertex(fromObject, rootObject) {
|
|
20329
|
+
const toObject = {};
|
|
20330
|
+
const fromAdapterSize = getValueByPath(fromObject, ['adapterSize']);
|
|
20331
|
+
if (fromAdapterSize != null) {
|
|
20332
|
+
setValueByPath(toObject, ['adapterSize'], fromAdapterSize);
|
|
20333
|
+
}
|
|
20334
|
+
const fromEpochCount = getValueByPath(fromObject, ['epochCount']);
|
|
20335
|
+
if (fromEpochCount != null) {
|
|
20336
|
+
setValueByPath(toObject, ['epochCount'], fromEpochCount);
|
|
20337
|
+
}
|
|
20338
|
+
const fromLearningRateMultiplier = getValueByPath(fromObject, [
|
|
20339
|
+
'learningRateMultiplier',
|
|
20340
|
+
]);
|
|
20341
|
+
if (fromLearningRateMultiplier != null) {
|
|
20342
|
+
setValueByPath(toObject, ['learningRateMultiplier'], fromLearningRateMultiplier);
|
|
20343
|
+
}
|
|
20344
|
+
const fromGenerationConfig = getValueByPath(fromObject, [
|
|
20345
|
+
'generationConfig',
|
|
20346
|
+
]);
|
|
20347
|
+
if (fromGenerationConfig != null) {
|
|
20348
|
+
setValueByPath(toObject, ['generationConfig'], generationConfigFromVertex(fromGenerationConfig));
|
|
20349
|
+
}
|
|
20350
|
+
const fromLearningRate = getValueByPath(fromObject, ['learningRate']);
|
|
20351
|
+
if (fromLearningRate != null) {
|
|
20352
|
+
setValueByPath(toObject, ['learningRate'], fromLearningRate);
|
|
20353
|
+
}
|
|
20354
|
+
const fromBatchSize = getValueByPath(fromObject, ['batchSize']);
|
|
20355
|
+
if (fromBatchSize != null) {
|
|
20356
|
+
setValueByPath(toObject, ['batchSize'], fromBatchSize);
|
|
20357
|
+
}
|
|
20358
|
+
return toObject;
|
|
20359
|
+
}
|
|
20360
|
+
function distillationSamplingSpecFromVertex(fromObject, rootObject) {
|
|
20361
|
+
const toObject = {};
|
|
20362
|
+
const fromBaseTeacherModel = getValueByPath(fromObject, [
|
|
20363
|
+
'baseTeacherModel',
|
|
20364
|
+
]);
|
|
20365
|
+
if (fromBaseTeacherModel != null) {
|
|
20366
|
+
setValueByPath(toObject, ['baseTeacherModel'], fromBaseTeacherModel);
|
|
20367
|
+
}
|
|
20368
|
+
const fromTunedTeacherModelSource = getValueByPath(fromObject, [
|
|
20369
|
+
'tunedTeacherModelSource',
|
|
20370
|
+
]);
|
|
20371
|
+
if (fromTunedTeacherModelSource != null) {
|
|
20372
|
+
setValueByPath(toObject, ['tunedTeacherModelSource'], fromTunedTeacherModelSource);
|
|
20373
|
+
}
|
|
20374
|
+
const fromValidationDatasetUri = getValueByPath(fromObject, [
|
|
20375
|
+
'validationDatasetUri',
|
|
20376
|
+
]);
|
|
20377
|
+
if (fromValidationDatasetUri != null) {
|
|
20378
|
+
setValueByPath(toObject, ['validationDatasetUri'], fromValidationDatasetUri);
|
|
20379
|
+
}
|
|
20380
|
+
const fromPromptDatasetUri = getValueByPath(fromObject, [
|
|
20381
|
+
'promptDatasetUri',
|
|
20382
|
+
]);
|
|
20383
|
+
if (fromPromptDatasetUri != null) {
|
|
20384
|
+
setValueByPath(toObject, ['promptDatasetUri'], fromPromptDatasetUri);
|
|
20385
|
+
}
|
|
20386
|
+
const fromHyperparameters = getValueByPath(fromObject, [
|
|
20387
|
+
'hyperparameters',
|
|
20388
|
+
]);
|
|
20389
|
+
if (fromHyperparameters != null) {
|
|
20390
|
+
setValueByPath(toObject, ['hyperparameters'], distillationHyperParametersFromVertex(fromHyperparameters));
|
|
20391
|
+
}
|
|
20392
|
+
return toObject;
|
|
20393
|
+
}
|
|
20394
|
+
function distillationSpecFromVertex(fromObject, rootObject) {
|
|
20395
|
+
const toObject = {};
|
|
20396
|
+
const fromPromptDatasetUri = getValueByPath(fromObject, [
|
|
20397
|
+
'promptDatasetUri',
|
|
20398
|
+
]);
|
|
20399
|
+
if (fromPromptDatasetUri != null) {
|
|
20400
|
+
setValueByPath(toObject, ['promptDatasetUri'], fromPromptDatasetUri);
|
|
20401
|
+
}
|
|
20402
|
+
const fromBaseTeacherModel = getValueByPath(fromObject, [
|
|
20403
|
+
'baseTeacherModel',
|
|
20404
|
+
]);
|
|
20405
|
+
if (fromBaseTeacherModel != null) {
|
|
20406
|
+
setValueByPath(toObject, ['baseTeacherModel'], fromBaseTeacherModel);
|
|
20407
|
+
}
|
|
20408
|
+
const fromHyperParameters = getValueByPath(fromObject, [
|
|
20409
|
+
'hyperParameters',
|
|
20410
|
+
]);
|
|
20411
|
+
if (fromHyperParameters != null) {
|
|
20412
|
+
setValueByPath(toObject, ['hyperParameters'], distillationHyperParametersFromVertex(fromHyperParameters));
|
|
20413
|
+
}
|
|
20414
|
+
const fromPipelineRootDirectory = getValueByPath(fromObject, [
|
|
20415
|
+
'pipelineRootDirectory',
|
|
20416
|
+
]);
|
|
20417
|
+
if (fromPipelineRootDirectory != null) {
|
|
20418
|
+
setValueByPath(toObject, ['pipelineRootDirectory'], fromPipelineRootDirectory);
|
|
20419
|
+
}
|
|
20420
|
+
const fromStudentModel = getValueByPath(fromObject, ['studentModel']);
|
|
20421
|
+
if (fromStudentModel != null) {
|
|
20422
|
+
setValueByPath(toObject, ['studentModel'], fromStudentModel);
|
|
20423
|
+
}
|
|
20424
|
+
const fromTrainingDatasetUri = getValueByPath(fromObject, [
|
|
20425
|
+
'trainingDatasetUri',
|
|
20426
|
+
]);
|
|
20427
|
+
if (fromTrainingDatasetUri != null) {
|
|
20428
|
+
setValueByPath(toObject, ['trainingDatasetUri'], fromTrainingDatasetUri);
|
|
20429
|
+
}
|
|
20430
|
+
const fromTunedTeacherModelSource = getValueByPath(fromObject, [
|
|
20431
|
+
'tunedTeacherModelSource',
|
|
20432
|
+
]);
|
|
20433
|
+
if (fromTunedTeacherModelSource != null) {
|
|
20434
|
+
setValueByPath(toObject, ['tunedTeacherModelSource'], fromTunedTeacherModelSource);
|
|
20435
|
+
}
|
|
20436
|
+
const fromValidationDatasetUri = getValueByPath(fromObject, [
|
|
20437
|
+
'validationDatasetUri',
|
|
20438
|
+
]);
|
|
20439
|
+
if (fromValidationDatasetUri != null) {
|
|
20440
|
+
setValueByPath(toObject, ['validationDatasetUri'], fromValidationDatasetUri);
|
|
20441
|
+
}
|
|
20442
|
+
const fromTuningMode = getValueByPath(fromObject, ['tuningMode']);
|
|
20443
|
+
if (fromTuningMode != null) {
|
|
20444
|
+
setValueByPath(toObject, ['tuningMode'], fromTuningMode);
|
|
20445
|
+
}
|
|
20446
|
+
return toObject;
|
|
20447
|
+
}
|
|
20448
|
+
function generationConfigFromVertex(fromObject, _rootObject) {
|
|
20449
|
+
const toObject = {};
|
|
20450
|
+
const fromModelSelectionConfig = getValueByPath(fromObject, [
|
|
20451
|
+
'modelConfig',
|
|
20452
|
+
]);
|
|
20453
|
+
if (fromModelSelectionConfig != null) {
|
|
20454
|
+
setValueByPath(toObject, ['modelSelectionConfig'], fromModelSelectionConfig);
|
|
20455
|
+
}
|
|
20456
|
+
const fromResponseJsonSchema = getValueByPath(fromObject, [
|
|
20457
|
+
'responseJsonSchema',
|
|
20458
|
+
]);
|
|
20459
|
+
if (fromResponseJsonSchema != null) {
|
|
20460
|
+
setValueByPath(toObject, ['responseJsonSchema'], fromResponseJsonSchema);
|
|
20461
|
+
}
|
|
20462
|
+
const fromAudioTimestamp = getValueByPath(fromObject, [
|
|
20463
|
+
'audioTimestamp',
|
|
20464
|
+
]);
|
|
20465
|
+
if (fromAudioTimestamp != null) {
|
|
20466
|
+
setValueByPath(toObject, ['audioTimestamp'], fromAudioTimestamp);
|
|
20467
|
+
}
|
|
20468
|
+
const fromCandidateCount = getValueByPath(fromObject, [
|
|
20469
|
+
'candidateCount',
|
|
20470
|
+
]);
|
|
20471
|
+
if (fromCandidateCount != null) {
|
|
20472
|
+
setValueByPath(toObject, ['candidateCount'], fromCandidateCount);
|
|
20473
|
+
}
|
|
20474
|
+
const fromEnableAffectiveDialog = getValueByPath(fromObject, [
|
|
20475
|
+
'enableAffectiveDialog',
|
|
20476
|
+
]);
|
|
20477
|
+
if (fromEnableAffectiveDialog != null) {
|
|
20478
|
+
setValueByPath(toObject, ['enableAffectiveDialog'], fromEnableAffectiveDialog);
|
|
20479
|
+
}
|
|
20480
|
+
const fromFrequencyPenalty = getValueByPath(fromObject, [
|
|
20481
|
+
'frequencyPenalty',
|
|
20482
|
+
]);
|
|
20483
|
+
if (fromFrequencyPenalty != null) {
|
|
20484
|
+
setValueByPath(toObject, ['frequencyPenalty'], fromFrequencyPenalty);
|
|
20485
|
+
}
|
|
20486
|
+
const fromLogprobs = getValueByPath(fromObject, ['logprobs']);
|
|
20487
|
+
if (fromLogprobs != null) {
|
|
20488
|
+
setValueByPath(toObject, ['logprobs'], fromLogprobs);
|
|
20489
|
+
}
|
|
20490
|
+
const fromMaxOutputTokens = getValueByPath(fromObject, [
|
|
20491
|
+
'maxOutputTokens',
|
|
20492
|
+
]);
|
|
20493
|
+
if (fromMaxOutputTokens != null) {
|
|
20494
|
+
setValueByPath(toObject, ['maxOutputTokens'], fromMaxOutputTokens);
|
|
20495
|
+
}
|
|
20496
|
+
const fromMediaResolution = getValueByPath(fromObject, [
|
|
20497
|
+
'mediaResolution',
|
|
20498
|
+
]);
|
|
20499
|
+
if (fromMediaResolution != null) {
|
|
20500
|
+
setValueByPath(toObject, ['mediaResolution'], fromMediaResolution);
|
|
20501
|
+
}
|
|
20502
|
+
const fromPresencePenalty = getValueByPath(fromObject, [
|
|
20503
|
+
'presencePenalty',
|
|
20504
|
+
]);
|
|
20505
|
+
if (fromPresencePenalty != null) {
|
|
20506
|
+
setValueByPath(toObject, ['presencePenalty'], fromPresencePenalty);
|
|
20507
|
+
}
|
|
20508
|
+
const fromResponseLogprobs = getValueByPath(fromObject, [
|
|
20509
|
+
'responseLogprobs',
|
|
20510
|
+
]);
|
|
20511
|
+
if (fromResponseLogprobs != null) {
|
|
20512
|
+
setValueByPath(toObject, ['responseLogprobs'], fromResponseLogprobs);
|
|
20513
|
+
}
|
|
20514
|
+
const fromResponseMimeType = getValueByPath(fromObject, [
|
|
20515
|
+
'responseMimeType',
|
|
20516
|
+
]);
|
|
20517
|
+
if (fromResponseMimeType != null) {
|
|
20518
|
+
setValueByPath(toObject, ['responseMimeType'], fromResponseMimeType);
|
|
20519
|
+
}
|
|
20520
|
+
const fromResponseModalities = getValueByPath(fromObject, [
|
|
20521
|
+
'responseModalities',
|
|
20522
|
+
]);
|
|
20523
|
+
if (fromResponseModalities != null) {
|
|
20524
|
+
setValueByPath(toObject, ['responseModalities'], fromResponseModalities);
|
|
20525
|
+
}
|
|
20526
|
+
const fromResponseSchema = getValueByPath(fromObject, [
|
|
20527
|
+
'responseSchema',
|
|
20528
|
+
]);
|
|
20529
|
+
if (fromResponseSchema != null) {
|
|
20530
|
+
setValueByPath(toObject, ['responseSchema'], fromResponseSchema);
|
|
20531
|
+
}
|
|
20532
|
+
const fromRoutingConfig = getValueByPath(fromObject, [
|
|
20533
|
+
'routingConfig',
|
|
20534
|
+
]);
|
|
20535
|
+
if (fromRoutingConfig != null) {
|
|
20536
|
+
setValueByPath(toObject, ['routingConfig'], fromRoutingConfig);
|
|
20537
|
+
}
|
|
20538
|
+
const fromSeed = getValueByPath(fromObject, ['seed']);
|
|
20539
|
+
if (fromSeed != null) {
|
|
20540
|
+
setValueByPath(toObject, ['seed'], fromSeed);
|
|
20541
|
+
}
|
|
20542
|
+
const fromSpeechConfig = getValueByPath(fromObject, ['speechConfig']);
|
|
20543
|
+
if (fromSpeechConfig != null) {
|
|
20544
|
+
setValueByPath(toObject, ['speechConfig'], fromSpeechConfig);
|
|
20545
|
+
}
|
|
20546
|
+
const fromStopSequences = getValueByPath(fromObject, [
|
|
20547
|
+
'stopSequences',
|
|
20548
|
+
]);
|
|
20549
|
+
if (fromStopSequences != null) {
|
|
20550
|
+
setValueByPath(toObject, ['stopSequences'], fromStopSequences);
|
|
20551
|
+
}
|
|
20552
|
+
const fromTemperature = getValueByPath(fromObject, ['temperature']);
|
|
20553
|
+
if (fromTemperature != null) {
|
|
20554
|
+
setValueByPath(toObject, ['temperature'], fromTemperature);
|
|
20555
|
+
}
|
|
20556
|
+
const fromThinkingConfig = getValueByPath(fromObject, [
|
|
20557
|
+
'thinkingConfig',
|
|
20558
|
+
]);
|
|
20559
|
+
if (fromThinkingConfig != null) {
|
|
20560
|
+
setValueByPath(toObject, ['thinkingConfig'], fromThinkingConfig);
|
|
20561
|
+
}
|
|
20562
|
+
const fromTopK = getValueByPath(fromObject, ['topK']);
|
|
20563
|
+
if (fromTopK != null) {
|
|
20564
|
+
setValueByPath(toObject, ['topK'], fromTopK);
|
|
20565
|
+
}
|
|
20566
|
+
const fromTopP = getValueByPath(fromObject, ['topP']);
|
|
20567
|
+
if (fromTopP != null) {
|
|
20568
|
+
setValueByPath(toObject, ['topP'], fromTopP);
|
|
20569
|
+
}
|
|
20570
|
+
return toObject;
|
|
20571
|
+
}
|
|
20144
20572
|
function getTuningJobParametersToMldev(fromObject, _rootObject) {
|
|
20145
20573
|
const toObject = {};
|
|
20146
20574
|
const fromName = getValueByPath(fromObject, ['name']);
|
|
@@ -20354,7 +20782,7 @@ function tuningJobFromMldev(fromObject, rootObject) {
|
|
|
20354
20782
|
}
|
|
20355
20783
|
return toObject;
|
|
20356
20784
|
}
|
|
20357
|
-
function tuningJobFromVertex(fromObject,
|
|
20785
|
+
function tuningJobFromVertex(fromObject, rootObject) {
|
|
20358
20786
|
const toObject = {};
|
|
20359
20787
|
const fromSdkHttpResponse = getValueByPath(fromObject, [
|
|
20360
20788
|
'sdkHttpResponse',
|
|
@@ -20424,7 +20852,7 @@ function tuningJobFromVertex(fromObject, _rootObject) {
|
|
|
20424
20852
|
'distillationSpec',
|
|
20425
20853
|
]);
|
|
20426
20854
|
if (fromDistillationSpec != null) {
|
|
20427
|
-
setValueByPath(toObject, ['distillationSpec'], fromDistillationSpec);
|
|
20855
|
+
setValueByPath(toObject, ['distillationSpec'], distillationSpecFromVertex(fromDistillationSpec));
|
|
20428
20856
|
}
|
|
20429
20857
|
const fromTuningDataStats = getValueByPath(fromObject, [
|
|
20430
20858
|
'tuningDataStats',
|
|
@@ -20508,18 +20936,24 @@ function tuningJobFromVertex(fromObject, _rootObject) {
|
|
|
20508
20936
|
if (fromVeoTuningSpec != null) {
|
|
20509
20937
|
setValueByPath(toObject, ['veoTuningSpec'], fromVeoTuningSpec);
|
|
20510
20938
|
}
|
|
20511
|
-
const fromDistillationSamplingSpec = getValueByPath(fromObject, [
|
|
20512
|
-
'distillationSamplingSpec',
|
|
20513
|
-
]);
|
|
20514
|
-
if (fromDistillationSamplingSpec != null) {
|
|
20515
|
-
setValueByPath(toObject, ['distillationSamplingSpec'], fromDistillationSamplingSpec);
|
|
20516
|
-
}
|
|
20517
20939
|
const fromTuningJobMetadata = getValueByPath(fromObject, [
|
|
20518
20940
|
'tuningJobMetadata',
|
|
20519
20941
|
]);
|
|
20520
20942
|
if (fromTuningJobMetadata != null) {
|
|
20521
20943
|
setValueByPath(toObject, ['tuningJobMetadata'], fromTuningJobMetadata);
|
|
20522
20944
|
}
|
|
20945
|
+
const fromVeoLoraTuningSpec = getValueByPath(fromObject, [
|
|
20946
|
+
'veoLoraTuningSpec',
|
|
20947
|
+
]);
|
|
20948
|
+
if (fromVeoLoraTuningSpec != null) {
|
|
20949
|
+
setValueByPath(toObject, ['veoLoraTuningSpec'], fromVeoLoraTuningSpec);
|
|
20950
|
+
}
|
|
20951
|
+
const fromDistillationSamplingSpec = getValueByPath(fromObject, [
|
|
20952
|
+
'distillationSamplingSpec',
|
|
20953
|
+
]);
|
|
20954
|
+
if (fromDistillationSamplingSpec != null) {
|
|
20955
|
+
setValueByPath(toObject, ['distillationSamplingSpec'], distillationSamplingSpecFromVertex(fromDistillationSamplingSpec));
|
|
20956
|
+
}
|
|
20523
20957
|
return toObject;
|
|
20524
20958
|
}
|
|
20525
20959
|
function tuningOperationFromMldev(fromObject, _rootObject) {
|