@aws-sdk/client-bedrock-agent-runtime 3.1159.0 → 3.1161.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 +39 -18
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +35 -17
- package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +9 -1
- package/dist-types/models/enums.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +32 -42
- package/dist-types/models/models_1.d.ts +43 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -10
- package/dist-types/ts3.4/models/models_1.d.ts +14 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1160.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -308,6 +308,9 @@ const _ARBGC = "AgenticRetrieveBedrockGuardrailConfiguration";
|
|
|
308
308
|
const _ARBRC = "AgenticRetrieveBedrockRerankingConfiguration";
|
|
309
309
|
const _ARBRMC = "AgenticRetrieveBedrockRerankingModelConfiguration";
|
|
310
310
|
const _ARC = "AgenticRetrieveCitation";
|
|
311
|
+
const _ARCED = "AgenticRetrieveCodeExecutionDetails";
|
|
312
|
+
const _ARCEDL = "AgenticRetrieveCodeExecutionDocumentList";
|
|
313
|
+
const _ARCEDg = "AgenticRetrieveCodeExecutionDocument";
|
|
311
314
|
const _ARCL = "AgenticRetrieveCitationList";
|
|
312
315
|
const _ARCR = "AgenticRetrieveCitationReference";
|
|
313
316
|
const _ARCRL = "AgenticRetrieveCitationReferenceList";
|
|
@@ -853,8 +856,9 @@ const _cC = "collaboratorConfigurations";
|
|
|
853
856
|
const _cCa = "callerChain";
|
|
854
857
|
const _cCu = "customControl";
|
|
855
858
|
const _cDL = "customDocumentLocation";
|
|
856
|
-
const _cE = "
|
|
859
|
+
const _cE = "codeExecution";
|
|
857
860
|
const _cEKA = "customerEncryptionKeyArn";
|
|
861
|
+
const _cEo = "conflictException";
|
|
858
862
|
const _cH = "conversationHistory";
|
|
859
863
|
const _cI = "collaboratorInstruction";
|
|
860
864
|
const _cIII = "codeInterpreterInvocationInput";
|
|
@@ -896,7 +900,8 @@ const _dSI = "dataSourceId";
|
|
|
896
900
|
const _dTV = "dateTimeValue";
|
|
897
901
|
const _da = "data";
|
|
898
902
|
const _de = "definition";
|
|
899
|
-
const _do = "
|
|
903
|
+
const _do = "documents";
|
|
904
|
+
const _doc = "document";
|
|
900
905
|
const _e = "error";
|
|
901
906
|
const _eA = "executionArn";
|
|
902
907
|
const _eAn = "endedAt";
|
|
@@ -1428,8 +1433,8 @@ var AgentCollaboratorOutputPayload$ = [3, n0, _ACOP,
|
|
|
1428
1433
|
];
|
|
1429
1434
|
var AgenticRetrieveAction$ = [3, n0, _ARA,
|
|
1430
1435
|
0,
|
|
1431
|
-
[_re, _fDE, _mR],
|
|
1432
|
-
[[() => AgenticRetrieveActionDetails$, 0], () => AgenticRetrieveFullDocExpansionDetails$, [() => AgenticRetrieveMemoryRetrieveDetails$, 0]]
|
|
1436
|
+
[_re, _fDE, _mR, _cE],
|
|
1437
|
+
[[() => AgenticRetrieveActionDetails$, 0], () => AgenticRetrieveFullDocExpansionDetails$, [() => AgenticRetrieveMemoryRetrieveDetails$, 0], () => AgenticRetrieveCodeExecutionDetails$]
|
|
1433
1438
|
];
|
|
1434
1439
|
var AgenticRetrieveActionDetails$ = [3, n0, _ARAD,
|
|
1435
1440
|
0,
|
|
@@ -1466,6 +1471,16 @@ var AgenticRetrieveCitationReference$ = [3, n0, _ARCR,
|
|
|
1466
1471
|
[_rI],
|
|
1467
1472
|
[1], 1
|
|
1468
1473
|
];
|
|
1474
|
+
var AgenticRetrieveCodeExecutionDetails$ = [3, n0, _ARCED,
|
|
1475
|
+
0,
|
|
1476
|
+
[_do],
|
|
1477
|
+
[() => AgenticRetrieveCodeExecutionDocumentList]
|
|
1478
|
+
];
|
|
1479
|
+
var AgenticRetrieveCodeExecutionDocument$ = [3, n0, _ARCEDg,
|
|
1480
|
+
0,
|
|
1481
|
+
[_dI, _sRo],
|
|
1482
|
+
[0, () => AgenticRetrieveSourceRetriever$]
|
|
1483
|
+
];
|
|
1469
1484
|
var AgenticRetrieveConfiguration$ = [3, n0, _ARCg,
|
|
1470
1485
|
0,
|
|
1471
1486
|
[_fMT, _fMC, _rMT, _rC, _mAI],
|
|
@@ -2683,7 +2698,7 @@ var RerankResponse$ = [3, n0, _RRera,
|
|
|
2683
2698
|
];
|
|
2684
2699
|
var RerankResult$ = [3, n0, _RReran,
|
|
2685
2700
|
0,
|
|
2686
|
-
[_ind, _rSel,
|
|
2701
|
+
[_ind, _rSel, _doc],
|
|
2687
2702
|
[1, 1, [() => RerankDocument$, 0]], 2
|
|
2688
2703
|
];
|
|
2689
2704
|
var RerankSource$ = [3, n0, _RSe,
|
|
@@ -3020,6 +3035,9 @@ var AgenticRetrieveCitationList = [1, n0, _ARCL,
|
|
|
3020
3035
|
var AgenticRetrieveCitationReferenceList = [1, n0, _ARCRL,
|
|
3021
3036
|
0, () => AgenticRetrieveCitationReference$
|
|
3022
3037
|
];
|
|
3038
|
+
var AgenticRetrieveCodeExecutionDocumentList = [1, n0, _ARCEDL,
|
|
3039
|
+
0, () => AgenticRetrieveCodeExecutionDocument$
|
|
3040
|
+
];
|
|
3023
3041
|
var AgenticRetrieveFailures = [1, n0, _ARFg,
|
|
3024
3042
|
0, () => AgenticRetrieveFailure$
|
|
3025
3043
|
];
|
|
@@ -3320,7 +3338,7 @@ var AgenticRetrieveMemoryMetadataValue$ = [4, n0, _ARMMV,
|
|
|
3320
3338
|
];
|
|
3321
3339
|
var AgenticRetrieveStreamResponseOutput$ = [4, n0, _ARSRO,
|
|
3322
3340
|
{ [_str]: 1 },
|
|
3323
|
-
[_resu, _tEr, _rE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3341
|
+
[_resu, _tEr, _rE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE],
|
|
3324
3342
|
[() => AgenticRetrieveResultEvent$, [() => AgenticRetrieveTraceEvent$, 0], () => AgenticRetrieveResponseEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
|
|
3325
3343
|
];
|
|
3326
3344
|
var AgenticRetrieveWarning$ = [4, n0, _ARWg,
|
|
@@ -3350,7 +3368,7 @@ var ContentBlock$ = [4, n0, _CBon,
|
|
|
3350
3368
|
];
|
|
3351
3369
|
var FlowExecutionContent$ = [4, n0, _FEC,
|
|
3352
3370
|
8,
|
|
3353
|
-
[
|
|
3371
|
+
[_doc],
|
|
3354
3372
|
[15]
|
|
3355
3373
|
];
|
|
3356
3374
|
var FlowExecutionEvent$ = [4, n0, _FEElow,
|
|
@@ -3360,22 +3378,22 @@ var FlowExecutionEvent$ = [4, n0, _FEElow,
|
|
|
3360
3378
|
];
|
|
3361
3379
|
var FlowInputContent$ = [4, n0, _FIC,
|
|
3362
3380
|
8,
|
|
3363
|
-
[
|
|
3381
|
+
[_doc],
|
|
3364
3382
|
[15]
|
|
3365
3383
|
];
|
|
3366
3384
|
var FlowMultiTurnInputContent$ = [4, n0, _FMTIC,
|
|
3367
3385
|
0,
|
|
3368
|
-
[
|
|
3386
|
+
[_doc],
|
|
3369
3387
|
[15]
|
|
3370
3388
|
];
|
|
3371
3389
|
var FlowOutputContent$ = [4, n0, _FOC,
|
|
3372
3390
|
0,
|
|
3373
|
-
[
|
|
3391
|
+
[_doc],
|
|
3374
3392
|
[15]
|
|
3375
3393
|
];
|
|
3376
3394
|
var FlowResponseStream$ = [4, n0, _FRSl,
|
|
3377
3395
|
{ [_str]: 1 },
|
|
3378
|
-
[_fOE, _fCE, _fTE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3396
|
+
[_fOE, _fCE, _fTE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fMTIRE],
|
|
3379
3397
|
[[() => FlowOutputEvent$, 0], [() => FlowCompletionEvent$, 0], [() => FlowTraceEvent$, 0], [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0], [() => FlowMultiTurnInputRequestEvent$, 0]]
|
|
3380
3398
|
];
|
|
3381
3399
|
var FlowTrace$ = [4, n0, _FTl,
|
|
@@ -3385,12 +3403,12 @@ var FlowTrace$ = [4, n0, _FTl,
|
|
|
3385
3403
|
];
|
|
3386
3404
|
var FlowTraceNodeInputContent$ = [4, n0, _FTNIC,
|
|
3387
3405
|
8,
|
|
3388
|
-
[
|
|
3406
|
+
[_doc],
|
|
3389
3407
|
[15]
|
|
3390
3408
|
];
|
|
3391
3409
|
var FlowTraceNodeOutputContent$ = [4, n0, _FTNOC,
|
|
3392
3410
|
0,
|
|
3393
|
-
[
|
|
3411
|
+
[_doc],
|
|
3394
3412
|
[15]
|
|
3395
3413
|
];
|
|
3396
3414
|
var FunctionSchema$ = [4, n0, _FSu,
|
|
@@ -3410,7 +3428,7 @@ var ImageSource$ = [4, n0, _ISm,
|
|
|
3410
3428
|
];
|
|
3411
3429
|
var InlineAgentResponseStream$ = [4, n0, _IARS,
|
|
3412
3430
|
{ [_str]: 1 },
|
|
3413
|
-
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3431
|
+
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fi],
|
|
3414
3432
|
[[() => InlineAgentPayloadPart$, 0], [() => InlineAgentTracePart$, 0], [() => InlineAgentReturnControlPayload$, 0], [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0], [() => InlineAgentFilePart$, 0]]
|
|
3415
3433
|
];
|
|
3416
3434
|
var InputPrompt$ = [4, n0, _IP,
|
|
@@ -3440,7 +3458,7 @@ var Memory$ = [4, n0, _Memo,
|
|
|
3440
3458
|
];
|
|
3441
3459
|
var NodeExecutionContent$ = [4, n0, _NEC,
|
|
3442
3460
|
8,
|
|
3443
|
-
[
|
|
3461
|
+
[_doc],
|
|
3444
3462
|
[15]
|
|
3445
3463
|
];
|
|
3446
3464
|
var NodeTraceElements$ = [4, n0, _NTE,
|
|
@@ -3490,7 +3508,7 @@ var RerankingMetadataSelectiveModeConfiguration$ = [4, n0, _RMSMC,
|
|
|
3490
3508
|
];
|
|
3491
3509
|
var ResponseStream$ = [4, n0, _RSes,
|
|
3492
3510
|
{ [_str]: 1 },
|
|
3493
|
-
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3511
|
+
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _mNRE, _fi],
|
|
3494
3512
|
[[() => PayloadPart$, 0], [() => TracePart$, 0], [() => ReturnControlPayload$, 0], [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0], [() => ModelNotReadyException$, 0], [() => FilePart$, 0]]
|
|
3495
3513
|
];
|
|
3496
3514
|
var RetrievalFilter$ = [4, n0, _RF,
|
|
@@ -3500,7 +3518,7 @@ var RetrievalFilter$ = [4, n0, _RF,
|
|
|
3500
3518
|
];
|
|
3501
3519
|
var RetrieveAndGenerateStreamResponseOutput$ = [4, n0, _RAGSRO,
|
|
3502
3520
|
{ [_str]: 1 },
|
|
3503
|
-
[_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3521
|
+
[_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE],
|
|
3504
3522
|
[[() => RetrieveAndGenerateOutputEvent$, 0], [() => CitationEvent$, 0], () => GuardrailEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
|
|
3505
3523
|
];
|
|
3506
3524
|
var RetrieverConfiguration$ = [4, n0, _RCet,
|
|
@@ -4060,6 +4078,7 @@ const AgenticRetrieveStatus = {
|
|
|
4060
4078
|
SUCCEEDED: "SUCCEEDED",
|
|
4061
4079
|
};
|
|
4062
4080
|
const AgenticRetrieveStep = {
|
|
4081
|
+
CODE_EXECUTION: "CodeExecution",
|
|
4063
4082
|
FULL_DOCUMENT_EXPANSION: "FullDocumentExpansion",
|
|
4064
4083
|
PLANNING: "Planning",
|
|
4065
4084
|
RETRIEVAL: "Retrieval",
|
|
@@ -4392,6 +4411,8 @@ exports.AgenticRetrieveBedrockRerankingConfiguration$ = AgenticRetrieveBedrockRe
|
|
|
4392
4411
|
exports.AgenticRetrieveBedrockRerankingModelConfiguration$ = AgenticRetrieveBedrockRerankingModelConfiguration$;
|
|
4393
4412
|
exports.AgenticRetrieveCitation$ = AgenticRetrieveCitation$;
|
|
4394
4413
|
exports.AgenticRetrieveCitationReference$ = AgenticRetrieveCitationReference$;
|
|
4414
|
+
exports.AgenticRetrieveCodeExecutionDetails$ = AgenticRetrieveCodeExecutionDetails$;
|
|
4415
|
+
exports.AgenticRetrieveCodeExecutionDocument$ = AgenticRetrieveCodeExecutionDocument$;
|
|
4395
4416
|
exports.AgenticRetrieveConfiguration$ = AgenticRetrieveConfiguration$;
|
|
4396
4417
|
exports.AgenticRetrieveFailure$ = AgenticRetrieveFailure$;
|
|
4397
4418
|
exports.AgenticRetrieveFullDocExpansionDetails$ = AgenticRetrieveFullDocExpansionDetails$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -101,6 +101,7 @@ export const AgenticRetrieveStatus = {
|
|
|
101
101
|
SUCCEEDED: "SUCCEEDED",
|
|
102
102
|
};
|
|
103
103
|
export const AgenticRetrieveStep = {
|
|
104
|
+
CODE_EXECUTION: "CodeExecution",
|
|
104
105
|
FULL_DOCUMENT_EXPANSION: "FullDocumentExpansion",
|
|
105
106
|
PLANNING: "Planning",
|
|
106
107
|
RETRIEVAL: "Retrieval",
|
|
@@ -29,6 +29,9 @@ const _ARBGC = "AgenticRetrieveBedrockGuardrailConfiguration";
|
|
|
29
29
|
const _ARBRC = "AgenticRetrieveBedrockRerankingConfiguration";
|
|
30
30
|
const _ARBRMC = "AgenticRetrieveBedrockRerankingModelConfiguration";
|
|
31
31
|
const _ARC = "AgenticRetrieveCitation";
|
|
32
|
+
const _ARCED = "AgenticRetrieveCodeExecutionDetails";
|
|
33
|
+
const _ARCEDL = "AgenticRetrieveCodeExecutionDocumentList";
|
|
34
|
+
const _ARCEDg = "AgenticRetrieveCodeExecutionDocument";
|
|
32
35
|
const _ARCL = "AgenticRetrieveCitationList";
|
|
33
36
|
const _ARCR = "AgenticRetrieveCitationReference";
|
|
34
37
|
const _ARCRL = "AgenticRetrieveCitationReferenceList";
|
|
@@ -574,8 +577,9 @@ const _cC = "collaboratorConfigurations";
|
|
|
574
577
|
const _cCa = "callerChain";
|
|
575
578
|
const _cCu = "customControl";
|
|
576
579
|
const _cDL = "customDocumentLocation";
|
|
577
|
-
const _cE = "
|
|
580
|
+
const _cE = "codeExecution";
|
|
578
581
|
const _cEKA = "customerEncryptionKeyArn";
|
|
582
|
+
const _cEo = "conflictException";
|
|
579
583
|
const _cH = "conversationHistory";
|
|
580
584
|
const _cI = "collaboratorInstruction";
|
|
581
585
|
const _cIII = "codeInterpreterInvocationInput";
|
|
@@ -617,7 +621,8 @@ const _dSI = "dataSourceId";
|
|
|
617
621
|
const _dTV = "dateTimeValue";
|
|
618
622
|
const _da = "data";
|
|
619
623
|
const _de = "definition";
|
|
620
|
-
const _do = "
|
|
624
|
+
const _do = "documents";
|
|
625
|
+
const _doc = "document";
|
|
621
626
|
const _e = "error";
|
|
622
627
|
const _eA = "executionArn";
|
|
623
628
|
const _eAn = "endedAt";
|
|
@@ -1152,8 +1157,8 @@ export var AgentCollaboratorOutputPayload$ = [3, n0, _ACOP,
|
|
|
1152
1157
|
];
|
|
1153
1158
|
export var AgenticRetrieveAction$ = [3, n0, _ARA,
|
|
1154
1159
|
0,
|
|
1155
|
-
[_re, _fDE, _mR],
|
|
1156
|
-
[[() => AgenticRetrieveActionDetails$, 0], () => AgenticRetrieveFullDocExpansionDetails$, [() => AgenticRetrieveMemoryRetrieveDetails$, 0]]
|
|
1160
|
+
[_re, _fDE, _mR, _cE],
|
|
1161
|
+
[[() => AgenticRetrieveActionDetails$, 0], () => AgenticRetrieveFullDocExpansionDetails$, [() => AgenticRetrieveMemoryRetrieveDetails$, 0], () => AgenticRetrieveCodeExecutionDetails$]
|
|
1157
1162
|
];
|
|
1158
1163
|
export var AgenticRetrieveActionDetails$ = [3, n0, _ARAD,
|
|
1159
1164
|
0,
|
|
@@ -1190,6 +1195,16 @@ export var AgenticRetrieveCitationReference$ = [3, n0, _ARCR,
|
|
|
1190
1195
|
[_rI],
|
|
1191
1196
|
[1], 1
|
|
1192
1197
|
];
|
|
1198
|
+
export var AgenticRetrieveCodeExecutionDetails$ = [3, n0, _ARCED,
|
|
1199
|
+
0,
|
|
1200
|
+
[_do],
|
|
1201
|
+
[() => AgenticRetrieveCodeExecutionDocumentList]
|
|
1202
|
+
];
|
|
1203
|
+
export var AgenticRetrieveCodeExecutionDocument$ = [3, n0, _ARCEDg,
|
|
1204
|
+
0,
|
|
1205
|
+
[_dI, _sRo],
|
|
1206
|
+
[0, () => AgenticRetrieveSourceRetriever$]
|
|
1207
|
+
];
|
|
1193
1208
|
export var AgenticRetrieveConfiguration$ = [3, n0, _ARCg,
|
|
1194
1209
|
0,
|
|
1195
1210
|
[_fMT, _fMC, _rMT, _rC, _mAI],
|
|
@@ -2407,7 +2422,7 @@ export var RerankResponse$ = [3, n0, _RRera,
|
|
|
2407
2422
|
];
|
|
2408
2423
|
export var RerankResult$ = [3, n0, _RReran,
|
|
2409
2424
|
0,
|
|
2410
|
-
[_ind, _rSel,
|
|
2425
|
+
[_ind, _rSel, _doc],
|
|
2411
2426
|
[1, 1, [() => RerankDocument$, 0]], 2
|
|
2412
2427
|
];
|
|
2413
2428
|
export var RerankSource$ = [3, n0, _RSe,
|
|
@@ -2744,6 +2759,9 @@ var AgenticRetrieveCitationList = [1, n0, _ARCL,
|
|
|
2744
2759
|
var AgenticRetrieveCitationReferenceList = [1, n0, _ARCRL,
|
|
2745
2760
|
0, () => AgenticRetrieveCitationReference$
|
|
2746
2761
|
];
|
|
2762
|
+
var AgenticRetrieveCodeExecutionDocumentList = [1, n0, _ARCEDL,
|
|
2763
|
+
0, () => AgenticRetrieveCodeExecutionDocument$
|
|
2764
|
+
];
|
|
2747
2765
|
var AgenticRetrieveFailures = [1, n0, _ARFg,
|
|
2748
2766
|
0, () => AgenticRetrieveFailure$
|
|
2749
2767
|
];
|
|
@@ -3056,7 +3074,7 @@ export var AgenticRetrieveMemoryMetadataValue$ = [4, n0, _ARMMV,
|
|
|
3056
3074
|
];
|
|
3057
3075
|
export var AgenticRetrieveStreamResponseOutput$ = [4, n0, _ARSRO,
|
|
3058
3076
|
{ [_str]: 1 },
|
|
3059
|
-
[_resu, _tEr, _rE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3077
|
+
[_resu, _tEr, _rE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE],
|
|
3060
3078
|
[() => AgenticRetrieveResultEvent$, [() => AgenticRetrieveTraceEvent$, 0], () => AgenticRetrieveResponseEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
|
|
3061
3079
|
];
|
|
3062
3080
|
export var AgenticRetrieveWarning$ = [4, n0, _ARWg,
|
|
@@ -3086,7 +3104,7 @@ export var ContentBlock$ = [4, n0, _CBon,
|
|
|
3086
3104
|
];
|
|
3087
3105
|
export var FlowExecutionContent$ = [4, n0, _FEC,
|
|
3088
3106
|
8,
|
|
3089
|
-
[
|
|
3107
|
+
[_doc],
|
|
3090
3108
|
[15]
|
|
3091
3109
|
];
|
|
3092
3110
|
export var FlowExecutionEvent$ = [4, n0, _FEElow,
|
|
@@ -3096,22 +3114,22 @@ export var FlowExecutionEvent$ = [4, n0, _FEElow,
|
|
|
3096
3114
|
];
|
|
3097
3115
|
export var FlowInputContent$ = [4, n0, _FIC,
|
|
3098
3116
|
8,
|
|
3099
|
-
[
|
|
3117
|
+
[_doc],
|
|
3100
3118
|
[15]
|
|
3101
3119
|
];
|
|
3102
3120
|
export var FlowMultiTurnInputContent$ = [4, n0, _FMTIC,
|
|
3103
3121
|
0,
|
|
3104
|
-
[
|
|
3122
|
+
[_doc],
|
|
3105
3123
|
[15]
|
|
3106
3124
|
];
|
|
3107
3125
|
export var FlowOutputContent$ = [4, n0, _FOC,
|
|
3108
3126
|
0,
|
|
3109
|
-
[
|
|
3127
|
+
[_doc],
|
|
3110
3128
|
[15]
|
|
3111
3129
|
];
|
|
3112
3130
|
export var FlowResponseStream$ = [4, n0, _FRSl,
|
|
3113
3131
|
{ [_str]: 1 },
|
|
3114
|
-
[_fOE, _fCE, _fTE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3132
|
+
[_fOE, _fCE, _fTE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fMTIRE],
|
|
3115
3133
|
[[() => FlowOutputEvent$, 0], [() => FlowCompletionEvent$, 0], [() => FlowTraceEvent$, 0], [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0], [() => FlowMultiTurnInputRequestEvent$, 0]]
|
|
3116
3134
|
];
|
|
3117
3135
|
export var FlowTrace$ = [4, n0, _FTl,
|
|
@@ -3121,12 +3139,12 @@ export var FlowTrace$ = [4, n0, _FTl,
|
|
|
3121
3139
|
];
|
|
3122
3140
|
export var FlowTraceNodeInputContent$ = [4, n0, _FTNIC,
|
|
3123
3141
|
8,
|
|
3124
|
-
[
|
|
3142
|
+
[_doc],
|
|
3125
3143
|
[15]
|
|
3126
3144
|
];
|
|
3127
3145
|
export var FlowTraceNodeOutputContent$ = [4, n0, _FTNOC,
|
|
3128
3146
|
0,
|
|
3129
|
-
[
|
|
3147
|
+
[_doc],
|
|
3130
3148
|
[15]
|
|
3131
3149
|
];
|
|
3132
3150
|
export var FunctionSchema$ = [4, n0, _FSu,
|
|
@@ -3146,7 +3164,7 @@ export var ImageSource$ = [4, n0, _ISm,
|
|
|
3146
3164
|
];
|
|
3147
3165
|
export var InlineAgentResponseStream$ = [4, n0, _IARS,
|
|
3148
3166
|
{ [_str]: 1 },
|
|
3149
|
-
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3167
|
+
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fi],
|
|
3150
3168
|
[[() => InlineAgentPayloadPart$, 0], [() => InlineAgentTracePart$, 0], [() => InlineAgentReturnControlPayload$, 0], [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0], [() => InlineAgentFilePart$, 0]]
|
|
3151
3169
|
];
|
|
3152
3170
|
export var InputPrompt$ = [4, n0, _IP,
|
|
@@ -3176,7 +3194,7 @@ export var Memory$ = [4, n0, _Memo,
|
|
|
3176
3194
|
];
|
|
3177
3195
|
export var NodeExecutionContent$ = [4, n0, _NEC,
|
|
3178
3196
|
8,
|
|
3179
|
-
[
|
|
3197
|
+
[_doc],
|
|
3180
3198
|
[15]
|
|
3181
3199
|
];
|
|
3182
3200
|
export var NodeTraceElements$ = [4, n0, _NTE,
|
|
@@ -3226,7 +3244,7 @@ export var RerankingMetadataSelectiveModeConfiguration$ = [4, n0, _RMSMC,
|
|
|
3226
3244
|
];
|
|
3227
3245
|
export var ResponseStream$ = [4, n0, _RSes,
|
|
3228
3246
|
{ [_str]: 1 },
|
|
3229
|
-
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3247
|
+
[_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _mNRE, _fi],
|
|
3230
3248
|
[[() => PayloadPart$, 0], [() => TracePart$, 0], [() => ReturnControlPayload$, 0], [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0], [() => ModelNotReadyException$, 0], [() => FilePart$, 0]]
|
|
3231
3249
|
];
|
|
3232
3250
|
export var RetrievalFilter$ = [4, n0, _RF,
|
|
@@ -3236,7 +3254,7 @@ export var RetrievalFilter$ = [4, n0, _RF,
|
|
|
3236
3254
|
];
|
|
3237
3255
|
export var RetrieveAndGenerateStreamResponseOutput$ = [4, n0, _RAGSRO,
|
|
3238
3256
|
{ [_str]: 1 },
|
|
3239
|
-
[_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE,
|
|
3257
|
+
[_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE],
|
|
3240
3258
|
[[() => RetrieveAndGenerateOutputEvent$, 0], [() => CitationEvent$, 0], () => GuardrailEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => ResourceNotFoundException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ThrottlingException$, 0], [() => AccessDeniedException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
|
|
3241
3259
|
];
|
|
3242
3260
|
export var RetrieverConfiguration$ = [4, n0, _RCet,
|
|
@@ -224,7 +224,7 @@ declare const AgenticRetrieveStreamCommand_base: {
|
|
|
224
224
|
* // id: "STRING_VALUE", // required
|
|
225
225
|
* // timestamp: Number("long"), // required
|
|
226
226
|
* // attributes: { // AgenticRetrieveTraceEventAttributes
|
|
227
|
-
* // step: "Planning" || "Retrieval" || "SpeculativeRetrieval" || "FullDocumentExpansion" || "SessionHistoryLoad", // required
|
|
227
|
+
* // step: "Planning" || "Retrieval" || "SpeculativeRetrieval" || "FullDocumentExpansion" || "SessionHistoryLoad" || "CodeExecution", // required
|
|
228
228
|
* // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
229
229
|
* // message: "STRING_VALUE", // required
|
|
230
230
|
* // actions: [ // AgenticRetrieveActions
|
|
@@ -252,6 +252,14 @@ declare const AgenticRetrieveStreamCommand_base: {
|
|
|
252
252
|
* // namespacePath: "STRING_VALUE",
|
|
253
253
|
* // strategyId: "STRING_VALUE",
|
|
254
254
|
* // },
|
|
255
|
+
* // codeExecution: { // AgenticRetrieveCodeExecutionDetails
|
|
256
|
+
* // documents: [ // AgenticRetrieveCodeExecutionDocumentList
|
|
257
|
+
* // { // AgenticRetrieveCodeExecutionDocument
|
|
258
|
+
* // documentId: "STRING_VALUE",
|
|
259
|
+
* // sourceRetriever: "<AgenticRetrieveSourceRetriever>",
|
|
260
|
+
* // },
|
|
261
|
+
* // ],
|
|
262
|
+
* // },
|
|
255
263
|
* // },
|
|
256
264
|
* // ],
|
|
257
265
|
* // warnings: [ // AgenticRetrieveWarnings
|
|
@@ -324,6 +324,10 @@ export type AgenticRetrieveStatus = (typeof AgenticRetrieveStatus)[keyof typeof
|
|
|
324
324
|
* @enum
|
|
325
325
|
*/
|
|
326
326
|
export declare const AgenticRetrieveStep: {
|
|
327
|
+
/**
|
|
328
|
+
* <p>The phase that runs agent-generated code in an isolated sandbox. The code can read documents retrieved earlier in the same request.</p>
|
|
329
|
+
*/
|
|
330
|
+
readonly CODE_EXECUTION: "CodeExecution";
|
|
327
331
|
/**
|
|
328
332
|
* <p>The full document expansion phase.</p>
|
|
329
333
|
*/
|
|
@@ -889,6 +889,33 @@ export interface AgenticRetrieveSourceRetriever {
|
|
|
889
889
|
*/
|
|
890
890
|
identifier: string | undefined;
|
|
891
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* <p>A document that a code execution action reads.</p>
|
|
894
|
+
* @public
|
|
895
|
+
*/
|
|
896
|
+
export interface AgenticRetrieveCodeExecutionDocument {
|
|
897
|
+
/**
|
|
898
|
+
* <p>The identifier of the document.</p>
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
documentId?: string | undefined;
|
|
902
|
+
/**
|
|
903
|
+
* <p>The source retriever associated with the document.</p>
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
sourceRetriever?: AgenticRetrieveSourceRetriever | undefined;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* <p>The details of code that the agent chose to run in an isolated sandbox. The record includes the documents that the code reads. The corresponding CodeExecution step reports the outcome.</p>
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
export interface AgenticRetrieveCodeExecutionDetails {
|
|
913
|
+
/**
|
|
914
|
+
* <p>The documents that the code reads. This field is present when the code reads documents.</p>
|
|
915
|
+
* @public
|
|
916
|
+
*/
|
|
917
|
+
documents?: AgenticRetrieveCodeExecutionDocument[] | undefined;
|
|
918
|
+
}
|
|
892
919
|
/**
|
|
893
920
|
* <p>Details of a full document expansion action.</p>
|
|
894
921
|
* @public
|
|
@@ -983,6 +1010,11 @@ export interface AgenticRetrieveAction {
|
|
|
983
1010
|
* @public
|
|
984
1011
|
*/
|
|
985
1012
|
memoryRetrieve?: AgenticRetrieveMemoryRetrieveDetails | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* <p>The details of code that the agent chose to run.</p>
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
1017
|
+
codeExecution?: AgenticRetrieveCodeExecutionDetails | undefined;
|
|
986
1018
|
}
|
|
987
1019
|
/**
|
|
988
1020
|
* <p>The retrieval instruction, identified by its ID and version, that was applied to the request.</p>
|
|
@@ -8223,45 +8255,3 @@ export interface QueryTransformationConfiguration {
|
|
|
8223
8255
|
*/
|
|
8224
8256
|
type: QueryTransformationType | undefined;
|
|
8225
8257
|
}
|
|
8226
|
-
/**
|
|
8227
|
-
* <p>Settings for how the model processes the prompt prior to retrieval and generation.</p>
|
|
8228
|
-
* @public
|
|
8229
|
-
*/
|
|
8230
|
-
export interface OrchestrationConfiguration {
|
|
8231
|
-
/**
|
|
8232
|
-
* <p>Contains the template for the prompt that's sent to the model. Orchestration prompts must include the <code>$conversation_history$</code> and <code>$output_format_instructions$</code> variables. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html">Use placeholder variables</a> in the user guide.</p>
|
|
8233
|
-
* @public
|
|
8234
|
-
*/
|
|
8235
|
-
promptTemplate?: PromptTemplate | undefined;
|
|
8236
|
-
/**
|
|
8237
|
-
* <p> Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source. </p>
|
|
8238
|
-
* @public
|
|
8239
|
-
*/
|
|
8240
|
-
inferenceConfig?: InferenceConfig | undefined;
|
|
8241
|
-
/**
|
|
8242
|
-
* <p> Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used. </p>
|
|
8243
|
-
* @public
|
|
8244
|
-
*/
|
|
8245
|
-
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
8246
|
-
/**
|
|
8247
|
-
* <p>To split up the prompt and retrieve multiple sources, set the transformation type to <code>QUERY_DECOMPOSITION</code>.</p>
|
|
8248
|
-
* @public
|
|
8249
|
-
*/
|
|
8250
|
-
queryTransformationConfiguration?: QueryTransformationConfiguration | undefined;
|
|
8251
|
-
/**
|
|
8252
|
-
* <p>The latency configuration for the model.</p>
|
|
8253
|
-
* @public
|
|
8254
|
-
*/
|
|
8255
|
-
performanceConfig?: PerformanceConfiguration | undefined;
|
|
8256
|
-
}
|
|
8257
|
-
/**
|
|
8258
|
-
* <p>Contains configuration about the session with the knowledge base.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>sessionConfiguration</code> field</p> </li> </ul>
|
|
8259
|
-
* @public
|
|
8260
|
-
*/
|
|
8261
|
-
export interface RetrieveAndGenerateSessionConfiguration {
|
|
8262
|
-
/**
|
|
8263
|
-
* <p>The ARN of the KMS key encrypting the session.</p>
|
|
8264
|
-
* @public
|
|
8265
|
-
*/
|
|
8266
|
-
kmsKeyArn: string | undefined;
|
|
8267
|
-
}
|
|
@@ -1,7 +1,49 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import type { AgentCollaboration, GuadrailAction, ImageFormat, InputImageFormat, KnowledgeBaseQueryType, OrchestrationType, RerankingModelType, RetrieveAndGenerateType, SearchType, SessionStatus } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
|
-
import type { AgentActionGroup, AgenticRetrieveConfiguration, AgenticRetrieveInstructionConfiguration, AgenticRetrieveMemoryConfiguration, AgenticRetrieveMessage, AgenticRetrievePolicyConfiguration, BedrockModelConfigurations, Citation, CollaboratorConfiguration, ConversationHistory, CustomOrchestration, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GeneratedResponsePart, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, ManagedSearchRerankingConfiguration,
|
|
4
|
+
import type { AgentActionGroup, AgenticRetrieveConfiguration, AgenticRetrieveInstructionConfiguration, AgenticRetrieveMemoryConfiguration, AgenticRetrieveMessage, AgenticRetrievePolicyConfiguration, BedrockModelConfigurations, Citation, CollaboratorConfiguration, ConversationHistory, CustomOrchestration, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GeneratedResponsePart, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InferenceConfig, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, ManagedSearchRerankingConfiguration, PerformanceConfiguration, PromptCreationConfigurations, PromptOverrideConfiguration, PromptTemplate, QueryTransformationConfiguration, RetrievalResultContent, RetrievalResultLocation, RetrieveAndGenerateInput, RetrievedReference, StreamingConfigurations, UserContext, VectorSearchRerankingConfiguration } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Settings for how the model processes the prompt prior to retrieval and generation.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface OrchestrationConfiguration {
|
|
10
|
+
/**
|
|
11
|
+
* <p>Contains the template for the prompt that's sent to the model. Orchestration prompts must include the <code>$conversation_history$</code> and <code>$output_format_instructions$</code> variables. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html">Use placeholder variables</a> in the user guide.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
promptTemplate?: PromptTemplate | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* <p> Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source. </p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
inferenceConfig?: InferenceConfig | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* <p> Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used. </p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>To split up the prompt and retrieve multiple sources, set the transformation type to <code>QUERY_DECOMPOSITION</code>.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
queryTransformationConfiguration?: QueryTransformationConfiguration | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The latency configuration for the model.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
performanceConfig?: PerformanceConfiguration | undefined;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>Contains configuration about the session with the knowledge base.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>sessionConfiguration</code> field</p> </li> </ul>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface RetrieveAndGenerateSessionConfiguration {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The ARN of the KMS key encrypting the session.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
kmsKeyArn: string | undefined;
|
|
46
|
+
}
|
|
5
47
|
/**
|
|
6
48
|
* <p>Contains the response generated from querying the knowledge base.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax">RetrieveAndGenerate response</a> – in the <code>output</code> field</p> </li> </ul>
|
|
7
49
|
* @public
|
|
@@ -32,6 +32,8 @@ export declare var AgenticRetrieveBedrockRerankingConfiguration$: StaticStructur
|
|
|
32
32
|
export declare var AgenticRetrieveBedrockRerankingModelConfiguration$: StaticStructureSchema;
|
|
33
33
|
export declare var AgenticRetrieveCitation$: StaticStructureSchema;
|
|
34
34
|
export declare var AgenticRetrieveCitationReference$: StaticStructureSchema;
|
|
35
|
+
export declare var AgenticRetrieveCodeExecutionDetails$: StaticStructureSchema;
|
|
36
|
+
export declare var AgenticRetrieveCodeExecutionDocument$: StaticStructureSchema;
|
|
35
37
|
export declare var AgenticRetrieveConfiguration$: StaticStructureSchema;
|
|
36
38
|
export declare var AgenticRetrieveFailure$: StaticStructureSchema;
|
|
37
39
|
export declare var AgenticRetrieveFullDocExpansionDetails$: StaticStructureSchema;
|
|
@@ -128,6 +128,7 @@ export declare const AgenticRetrieveStatus: {
|
|
|
128
128
|
export type AgenticRetrieveStatus =
|
|
129
129
|
(typeof AgenticRetrieveStatus)[keyof typeof AgenticRetrieveStatus];
|
|
130
130
|
export declare const AgenticRetrieveStep: {
|
|
131
|
+
readonly CODE_EXECUTION: "CodeExecution";
|
|
131
132
|
readonly FULL_DOCUMENT_EXPANSION: "FullDocumentExpansion";
|
|
132
133
|
readonly PLANNING: "Planning";
|
|
133
134
|
readonly RETRIEVAL: "Retrieval";
|
|
@@ -365,6 +365,13 @@ export interface AgentCollaboratorInvocationOutput {
|
|
|
365
365
|
export interface AgenticRetrieveSourceRetriever {
|
|
366
366
|
identifier: string | undefined;
|
|
367
367
|
}
|
|
368
|
+
export interface AgenticRetrieveCodeExecutionDocument {
|
|
369
|
+
documentId?: string | undefined;
|
|
370
|
+
sourceRetriever?: AgenticRetrieveSourceRetriever | undefined;
|
|
371
|
+
}
|
|
372
|
+
export interface AgenticRetrieveCodeExecutionDetails {
|
|
373
|
+
documents?: AgenticRetrieveCodeExecutionDocument[] | undefined;
|
|
374
|
+
}
|
|
368
375
|
export interface AgenticRetrieveFullDocExpansionDetails {
|
|
369
376
|
documentId?: string | undefined;
|
|
370
377
|
sourceRetriever?: AgenticRetrieveSourceRetriever | undefined;
|
|
@@ -387,6 +394,7 @@ export interface AgenticRetrieveAction {
|
|
|
387
394
|
retrieve?: AgenticRetrieveActionDetails | undefined;
|
|
388
395
|
fullDocumentExpansion?: AgenticRetrieveFullDocExpansionDetails | undefined;
|
|
389
396
|
memoryRetrieve?: AgenticRetrieveMemoryRetrieveDetails | undefined;
|
|
397
|
+
codeExecution?: AgenticRetrieveCodeExecutionDetails | undefined;
|
|
390
398
|
}
|
|
391
399
|
export interface AgenticRetrieveAppliedInstruction {
|
|
392
400
|
id: string | undefined;
|
|
@@ -3486,13 +3494,3 @@ export interface GenerationConfiguration {
|
|
|
3486
3494
|
export interface QueryTransformationConfiguration {
|
|
3487
3495
|
type: QueryTransformationType | undefined;
|
|
3488
3496
|
}
|
|
3489
|
-
export interface OrchestrationConfiguration {
|
|
3490
|
-
promptTemplate?: PromptTemplate | undefined;
|
|
3491
|
-
inferenceConfig?: InferenceConfig | undefined;
|
|
3492
|
-
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
3493
|
-
queryTransformationConfiguration?: QueryTransformationConfiguration | undefined;
|
|
3494
|
-
performanceConfig?: PerformanceConfiguration | undefined;
|
|
3495
|
-
}
|
|
3496
|
-
export interface RetrieveAndGenerateSessionConfiguration {
|
|
3497
|
-
kmsKeyArn: string | undefined;
|
|
3498
|
-
}
|
|
@@ -41,23 +41,35 @@ import {
|
|
|
41
41
|
GuardrailConfiguration,
|
|
42
42
|
GuardrailConfigurationWithArn,
|
|
43
43
|
ImplicitFilterConfiguration,
|
|
44
|
+
InferenceConfig,
|
|
44
45
|
InlineBedrockModelConfigurations,
|
|
45
46
|
InlineSessionState,
|
|
46
47
|
InputFile,
|
|
47
48
|
InvocationResultMember,
|
|
48
49
|
ManagedSearchRerankingConfiguration,
|
|
49
|
-
|
|
50
|
+
PerformanceConfiguration,
|
|
50
51
|
PromptCreationConfigurations,
|
|
51
52
|
PromptOverrideConfiguration,
|
|
53
|
+
PromptTemplate,
|
|
54
|
+
QueryTransformationConfiguration,
|
|
52
55
|
RetrievalResultContent,
|
|
53
56
|
RetrievalResultLocation,
|
|
54
57
|
RetrieveAndGenerateInput,
|
|
55
|
-
RetrieveAndGenerateSessionConfiguration,
|
|
56
58
|
RetrievedReference,
|
|
57
59
|
StreamingConfigurations,
|
|
58
60
|
UserContext,
|
|
59
61
|
VectorSearchRerankingConfiguration,
|
|
60
62
|
} from "./models_0";
|
|
63
|
+
export interface OrchestrationConfiguration {
|
|
64
|
+
promptTemplate?: PromptTemplate | undefined;
|
|
65
|
+
inferenceConfig?: InferenceConfig | undefined;
|
|
66
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
67
|
+
queryTransformationConfiguration?: QueryTransformationConfiguration | undefined;
|
|
68
|
+
performanceConfig?: PerformanceConfiguration | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface RetrieveAndGenerateSessionConfiguration {
|
|
71
|
+
kmsKeyArn: string | undefined;
|
|
72
|
+
}
|
|
61
73
|
export interface RetrieveAndGenerateOutput {
|
|
62
74
|
text: string | undefined;
|
|
63
75
|
}
|
|
@@ -32,6 +32,8 @@ export declare var AgenticRetrieveBedrockRerankingConfiguration$: StaticStructur
|
|
|
32
32
|
export declare var AgenticRetrieveBedrockRerankingModelConfiguration$: StaticStructureSchema;
|
|
33
33
|
export declare var AgenticRetrieveCitation$: StaticStructureSchema;
|
|
34
34
|
export declare var AgenticRetrieveCitationReference$: StaticStructureSchema;
|
|
35
|
+
export declare var AgenticRetrieveCodeExecutionDetails$: StaticStructureSchema;
|
|
36
|
+
export declare var AgenticRetrieveCodeExecutionDocument$: StaticStructureSchema;
|
|
35
37
|
export declare var AgenticRetrieveConfiguration$: StaticStructureSchema;
|
|
36
38
|
export declare var AgenticRetrieveFailure$: StaticStructureSchema;
|
|
37
39
|
export declare var AgenticRetrieveFullDocExpansionDetails$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1161.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agent-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.979.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.92",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
54
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|