@aws-sdk/client-bedrock-agent 3.940.0 → 3.942.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-cjs/index.js +38 -15
- package/dist-es/schemas/schemas_0.js +38 -15
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +28 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +15 -1
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +18 -28
- package/dist-types/models/models_1.d.ts +66 -2
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -14
- package/dist-types/ts3.4/models/models_1.d.ts +23 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -222,6 +222,8 @@ const _AASg = "AgentAliasSummaries";
|
|
|
222
222
|
const _AC = "AgentCollaborator";
|
|
223
223
|
const _ACS = "AgentCollaboratorSummary";
|
|
224
224
|
const _ACSg = "AgentCollaboratorSummaries";
|
|
225
|
+
const _ACu = "AudioConfiguration";
|
|
226
|
+
const _ACud = "AudioConfigurations";
|
|
225
227
|
const _AD = "AgentDescriptor";
|
|
226
228
|
const _ADE = "AccessDeniedException";
|
|
227
229
|
const _AFNC = "AgentFlowNodeConfiguration";
|
|
@@ -233,6 +235,7 @@ const _AKBS = "AgentKnowledgeBaseSummary";
|
|
|
233
235
|
const _AKBSg = "AgentKnowledgeBaseSummaries";
|
|
234
236
|
const _APIS = "APISchema";
|
|
235
237
|
const _AS = "AgentSummary";
|
|
238
|
+
const _ASC = "AudioSegmentationConfiguration";
|
|
236
239
|
const _ASg = "AgentSummaries";
|
|
237
240
|
const _ATC = "AnyToolChoice";
|
|
238
241
|
const _ATCu = "AutoToolChoice";
|
|
@@ -725,6 +728,8 @@ const _UR = "UntagResource";
|
|
|
725
728
|
const _URR = "UntagResourceRequest";
|
|
726
729
|
const _URRn = "UntagResourceResponse";
|
|
727
730
|
const _VBA = "VectorBucketArn";
|
|
731
|
+
const _VC = "VideoConfiguration";
|
|
732
|
+
const _VCi = "VideoConfigurations";
|
|
728
733
|
const _VE = "ValidationException";
|
|
729
734
|
const _VEF = "ValidationExceptionField";
|
|
730
735
|
const _VEFL = "ValidationExceptionFieldList";
|
|
@@ -735,12 +740,13 @@ const _VIC = "VectorIngestionConfiguration";
|
|
|
735
740
|
const _VKBC = "VectorKnowledgeBaseConfiguration";
|
|
736
741
|
const _VSBRC = "VectorSearchBedrockRerankingConfiguration";
|
|
737
742
|
const _VSBRMC = "VectorSearchBedrockRerankingModelConfiguration";
|
|
743
|
+
const _VSC = "VideoSegmentationConfiguration";
|
|
738
744
|
const _VSRC = "VectorSearchRerankingConfiguration";
|
|
739
745
|
const _WCC = "WebCrawlerConfiguration";
|
|
740
746
|
const _WCL = "WebCrawlerLimits";
|
|
741
747
|
const _WDSC = "WebDataSourceConfiguration";
|
|
742
748
|
const _WSC = "WebSourceConfiguration";
|
|
743
|
-
const _a = "
|
|
749
|
+
const _a = "audio";
|
|
744
750
|
const _aA = "agentArn";
|
|
745
751
|
const _aAA = "agentAliasArn";
|
|
746
752
|
const _aAG = "agentActionGroup";
|
|
@@ -777,6 +783,7 @@ const _aSp = "apiSchema";
|
|
|
777
783
|
const _aT = "authType";
|
|
778
784
|
const _aV = "agentVersion";
|
|
779
785
|
const _aVS = "agentVersionSummaries";
|
|
786
|
+
const _ag = "agent";
|
|
780
787
|
const _an = "any";
|
|
781
788
|
const _ar = "arn";
|
|
782
789
|
const _at = "attribute";
|
|
@@ -879,6 +886,7 @@ const _fC = "filterConfiguration";
|
|
|
879
886
|
const _fI = "flowIdentifier";
|
|
880
887
|
const _fIl = "flowId";
|
|
881
888
|
const _fL = "fieldList";
|
|
889
|
+
const _fLD = "fixedLengthDuration";
|
|
882
890
|
const _fM = "foundationModel";
|
|
883
891
|
const _fMi = "fieldMapping";
|
|
884
892
|
const _fN = "fieldName";
|
|
@@ -1071,12 +1079,13 @@ const _s = "system";
|
|
|
1071
1079
|
const _sA = "startedAt";
|
|
1072
1080
|
const _sB = "sortBy";
|
|
1073
1081
|
const _sBN = "s3BucketName";
|
|
1074
|
-
const _sC = "
|
|
1082
|
+
const _sC = "segmentationConfiguration";
|
|
1075
1083
|
const _sCC = "semanticChunkingConfiguration";
|
|
1076
1084
|
const _sCa = "salesforceConfiguration";
|
|
1077
1085
|
const _sCe = "serverlessConfiguration";
|
|
1078
1086
|
const _sCer = "serviceConfiguration";
|
|
1079
|
-
const _sCo = "
|
|
1087
|
+
const _sCo = "sourceConfiguration";
|
|
1088
|
+
const _sCon = "s3Configuration";
|
|
1080
1089
|
const _sCt = "storageConfiguration";
|
|
1081
1090
|
const _sCto = "storageConfigurations";
|
|
1082
1091
|
const _sD = "startDate";
|
|
@@ -1167,6 +1176,7 @@ const _va = "variants";
|
|
|
1167
1176
|
const _val = "validations";
|
|
1168
1177
|
const _valu = "values";
|
|
1169
1178
|
const _value = "value";
|
|
1179
|
+
const _vi = "video";
|
|
1170
1180
|
const _wA = "workgroupArn";
|
|
1171
1181
|
const _wC = "webConfiguration";
|
|
1172
1182
|
const n0 = "com.amazonaws.bedrockagent";
|
|
@@ -1402,9 +1412,18 @@ var AssociateAgentKnowledgeBaseResponse = [
|
|
|
1402
1412
|
[_aKB],
|
|
1403
1413
|
[() => AgentKnowledgeBase],
|
|
1404
1414
|
];
|
|
1415
|
+
var AudioConfiguration = [3, n0, _ACu, 0, [_sC], [() => AudioSegmentationConfiguration]];
|
|
1416
|
+
var AudioSegmentationConfiguration = [3, n0, _ASC, 0, [_fLD], [1]];
|
|
1405
1417
|
var AutoToolChoice = [3, n0, _ATCu, 0, [], []];
|
|
1406
1418
|
var BedrockDataAutomationConfiguration = [3, n0, _BDAC, 0, [_pM], [0]];
|
|
1407
|
-
var BedrockEmbeddingModelConfiguration = [
|
|
1419
|
+
var BedrockEmbeddingModelConfiguration = [
|
|
1420
|
+
3,
|
|
1421
|
+
n0,
|
|
1422
|
+
_BEMC,
|
|
1423
|
+
0,
|
|
1424
|
+
[_di, _eDT, _a, _vi],
|
|
1425
|
+
[1, 0, () => AudioConfigurations, () => VideoConfigurations],
|
|
1426
|
+
];
|
|
1408
1427
|
var BedrockFoundationModelConfiguration = [
|
|
1409
1428
|
3,
|
|
1410
1429
|
n0,
|
|
@@ -1483,7 +1502,7 @@ var ConfluenceDataSourceConfiguration = [
|
|
|
1483
1502
|
n0,
|
|
1484
1503
|
_CDSC,
|
|
1485
1504
|
0,
|
|
1486
|
-
[
|
|
1505
|
+
[_sCo, _cC],
|
|
1487
1506
|
[() => ConfluenceSourceConfiguration, [() => ConfluenceCrawlerConfiguration, 0]],
|
|
1488
1507
|
];
|
|
1489
1508
|
var ConfluenceSourceConfiguration = [3, n0, _CSC, 0, [_hU, _hT, _aT, _cSA], [0, 0, 0, 0]];
|
|
@@ -1552,7 +1571,7 @@ var CreateAgentRequest = [
|
|
|
1552
1571
|
0,
|
|
1553
1572
|
],
|
|
1554
1573
|
];
|
|
1555
|
-
var CreateAgentResponse = [3, n0, _CARr, 0, [
|
|
1574
|
+
var CreateAgentResponse = [3, n0, _CARr, 0, [_ag], [[() => Agent, 0]]];
|
|
1556
1575
|
var CreateDataSourceRequest = [
|
|
1557
1576
|
3,
|
|
1558
1577
|
n0,
|
|
@@ -1700,7 +1719,7 @@ var DataSourceConfiguration = [
|
|
|
1700
1719
|
n0,
|
|
1701
1720
|
_DSC,
|
|
1702
1721
|
0,
|
|
1703
|
-
[_t,
|
|
1722
|
+
[_t, _sCon, _wC, _cCon, _sCa, _sPC],
|
|
1704
1723
|
[
|
|
1705
1724
|
0,
|
|
1706
1725
|
[() => S3DataSourceConfiguration, 0],
|
|
@@ -2085,7 +2104,7 @@ var GetAgentKnowledgeBaseResponse = [
|
|
|
2085
2104
|
[() => AgentKnowledgeBase],
|
|
2086
2105
|
];
|
|
2087
2106
|
var GetAgentRequest = [3, n0, _GAR, 0, [_aI], [[0, 1]]];
|
|
2088
|
-
var GetAgentResponse = [3, n0, _GARe, 0, [
|
|
2107
|
+
var GetAgentResponse = [3, n0, _GARe, 0, [_ag], [[() => Agent, 0]]];
|
|
2089
2108
|
var GetAgentVersionRequest = [
|
|
2090
2109
|
3,
|
|
2091
2110
|
n0,
|
|
@@ -2850,7 +2869,7 @@ var PromptFlowNodeConfiguration = [
|
|
|
2850
2869
|
n0,
|
|
2851
2870
|
_PFNC,
|
|
2852
2871
|
0,
|
|
2853
|
-
[
|
|
2872
|
+
[_sCo, _gC],
|
|
2854
2873
|
[[() => PromptFlowNodeSourceConfiguration, 0], () => GuardrailConfiguration],
|
|
2855
2874
|
];
|
|
2856
2875
|
var PromptFlowNodeInlineConfiguration = [
|
|
@@ -3074,7 +3093,7 @@ var SalesforceDataSourceConfiguration = [
|
|
|
3074
3093
|
n0,
|
|
3075
3094
|
_SDSCa,
|
|
3076
3095
|
0,
|
|
3077
|
-
[
|
|
3096
|
+
[_sCo, _cC],
|
|
3078
3097
|
[() => SalesforceSourceConfiguration, [() => SalesforceCrawlerConfiguration, 0]],
|
|
3079
3098
|
];
|
|
3080
3099
|
var SalesforceSourceConfiguration = [3, n0, _SSC, 0, [_hU, _aT, _cSA], [0, 0, 0]];
|
|
@@ -3107,7 +3126,7 @@ var SharePointDataSourceConfiguration = [
|
|
|
3107
3126
|
n0,
|
|
3108
3127
|
_SPDSC,
|
|
3109
3128
|
0,
|
|
3110
|
-
[
|
|
3129
|
+
[_sCo, _cC],
|
|
3111
3130
|
[() => SharePointSourceConfiguration, [() => SharePointCrawlerConfiguration, 0]],
|
|
3112
3131
|
];
|
|
3113
3132
|
var SharePointSourceConfiguration = [
|
|
@@ -3352,7 +3371,7 @@ var UpdateAgentRequest = [
|
|
|
3352
3371
|
0,
|
|
3353
3372
|
],
|
|
3354
3373
|
];
|
|
3355
|
-
var UpdateAgentResponse = [3, n0, _UARp, 0, [
|
|
3374
|
+
var UpdateAgentResponse = [3, n0, _UARp, 0, [_ag], [[() => Agent, 0]]];
|
|
3356
3375
|
var UpdateDataSourceRequest = [
|
|
3357
3376
|
3,
|
|
3358
3377
|
n0,
|
|
@@ -3496,6 +3515,8 @@ var VectorSearchRerankingConfiguration = [
|
|
|
3496
3515
|
[_t, _bRC],
|
|
3497
3516
|
[0, [() => VectorSearchBedrockRerankingConfiguration, 0]],
|
|
3498
3517
|
];
|
|
3518
|
+
var VideoConfiguration = [3, n0, _VC, 0, [_sC], [() => VideoSegmentationConfiguration]];
|
|
3519
|
+
var VideoSegmentationConfiguration = [3, n0, _VSC, 0, [_fLD], [1]];
|
|
3499
3520
|
var WebCrawlerConfiguration = [
|
|
3500
3521
|
3,
|
|
3501
3522
|
n0,
|
|
@@ -3517,7 +3538,7 @@ var WebDataSourceConfiguration = [
|
|
|
3517
3538
|
n0,
|
|
3518
3539
|
_WDSC,
|
|
3519
3540
|
0,
|
|
3520
|
-
[
|
|
3541
|
+
[_sCo, _cC],
|
|
3521
3542
|
[() => WebSourceConfiguration, [() => WebCrawlerConfiguration, 0]],
|
|
3522
3543
|
];
|
|
3523
3544
|
var WebSourceConfiguration = [3, n0, _WSC, 0, [_uC], [() => UrlConfiguration]];
|
|
@@ -3537,6 +3558,7 @@ var AgentCollaboratorSummaries = [1, n0, _ACSg, 0, [() => AgentCollaboratorSumma
|
|
|
3537
3558
|
var AgentKnowledgeBaseSummaries = [1, n0, _AKBSg, 0, () => AgentKnowledgeBaseSummary];
|
|
3538
3559
|
var AgentSummaries = [1, n0, _ASg, 0, () => AgentSummary];
|
|
3539
3560
|
var AgentVersionSummaries = [1, n0, _AVSg, 0, () => AgentVersionSummary];
|
|
3561
|
+
var AudioConfigurations = [1, n0, _ACud, 0, () => AudioConfiguration];
|
|
3540
3562
|
var ContentBlocks = [1, n0, _CB, 0, [() => ContentBlock, 0]];
|
|
3541
3563
|
var CuratedQueries = [1, n0, _CQu, 0, () => CuratedQuery];
|
|
3542
3564
|
var DataSourceSummaries = [1, n0, _DSSa, 0, () => DataSourceSummary];
|
|
@@ -3603,6 +3625,7 @@ var SystemContentBlocks = [1, n0, _SCB, 0, [() => SystemContentBlock, 0]];
|
|
|
3603
3625
|
var Tools = [1, n0, _To, 8, () => Tool];
|
|
3604
3626
|
var Transformations = [1, n0, _Tr, 0, () => Transformation];
|
|
3605
3627
|
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
3628
|
+
var VideoConfigurations = [1, n0, _VCi, 0, () => VideoConfiguration];
|
|
3606
3629
|
var ParameterMap = [2, n0, _PM, 0, 0, () => ParameterDetail];
|
|
3607
3630
|
var ActionGroupExecutor = [3, n0, _AGE, 0, [_lam, _cCu], [0, 0]];
|
|
3608
3631
|
var APISchema = [3, n0, _APIS, 0, [_s_, _pa], [() => S3Identifier, [() => Payload, 0]]];
|
|
@@ -3620,7 +3643,7 @@ var FlowNodeConfiguration = [
|
|
|
3620
3643
|
n0,
|
|
3621
3644
|
_FNC,
|
|
3622
3645
|
0,
|
|
3623
|
-
[_inp, _ou, _kB, _cond, _le, _pr, _lF, _sto,
|
|
3646
|
+
[_inp, _ou, _kB, _cond, _le, _pr, _lF, _sto, _ag, _ret, _it, _coll, _iCnl, _lo, _lIo, _lCo],
|
|
3624
3647
|
[
|
|
3625
3648
|
() => InputFlowNodeConfiguration,
|
|
3626
3649
|
() => OutputFlowNodeConfiguration,
|
|
@@ -3726,7 +3749,7 @@ var PromptFlowNodeSourceConfiguration = [
|
|
|
3726
3749
|
[_res, _inl],
|
|
3727
3750
|
[() => PromptFlowNodeResourceConfiguration, [() => PromptFlowNodeInlineConfiguration, 0]],
|
|
3728
3751
|
];
|
|
3729
|
-
var PromptGenAiResource = [3, n0, _PGAR, 8, [
|
|
3752
|
+
var PromptGenAiResource = [3, n0, _PGAR, 8, [_ag], [[() => PromptAgentResource, 0]]];
|
|
3730
3753
|
var PromptInferenceConfiguration = [
|
|
3731
3754
|
3,
|
|
3732
3755
|
n0,
|
|
@@ -16,6 +16,8 @@ const _AASg = "AgentAliasSummaries";
|
|
|
16
16
|
const _AC = "AgentCollaborator";
|
|
17
17
|
const _ACS = "AgentCollaboratorSummary";
|
|
18
18
|
const _ACSg = "AgentCollaboratorSummaries";
|
|
19
|
+
const _ACu = "AudioConfiguration";
|
|
20
|
+
const _ACud = "AudioConfigurations";
|
|
19
21
|
const _AD = "AgentDescriptor";
|
|
20
22
|
const _ADE = "AccessDeniedException";
|
|
21
23
|
const _AFNC = "AgentFlowNodeConfiguration";
|
|
@@ -27,6 +29,7 @@ const _AKBS = "AgentKnowledgeBaseSummary";
|
|
|
27
29
|
const _AKBSg = "AgentKnowledgeBaseSummaries";
|
|
28
30
|
const _APIS = "APISchema";
|
|
29
31
|
const _AS = "AgentSummary";
|
|
32
|
+
const _ASC = "AudioSegmentationConfiguration";
|
|
30
33
|
const _ASg = "AgentSummaries";
|
|
31
34
|
const _ATC = "AnyToolChoice";
|
|
32
35
|
const _ATCu = "AutoToolChoice";
|
|
@@ -519,6 +522,8 @@ const _UR = "UntagResource";
|
|
|
519
522
|
const _URR = "UntagResourceRequest";
|
|
520
523
|
const _URRn = "UntagResourceResponse";
|
|
521
524
|
const _VBA = "VectorBucketArn";
|
|
525
|
+
const _VC = "VideoConfiguration";
|
|
526
|
+
const _VCi = "VideoConfigurations";
|
|
522
527
|
const _VE = "ValidationException";
|
|
523
528
|
const _VEF = "ValidationExceptionField";
|
|
524
529
|
const _VEFL = "ValidationExceptionFieldList";
|
|
@@ -529,12 +534,13 @@ const _VIC = "VectorIngestionConfiguration";
|
|
|
529
534
|
const _VKBC = "VectorKnowledgeBaseConfiguration";
|
|
530
535
|
const _VSBRC = "VectorSearchBedrockRerankingConfiguration";
|
|
531
536
|
const _VSBRMC = "VectorSearchBedrockRerankingModelConfiguration";
|
|
537
|
+
const _VSC = "VideoSegmentationConfiguration";
|
|
532
538
|
const _VSRC = "VectorSearchRerankingConfiguration";
|
|
533
539
|
const _WCC = "WebCrawlerConfiguration";
|
|
534
540
|
const _WCL = "WebCrawlerLimits";
|
|
535
541
|
const _WDSC = "WebDataSourceConfiguration";
|
|
536
542
|
const _WSC = "WebSourceConfiguration";
|
|
537
|
-
const _a = "
|
|
543
|
+
const _a = "audio";
|
|
538
544
|
const _aA = "agentArn";
|
|
539
545
|
const _aAA = "agentAliasArn";
|
|
540
546
|
const _aAG = "agentActionGroup";
|
|
@@ -571,6 +577,7 @@ const _aSp = "apiSchema";
|
|
|
571
577
|
const _aT = "authType";
|
|
572
578
|
const _aV = "agentVersion";
|
|
573
579
|
const _aVS = "agentVersionSummaries";
|
|
580
|
+
const _ag = "agent";
|
|
574
581
|
const _an = "any";
|
|
575
582
|
const _ar = "arn";
|
|
576
583
|
const _at = "attribute";
|
|
@@ -673,6 +680,7 @@ const _fC = "filterConfiguration";
|
|
|
673
680
|
const _fI = "flowIdentifier";
|
|
674
681
|
const _fIl = "flowId";
|
|
675
682
|
const _fL = "fieldList";
|
|
683
|
+
const _fLD = "fixedLengthDuration";
|
|
676
684
|
const _fM = "foundationModel";
|
|
677
685
|
const _fMi = "fieldMapping";
|
|
678
686
|
const _fN = "fieldName";
|
|
@@ -865,12 +873,13 @@ const _s = "system";
|
|
|
865
873
|
const _sA = "startedAt";
|
|
866
874
|
const _sB = "sortBy";
|
|
867
875
|
const _sBN = "s3BucketName";
|
|
868
|
-
const _sC = "
|
|
876
|
+
const _sC = "segmentationConfiguration";
|
|
869
877
|
const _sCC = "semanticChunkingConfiguration";
|
|
870
878
|
const _sCa = "salesforceConfiguration";
|
|
871
879
|
const _sCe = "serverlessConfiguration";
|
|
872
880
|
const _sCer = "serviceConfiguration";
|
|
873
|
-
const _sCo = "
|
|
881
|
+
const _sCo = "sourceConfiguration";
|
|
882
|
+
const _sCon = "s3Configuration";
|
|
874
883
|
const _sCt = "storageConfiguration";
|
|
875
884
|
const _sCto = "storageConfigurations";
|
|
876
885
|
const _sD = "startDate";
|
|
@@ -961,6 +970,7 @@ const _va = "variants";
|
|
|
961
970
|
const _val = "validations";
|
|
962
971
|
const _valu = "values";
|
|
963
972
|
const _value = "value";
|
|
973
|
+
const _vi = "video";
|
|
964
974
|
const _wA = "workgroupArn";
|
|
965
975
|
const _wC = "webConfiguration";
|
|
966
976
|
const n0 = "com.amazonaws.bedrockagent";
|
|
@@ -1199,9 +1209,18 @@ export var AssociateAgentKnowledgeBaseResponse = [
|
|
|
1199
1209
|
[_aKB],
|
|
1200
1210
|
[() => AgentKnowledgeBase],
|
|
1201
1211
|
];
|
|
1212
|
+
export var AudioConfiguration = [3, n0, _ACu, 0, [_sC], [() => AudioSegmentationConfiguration]];
|
|
1213
|
+
export var AudioSegmentationConfiguration = [3, n0, _ASC, 0, [_fLD], [1]];
|
|
1202
1214
|
export var AutoToolChoice = [3, n0, _ATCu, 0, [], []];
|
|
1203
1215
|
export var BedrockDataAutomationConfiguration = [3, n0, _BDAC, 0, [_pM], [0]];
|
|
1204
|
-
export var BedrockEmbeddingModelConfiguration = [
|
|
1216
|
+
export var BedrockEmbeddingModelConfiguration = [
|
|
1217
|
+
3,
|
|
1218
|
+
n0,
|
|
1219
|
+
_BEMC,
|
|
1220
|
+
0,
|
|
1221
|
+
[_di, _eDT, _a, _vi],
|
|
1222
|
+
[1, 0, () => AudioConfigurations, () => VideoConfigurations],
|
|
1223
|
+
];
|
|
1205
1224
|
export var BedrockFoundationModelConfiguration = [
|
|
1206
1225
|
3,
|
|
1207
1226
|
n0,
|
|
@@ -1280,7 +1299,7 @@ export var ConfluenceDataSourceConfiguration = [
|
|
|
1280
1299
|
n0,
|
|
1281
1300
|
_CDSC,
|
|
1282
1301
|
0,
|
|
1283
|
-
[
|
|
1302
|
+
[_sCo, _cC],
|
|
1284
1303
|
[() => ConfluenceSourceConfiguration, [() => ConfluenceCrawlerConfiguration, 0]],
|
|
1285
1304
|
];
|
|
1286
1305
|
export var ConfluenceSourceConfiguration = [3, n0, _CSC, 0, [_hU, _hT, _aT, _cSA], [0, 0, 0, 0]];
|
|
@@ -1349,7 +1368,7 @@ export var CreateAgentRequest = [
|
|
|
1349
1368
|
0,
|
|
1350
1369
|
],
|
|
1351
1370
|
];
|
|
1352
|
-
export var CreateAgentResponse = [3, n0, _CARr, 0, [
|
|
1371
|
+
export var CreateAgentResponse = [3, n0, _CARr, 0, [_ag], [[() => Agent, 0]]];
|
|
1353
1372
|
export var CreateDataSourceRequest = [
|
|
1354
1373
|
3,
|
|
1355
1374
|
n0,
|
|
@@ -1497,7 +1516,7 @@ export var DataSourceConfiguration = [
|
|
|
1497
1516
|
n0,
|
|
1498
1517
|
_DSC,
|
|
1499
1518
|
0,
|
|
1500
|
-
[_t,
|
|
1519
|
+
[_t, _sCon, _wC, _cCon, _sCa, _sPC],
|
|
1501
1520
|
[
|
|
1502
1521
|
0,
|
|
1503
1522
|
[() => S3DataSourceConfiguration, 0],
|
|
@@ -1882,7 +1901,7 @@ export var GetAgentKnowledgeBaseResponse = [
|
|
|
1882
1901
|
[() => AgentKnowledgeBase],
|
|
1883
1902
|
];
|
|
1884
1903
|
export var GetAgentRequest = [3, n0, _GAR, 0, [_aI], [[0, 1]]];
|
|
1885
|
-
export var GetAgentResponse = [3, n0, _GARe, 0, [
|
|
1904
|
+
export var GetAgentResponse = [3, n0, _GARe, 0, [_ag], [[() => Agent, 0]]];
|
|
1886
1905
|
export var GetAgentVersionRequest = [
|
|
1887
1906
|
3,
|
|
1888
1907
|
n0,
|
|
@@ -2647,7 +2666,7 @@ export var PromptFlowNodeConfiguration = [
|
|
|
2647
2666
|
n0,
|
|
2648
2667
|
_PFNC,
|
|
2649
2668
|
0,
|
|
2650
|
-
[
|
|
2669
|
+
[_sCo, _gC],
|
|
2651
2670
|
[[() => PromptFlowNodeSourceConfiguration, 0], () => GuardrailConfiguration],
|
|
2652
2671
|
];
|
|
2653
2672
|
export var PromptFlowNodeInlineConfiguration = [
|
|
@@ -2871,7 +2890,7 @@ export var SalesforceDataSourceConfiguration = [
|
|
|
2871
2890
|
n0,
|
|
2872
2891
|
_SDSCa,
|
|
2873
2892
|
0,
|
|
2874
|
-
[
|
|
2893
|
+
[_sCo, _cC],
|
|
2875
2894
|
[() => SalesforceSourceConfiguration, [() => SalesforceCrawlerConfiguration, 0]],
|
|
2876
2895
|
];
|
|
2877
2896
|
export var SalesforceSourceConfiguration = [3, n0, _SSC, 0, [_hU, _aT, _cSA], [0, 0, 0]];
|
|
@@ -2904,7 +2923,7 @@ export var SharePointDataSourceConfiguration = [
|
|
|
2904
2923
|
n0,
|
|
2905
2924
|
_SPDSC,
|
|
2906
2925
|
0,
|
|
2907
|
-
[
|
|
2926
|
+
[_sCo, _cC],
|
|
2908
2927
|
[() => SharePointSourceConfiguration, [() => SharePointCrawlerConfiguration, 0]],
|
|
2909
2928
|
];
|
|
2910
2929
|
export var SharePointSourceConfiguration = [
|
|
@@ -3149,7 +3168,7 @@ export var UpdateAgentRequest = [
|
|
|
3149
3168
|
0,
|
|
3150
3169
|
],
|
|
3151
3170
|
];
|
|
3152
|
-
export var UpdateAgentResponse = [3, n0, _UARp, 0, [
|
|
3171
|
+
export var UpdateAgentResponse = [3, n0, _UARp, 0, [_ag], [[() => Agent, 0]]];
|
|
3153
3172
|
export var UpdateDataSourceRequest = [
|
|
3154
3173
|
3,
|
|
3155
3174
|
n0,
|
|
@@ -3293,6 +3312,8 @@ export var VectorSearchRerankingConfiguration = [
|
|
|
3293
3312
|
[_t, _bRC],
|
|
3294
3313
|
[0, [() => VectorSearchBedrockRerankingConfiguration, 0]],
|
|
3295
3314
|
];
|
|
3315
|
+
export var VideoConfiguration = [3, n0, _VC, 0, [_sC], [() => VideoSegmentationConfiguration]];
|
|
3316
|
+
export var VideoSegmentationConfiguration = [3, n0, _VSC, 0, [_fLD], [1]];
|
|
3296
3317
|
export var WebCrawlerConfiguration = [
|
|
3297
3318
|
3,
|
|
3298
3319
|
n0,
|
|
@@ -3314,7 +3335,7 @@ export var WebDataSourceConfiguration = [
|
|
|
3314
3335
|
n0,
|
|
3315
3336
|
_WDSC,
|
|
3316
3337
|
0,
|
|
3317
|
-
[
|
|
3338
|
+
[_sCo, _cC],
|
|
3318
3339
|
[() => WebSourceConfiguration, [() => WebCrawlerConfiguration, 0]],
|
|
3319
3340
|
];
|
|
3320
3341
|
export var WebSourceConfiguration = [3, n0, _WSC, 0, [_uC], [() => UrlConfiguration]];
|
|
@@ -3335,6 +3356,7 @@ export var AgentCollaboratorSummaries = [1, n0, _ACSg, 0, [() => AgentCollaborat
|
|
|
3335
3356
|
export var AgentKnowledgeBaseSummaries = [1, n0, _AKBSg, 0, () => AgentKnowledgeBaseSummary];
|
|
3336
3357
|
export var AgentSummaries = [1, n0, _ASg, 0, () => AgentSummary];
|
|
3337
3358
|
export var AgentVersionSummaries = [1, n0, _AVSg, 0, () => AgentVersionSummary];
|
|
3359
|
+
export var AudioConfigurations = [1, n0, _ACud, 0, () => AudioConfiguration];
|
|
3338
3360
|
export var AwsDataCatalogTableNames = 64 | 0;
|
|
3339
3361
|
export var ContentBlocks = [1, n0, _CB, 0, [() => ContentBlock, 0]];
|
|
3340
3362
|
export var CuratedQueries = [1, n0, _CQu, 0, () => CuratedQuery];
|
|
@@ -3409,6 +3431,7 @@ export var TagKeyList = 64 | 0;
|
|
|
3409
3431
|
export var Tools = [1, n0, _To, 8, () => Tool];
|
|
3410
3432
|
export var Transformations = [1, n0, _Tr, 0, () => Transformation];
|
|
3411
3433
|
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
3434
|
+
export var VideoConfigurations = [1, n0, _VCi, 0, () => VideoConfiguration];
|
|
3412
3435
|
export var ActionGroupSignatureParams = 128 | 0;
|
|
3413
3436
|
export var AdditionalModelRequestFields = 128 | 15;
|
|
3414
3437
|
export var ParameterMap = [2, n0, _PM, 0, 0, () => ParameterDetail];
|
|
@@ -3429,7 +3452,7 @@ export var FlowNodeConfiguration = [
|
|
|
3429
3452
|
n0,
|
|
3430
3453
|
_FNC,
|
|
3431
3454
|
0,
|
|
3432
|
-
[_inp, _ou, _kB, _cond, _le, _pr, _lF, _sto,
|
|
3455
|
+
[_inp, _ou, _kB, _cond, _le, _pr, _lF, _sto, _ag, _ret, _it, _coll, _iCnl, _lo, _lIo, _lCo],
|
|
3433
3456
|
[
|
|
3434
3457
|
() => InputFlowNodeConfiguration,
|
|
3435
3458
|
() => OutputFlowNodeConfiguration,
|
|
@@ -3535,7 +3558,7 @@ export var PromptFlowNodeSourceConfiguration = [
|
|
|
3535
3558
|
[_res, _inl],
|
|
3536
3559
|
[() => PromptFlowNodeResourceConfiguration, [() => PromptFlowNodeInlineConfiguration, 0]],
|
|
3537
3560
|
];
|
|
3538
|
-
export var PromptGenAiResource = [3, n0, _PGAR, 8, [
|
|
3561
|
+
export var PromptGenAiResource = [3, n0, _PGAR, 8, [_ag], [[() => PromptAgentResource, 0]]];
|
|
3539
3562
|
export var PromptInferenceConfiguration = [
|
|
3540
3563
|
3,
|
|
3541
3564
|
n0,
|
|
@@ -49,6 +49,20 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
49
49
|
* bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
50
50
|
* dimensions: Number("int"),
|
|
51
51
|
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
52
|
+
* audio: [ // AudioConfigurations
|
|
53
|
+
* { // AudioConfiguration
|
|
54
|
+
* segmentationConfiguration: { // AudioSegmentationConfiguration
|
|
55
|
+
* fixedLengthDuration: Number("int"), // required
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* video: [ // VideoConfigurations
|
|
60
|
+
* { // VideoConfiguration
|
|
61
|
+
* segmentationConfiguration: { // VideoSegmentationConfiguration
|
|
62
|
+
* fixedLengthDuration: Number("int"), // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
52
66
|
* },
|
|
53
67
|
* },
|
|
54
68
|
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -228,6 +242,20 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
228
242
|
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
229
243
|
* // dimensions: Number("int"),
|
|
230
244
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
245
|
+
* // audio: [ // AudioConfigurations
|
|
246
|
+
* // { // AudioConfiguration
|
|
247
|
+
* // segmentationConfiguration: { // AudioSegmentationConfiguration
|
|
248
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
249
|
+
* // },
|
|
250
|
+
* // },
|
|
251
|
+
* // ],
|
|
252
|
+
* // video: [ // VideoConfigurations
|
|
253
|
+
* // { // VideoConfiguration
|
|
254
|
+
* // segmentationConfiguration: { // VideoSegmentationConfiguration
|
|
255
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
256
|
+
* // },
|
|
257
|
+
* // },
|
|
258
|
+
* // ],
|
|
231
259
|
* // },
|
|
232
260
|
* // },
|
|
233
261
|
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -27,7 +27,7 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets information about a
|
|
30
|
+
* <p>Gets information about a knowledge base.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -56,6 +56,20 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
56
56
|
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
57
57
|
* // dimensions: Number("int"),
|
|
58
58
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
59
|
+
* // audio: [ // AudioConfigurations
|
|
60
|
+
* // { // AudioConfiguration
|
|
61
|
+
* // segmentationConfiguration: { // AudioSegmentationConfiguration
|
|
62
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // video: [ // VideoConfigurations
|
|
67
|
+
* // { // VideoConfiguration
|
|
68
|
+
* // segmentationConfiguration: { // VideoSegmentationConfiguration
|
|
69
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
59
73
|
* // },
|
|
60
74
|
* // },
|
|
61
75
|
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -49,6 +49,20 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
49
49
|
* bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
50
50
|
* dimensions: Number("int"),
|
|
51
51
|
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
52
|
+
* audio: [ // AudioConfigurations
|
|
53
|
+
* { // AudioConfiguration
|
|
54
|
+
* segmentationConfiguration: { // AudioSegmentationConfiguration
|
|
55
|
+
* fixedLengthDuration: Number("int"), // required
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* video: [ // VideoConfigurations
|
|
60
|
+
* { // VideoConfiguration
|
|
61
|
+
* segmentationConfiguration: { // VideoSegmentationConfiguration
|
|
62
|
+
* fixedLengthDuration: Number("int"), // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
52
66
|
* },
|
|
53
67
|
* },
|
|
54
68
|
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -225,6 +239,20 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
225
239
|
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
226
240
|
* // dimensions: Number("int"),
|
|
227
241
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
242
|
+
* // audio: [ // AudioConfigurations
|
|
243
|
+
* // { // AudioConfiguration
|
|
244
|
+
* // segmentationConfiguration: { // AudioSegmentationConfiguration
|
|
245
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
246
|
+
* // },
|
|
247
|
+
* // },
|
|
248
|
+
* // ],
|
|
249
|
+
* // video: [ // VideoConfigurations
|
|
250
|
+
* // { // VideoConfiguration
|
|
251
|
+
* // segmentationConfiguration: { // VideoSegmentationConfiguration
|
|
252
|
+
* // fixedLengthDuration: Number("int"), // required
|
|
253
|
+
* // },
|
|
254
|
+
* // },
|
|
255
|
+
* // ],
|
|
228
256
|
* // },
|
|
229
257
|
* // },
|
|
230
258
|
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { ActionGroupSignature, ActionGroupState, AgentAliasStatus, AgentCollaboration, AgentStatus, AliasInvocationState, CachePointType, ChunkingStrategy, ConcurrencyType, ConfluenceAuthType, ConfluenceHostType, ContentDataSourceType, ContextEnrichmentType, ConversationRole, CrawlFilterConfigurationType, CreationMode, CustomControlMethod, CustomSourceType, DataDeletionPolicy, DataSourceStatus, DataSourceType, DocumentStatus,
|
|
2
|
+
import { ActionGroupSignature, ActionGroupState, AgentAliasStatus, AgentCollaboration, AgentStatus, AliasInvocationState, CachePointType, ChunkingStrategy, ConcurrencyType, ConfluenceAuthType, ConfluenceHostType, ContentDataSourceType, ContextEnrichmentType, ConversationRole, CrawlFilterConfigurationType, CreationMode, CustomControlMethod, CustomSourceType, DataDeletionPolicy, DataSourceStatus, DataSourceType, DocumentStatus, EnrichmentStrategyMethod, FlowConnectionType, FlowNodeInputCategory, FlowNodeIODataType, FlowStatus, FlowValidationSeverity, FlowValidationType, IncludeExclude, IncompatibleLoopNodeType, IngestionJobFilterAttribute, IngestionJobFilterOperator, IngestionJobSortByAttribute, IngestionJobStatus, InlineContentType, KnowledgeBaseState, MemoryType, MetadataSourceType, MetadataValueType, OrchestrationType, ParsingModality, ParsingStrategy, PerformanceConfigLatency, PromptState, PromptTemplateType, PromptType, QueryEngineType, RedshiftProvisionedAuthType, RedshiftQueryEngineStorageType, RedshiftQueryEngineType, RedshiftServerlessAuthType, RelayConversationHistory, RequireConfirmation, RerankingMetadataSelectionMode, SalesforceAuthType, SharePointAuthType, SharePointHostType, SortOrder, StepType, SupportedLanguages, Type, VectorSearchRerankingConfigurationType, WebScopeType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.</p>
|
|
5
5
|
* @public
|
|
@@ -7145,7 +7145,7 @@ export interface KnowledgeBaseDocumentDetail {
|
|
|
7145
7145
|
*/
|
|
7146
7146
|
dataSourceId: string | undefined;
|
|
7147
7147
|
/**
|
|
7148
|
-
* <p>The ingestion status of the document. The following statuses are possible:</p> <ul> <li> <p>
|
|
7148
|
+
* <p>The ingestion status of the document. The following statuses are possible:</p> <ul> <li> <p>STARTING – You submitted the ingestion job containing the document.</p> </li> <li> <p>PENDING – The document is waiting to be ingested.</p> </li> <li> <p>IN_PROGRESS – The document is being ingested.</p> </li> <li> <p>INDEXED – The document was successfully indexed.</p> </li> <li> <p>PARTIALLY_INDEXED – The document was partially indexed.</p> </li> <li> <p>METADATA_PARTIALLY_INDEXED – You submitted metadata for an existing document and it was partially indexed.</p> </li> <li> <p>METADATA_UPDATE_FAILED – You submitted a metadata update for an existing document but it failed.</p> </li> <li> <p>FAILED – The document failed to be ingested.</p> </li> <li> <p>NOT_FOUND – The document wasn't found.</p> </li> <li> <p>IGNORED – The document was ignored during ingestion.</p> </li> <li> <p>DELETING – You submitted the delete job containing the document.</p> </li> <li> <p>DELETE_IN_PROGRESS – The document is being deleted.</p> </li> </ul>
|
|
7149
7149
|
* @public
|
|
7150
7150
|
*/
|
|
7151
7151
|
status: DocumentStatus | undefined;
|
|
@@ -7803,56 +7803,46 @@ export interface SqlKnowledgeBaseConfiguration {
|
|
|
7803
7803
|
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
7804
7804
|
}
|
|
7805
7805
|
/**
|
|
7806
|
-
* <p>
|
|
7806
|
+
* <p>Configuration for segmenting audio content during multimodal knowledge base ingestion. Determines how audio files are divided into chunks for processing.</p>
|
|
7807
7807
|
* @public
|
|
7808
7808
|
*/
|
|
7809
|
-
export interface
|
|
7809
|
+
export interface AudioSegmentationConfiguration {
|
|
7810
7810
|
/**
|
|
7811
|
-
* <p>The
|
|
7811
|
+
* <p>The duration in seconds for each audio segment. Audio files will be divided into chunks of this length for processing.</p>
|
|
7812
7812
|
* @public
|
|
7813
7813
|
*/
|
|
7814
|
-
|
|
7815
|
-
/**
|
|
7816
|
-
* <p>The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Supported embeddings models</a> for information on the available models and their vector data types.</p>
|
|
7817
|
-
* @public
|
|
7818
|
-
*/
|
|
7819
|
-
embeddingDataType?: EmbeddingDataType | undefined;
|
|
7814
|
+
fixedLengthDuration: number | undefined;
|
|
7820
7815
|
}
|
|
7821
7816
|
/**
|
|
7822
|
-
* <p>
|
|
7817
|
+
* <p>Configuration settings for processing audio content in multimodal knowledge bases.</p>
|
|
7823
7818
|
* @public
|
|
7824
7819
|
*/
|
|
7825
|
-
export interface
|
|
7820
|
+
export interface AudioConfiguration {
|
|
7826
7821
|
/**
|
|
7827
|
-
* <p>
|
|
7822
|
+
* <p>Configuration for segmenting audio content during processing.</p>
|
|
7828
7823
|
* @public
|
|
7829
7824
|
*/
|
|
7830
|
-
|
|
7825
|
+
segmentationConfiguration: AudioSegmentationConfiguration | undefined;
|
|
7831
7826
|
}
|
|
7832
7827
|
/**
|
|
7833
|
-
* <p>
|
|
7828
|
+
* <p>Configuration for segmenting video content during multimodal knowledge base ingestion. Determines how video files are divided into chunks for processing.</p>
|
|
7834
7829
|
* @public
|
|
7835
7830
|
*/
|
|
7836
|
-
export interface
|
|
7837
|
-
/**
|
|
7838
|
-
* <p>Specifies the storage service used for this location.</p>
|
|
7839
|
-
* @public
|
|
7840
|
-
*/
|
|
7841
|
-
type: SupplementalDataStorageLocationType | undefined;
|
|
7831
|
+
export interface VideoSegmentationConfiguration {
|
|
7842
7832
|
/**
|
|
7843
|
-
* <p>
|
|
7833
|
+
* <p>The duration in seconds for each video segment. Video files will be divided into chunks of this length for processing.</p>
|
|
7844
7834
|
* @public
|
|
7845
7835
|
*/
|
|
7846
|
-
|
|
7836
|
+
fixedLengthDuration: number | undefined;
|
|
7847
7837
|
}
|
|
7848
7838
|
/**
|
|
7849
|
-
* <p>
|
|
7839
|
+
* <p>Configuration settings for processing video content in multimodal knowledge bases.</p>
|
|
7850
7840
|
* @public
|
|
7851
7841
|
*/
|
|
7852
|
-
export interface
|
|
7842
|
+
export interface VideoConfiguration {
|
|
7853
7843
|
/**
|
|
7854
|
-
* <p>
|
|
7844
|
+
* <p>Configuration for segmenting video content during processing.</p>
|
|
7855
7845
|
* @public
|
|
7856
7846
|
*/
|
|
7857
|
-
|
|
7847
|
+
segmentationConfiguration: VideoSegmentationConfiguration | undefined;
|
|
7858
7848
|
}
|
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { AgentStatus, FlowNodeType, FlowStatus, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, KnowledgeBaseType, PromptTemplateType } from "./enums";
|
|
3
|
-
import { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentVersion, AgentVersionSummary, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration,
|
|
2
|
+
import { AgentStatus, EmbeddingDataType, FlowNodeType, FlowStatus, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, KnowledgeBaseType, PromptTemplateType, SupplementalDataStorageLocationType } from "./enums";
|
|
3
|
+
import { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentVersion, AgentVersionSummary, AudioConfiguration, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration, FlowConnection, FlowNodeInput, FlowNodeOutput, FlowValidation, InlineCodeFlowNodeConfiguration, InputFlowNodeConfiguration, IteratorFlowNodeConfiguration, KendraKnowledgeBaseConfiguration, KnowledgeBaseFlowNodeConfiguration, LambdaFunctionFlowNodeConfiguration, LexFlowNodeConfiguration, LoopControllerFlowNodeConfiguration, LoopInputFlowNodeConfiguration, OutputFlowNodeConfiguration, PromptFlowNodeConfiguration, PromptInferenceConfiguration, PromptTemplateConfiguration, RetrievalFlowNodeConfiguration, S3Location, SqlKnowledgeBaseConfiguration, StorageFlowNodeConfiguration, VideoConfiguration } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The vector configuration details for the Bedrock embeddings model.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface BedrockEmbeddingModelConfiguration {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
dimensions?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Supported embeddings models</a> for information on the available models and their vector data types.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
embeddingDataType?: EmbeddingDataType | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Configuration settings for processing audio content in multimodal knowledge bases.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
audio?: AudioConfiguration[] | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>Configuration settings for processing video content in multimodal knowledge bases.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
video?: VideoConfiguration[] | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The configuration details for the embeddings model.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface EmbeddingModelConfiguration {
|
|
35
|
+
/**
|
|
36
|
+
* <p>The vector configuration details on the Bedrock embeddings model.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Contains information about a storage location for images extracted from multimodal documents in your data source.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface SupplementalDataStorageLocation {
|
|
46
|
+
/**
|
|
47
|
+
* <p>Specifies the storage service used for this location.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
type: SupplementalDataStorageLocationType | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Contains information about the Amazon S3 location for the extracted images.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
s3Location?: S3Location | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>Specifies configurations for the storage location of the images extracted from multimodal documents in your data source. These images can be retrieved and returned to the end user.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export interface SupplementalDataStorageConfiguration {
|
|
62
|
+
/**
|
|
63
|
+
* <p>A list of objects specifying storage locations for images extracted from multimodal documents in your data source.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
67
|
+
}
|
|
4
68
|
/**
|
|
5
69
|
* <p>Contains details about the model used to create vector embeddings for the knowledge base.</p>
|
|
6
70
|
* @public
|
|
@@ -47,6 +47,8 @@ export declare var AssociateAgentCollaboratorRequest: StaticStructureSchema;
|
|
|
47
47
|
export declare var AssociateAgentCollaboratorResponse: StaticStructureSchema;
|
|
48
48
|
export declare var AssociateAgentKnowledgeBaseRequest: StaticStructureSchema;
|
|
49
49
|
export declare var AssociateAgentKnowledgeBaseResponse: StaticStructureSchema;
|
|
50
|
+
export declare var AudioConfiguration: StaticStructureSchema;
|
|
51
|
+
export declare var AudioSegmentationConfiguration: StaticStructureSchema;
|
|
50
52
|
export declare var AutoToolChoice: StaticStructureSchema;
|
|
51
53
|
export declare var BedrockDataAutomationConfiguration: StaticStructureSchema;
|
|
52
54
|
export declare var BedrockEmbeddingModelConfiguration: StaticStructureSchema;
|
|
@@ -389,6 +391,8 @@ export declare var VectorKnowledgeBaseConfiguration: StaticStructureSchema;
|
|
|
389
391
|
export declare var VectorSearchBedrockRerankingConfiguration: StaticStructureSchema;
|
|
390
392
|
export declare var VectorSearchBedrockRerankingModelConfiguration: StaticStructureSchema;
|
|
391
393
|
export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
394
|
+
export declare var VideoConfiguration: StaticStructureSchema;
|
|
395
|
+
export declare var VideoSegmentationConfiguration: StaticStructureSchema;
|
|
392
396
|
export declare var WebCrawlerConfiguration: StaticStructureSchema;
|
|
393
397
|
export declare var WebCrawlerLimits: StaticStructureSchema;
|
|
394
398
|
export declare var WebDataSourceConfiguration: StaticStructureSchema;
|
|
@@ -403,6 +407,7 @@ export declare var AgentCollaboratorSummaries: StaticListSchema;
|
|
|
403
407
|
export declare var AgentKnowledgeBaseSummaries: StaticListSchema;
|
|
404
408
|
export declare var AgentSummaries: StaticListSchema;
|
|
405
409
|
export declare var AgentVersionSummaries: StaticListSchema;
|
|
410
|
+
export declare var AudioConfigurations: StaticListSchema;
|
|
406
411
|
export declare var AwsDataCatalogTableNames: number;
|
|
407
412
|
export declare var ContentBlocks: StaticListSchema;
|
|
408
413
|
export declare var CuratedQueries: StaticListSchema;
|
|
@@ -453,6 +458,7 @@ export declare var TagKeyList: number;
|
|
|
453
458
|
export declare var Tools: StaticListSchema;
|
|
454
459
|
export declare var Transformations: StaticListSchema;
|
|
455
460
|
export declare var ValidationExceptionFieldList: StaticListSchema;
|
|
461
|
+
export declare var VideoConfigurations: StaticListSchema;
|
|
456
462
|
export declare var ActionGroupSignatureParams: number;
|
|
457
463
|
export declare var AdditionalModelRequestFields: number;
|
|
458
464
|
export declare var ParameterMap: StaticMapSchema;
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
DataSourceStatus,
|
|
23
23
|
DataSourceType,
|
|
24
24
|
DocumentStatus,
|
|
25
|
-
EmbeddingDataType,
|
|
26
25
|
EnrichmentStrategyMethod,
|
|
27
26
|
FlowConnectionType,
|
|
28
27
|
FlowNodeInputCategory,
|
|
@@ -61,7 +60,6 @@ import {
|
|
|
61
60
|
SharePointHostType,
|
|
62
61
|
SortOrder,
|
|
63
62
|
StepType,
|
|
64
|
-
SupplementalDataStorageLocationType,
|
|
65
63
|
SupportedLanguages,
|
|
66
64
|
Type,
|
|
67
65
|
VectorSearchRerankingConfigurationType,
|
|
@@ -3191,19 +3189,15 @@ export interface SqlKnowledgeBaseConfiguration {
|
|
|
3191
3189
|
type: QueryEngineType | undefined;
|
|
3192
3190
|
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
3193
3191
|
}
|
|
3194
|
-
export interface
|
|
3195
|
-
|
|
3196
|
-
embeddingDataType?: EmbeddingDataType | undefined;
|
|
3192
|
+
export interface AudioSegmentationConfiguration {
|
|
3193
|
+
fixedLengthDuration: number | undefined;
|
|
3197
3194
|
}
|
|
3198
|
-
export interface
|
|
3199
|
-
|
|
3200
|
-
| BedrockEmbeddingModelConfiguration
|
|
3201
|
-
| undefined;
|
|
3195
|
+
export interface AudioConfiguration {
|
|
3196
|
+
segmentationConfiguration: AudioSegmentationConfiguration | undefined;
|
|
3202
3197
|
}
|
|
3203
|
-
export interface
|
|
3204
|
-
|
|
3205
|
-
s3Location?: S3Location | undefined;
|
|
3198
|
+
export interface VideoSegmentationConfiguration {
|
|
3199
|
+
fixedLengthDuration: number | undefined;
|
|
3206
3200
|
}
|
|
3207
|
-
export interface
|
|
3208
|
-
|
|
3201
|
+
export interface VideoConfiguration {
|
|
3202
|
+
segmentationConfiguration: VideoSegmentationConfiguration | undefined;
|
|
3209
3203
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
3
|
AgentStatus,
|
|
4
|
+
EmbeddingDataType,
|
|
4
5
|
FlowNodeType,
|
|
5
6
|
FlowStatus,
|
|
6
7
|
KnowledgeBaseState,
|
|
@@ -8,6 +9,7 @@ import {
|
|
|
8
9
|
KnowledgeBaseStorageType,
|
|
9
10
|
KnowledgeBaseType,
|
|
10
11
|
PromptTemplateType,
|
|
12
|
+
SupplementalDataStorageLocationType,
|
|
11
13
|
} from "./enums";
|
|
12
14
|
import {
|
|
13
15
|
AgentFlowNodeConfiguration,
|
|
@@ -15,9 +17,9 @@ import {
|
|
|
15
17
|
AgentKnowledgeBaseSummary,
|
|
16
18
|
AgentVersion,
|
|
17
19
|
AgentVersionSummary,
|
|
20
|
+
AudioConfiguration,
|
|
18
21
|
CollectorFlowNodeConfiguration,
|
|
19
22
|
ConditionFlowNodeConfiguration,
|
|
20
|
-
EmbeddingModelConfiguration,
|
|
21
23
|
FlowConnection,
|
|
22
24
|
FlowNodeInput,
|
|
23
25
|
FlowNodeOutput,
|
|
@@ -36,10 +38,29 @@ import {
|
|
|
36
38
|
PromptInferenceConfiguration,
|
|
37
39
|
PromptTemplateConfiguration,
|
|
38
40
|
RetrievalFlowNodeConfiguration,
|
|
41
|
+
S3Location,
|
|
39
42
|
SqlKnowledgeBaseConfiguration,
|
|
40
43
|
StorageFlowNodeConfiguration,
|
|
41
|
-
|
|
44
|
+
VideoConfiguration,
|
|
42
45
|
} from "./models_0";
|
|
46
|
+
export interface BedrockEmbeddingModelConfiguration {
|
|
47
|
+
dimensions?: number | undefined;
|
|
48
|
+
embeddingDataType?: EmbeddingDataType | undefined;
|
|
49
|
+
audio?: AudioConfiguration[] | undefined;
|
|
50
|
+
video?: VideoConfiguration[] | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface EmbeddingModelConfiguration {
|
|
53
|
+
bedrockEmbeddingModelConfiguration?:
|
|
54
|
+
| BedrockEmbeddingModelConfiguration
|
|
55
|
+
| undefined;
|
|
56
|
+
}
|
|
57
|
+
export interface SupplementalDataStorageLocation {
|
|
58
|
+
type: SupplementalDataStorageLocationType | undefined;
|
|
59
|
+
s3Location?: S3Location | undefined;
|
|
60
|
+
}
|
|
61
|
+
export interface SupplementalDataStorageConfiguration {
|
|
62
|
+
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
63
|
+
}
|
|
43
64
|
export interface VectorKnowledgeBaseConfiguration {
|
|
44
65
|
embeddingModelArn: string | undefined;
|
|
45
66
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
@@ -54,6 +54,8 @@ export declare var AssociateAgentCollaboratorRequest: StaticStructureSchema;
|
|
|
54
54
|
export declare var AssociateAgentCollaboratorResponse: StaticStructureSchema;
|
|
55
55
|
export declare var AssociateAgentKnowledgeBaseRequest: StaticStructureSchema;
|
|
56
56
|
export declare var AssociateAgentKnowledgeBaseResponse: StaticStructureSchema;
|
|
57
|
+
export declare var AudioConfiguration: StaticStructureSchema;
|
|
58
|
+
export declare var AudioSegmentationConfiguration: StaticStructureSchema;
|
|
57
59
|
export declare var AutoToolChoice: StaticStructureSchema;
|
|
58
60
|
export declare var BedrockDataAutomationConfiguration: StaticStructureSchema;
|
|
59
61
|
export declare var BedrockEmbeddingModelConfiguration: StaticStructureSchema;
|
|
@@ -396,6 +398,8 @@ export declare var VectorKnowledgeBaseConfiguration: StaticStructureSchema;
|
|
|
396
398
|
export declare var VectorSearchBedrockRerankingConfiguration: StaticStructureSchema;
|
|
397
399
|
export declare var VectorSearchBedrockRerankingModelConfiguration: StaticStructureSchema;
|
|
398
400
|
export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
401
|
+
export declare var VideoConfiguration: StaticStructureSchema;
|
|
402
|
+
export declare var VideoSegmentationConfiguration: StaticStructureSchema;
|
|
399
403
|
export declare var WebCrawlerConfiguration: StaticStructureSchema;
|
|
400
404
|
export declare var WebCrawlerLimits: StaticStructureSchema;
|
|
401
405
|
export declare var WebDataSourceConfiguration: StaticStructureSchema;
|
|
@@ -410,6 +414,7 @@ export declare var AgentCollaboratorSummaries: StaticListSchema;
|
|
|
410
414
|
export declare var AgentKnowledgeBaseSummaries: StaticListSchema;
|
|
411
415
|
export declare var AgentSummaries: StaticListSchema;
|
|
412
416
|
export declare var AgentVersionSummaries: StaticListSchema;
|
|
417
|
+
export declare var AudioConfigurations: StaticListSchema;
|
|
413
418
|
export declare var AwsDataCatalogTableNames: number;
|
|
414
419
|
export declare var ContentBlocks: StaticListSchema;
|
|
415
420
|
export declare var CuratedQueries: StaticListSchema;
|
|
@@ -460,6 +465,7 @@ export declare var TagKeyList: number;
|
|
|
460
465
|
export declare var Tools: StaticListSchema;
|
|
461
466
|
export declare var Transformations: StaticListSchema;
|
|
462
467
|
export declare var ValidationExceptionFieldList: StaticListSchema;
|
|
468
|
+
export declare var VideoConfigurations: StaticListSchema;
|
|
463
469
|
export declare var ActionGroupSignatureParams: number;
|
|
464
470
|
export declare var AdditionalModelRequestFields: number;
|
|
465
471
|
export declare var ParameterMap: StaticMapSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.942.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
|