@aws-sdk/client-bedrock-agent-runtime 3.939.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 +42 -16
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +28 -16
- package/dist-types/commands/InvokeAgentCommand.d.ts +27 -3
- package/dist-types/commands/InvokeFlowCommand.d.ts +18 -2
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +29 -4
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +18 -2
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +9 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +18 -2
- package/dist-types/commands/RetrieveCommand.d.ts +15 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +73 -120
- package/dist-types/models/models_1.d.ts +117 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +2 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -26
- package/dist-types/ts3.4/models/models_1.d.ts +38 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -269,6 +269,7 @@ const _APp = "ApiParameter";
|
|
|
269
269
|
const _APpi = "ApiParameters";
|
|
270
270
|
const _AR = "ApiResult";
|
|
271
271
|
const _ARB = "ApiRequestBody";
|
|
272
|
+
const _AS = "AudioSegment";
|
|
272
273
|
const _AT = "AgentTraces";
|
|
273
274
|
const _BCB = "ByteContentBlob";
|
|
274
275
|
const _BCD = "ByteContentDoc";
|
|
@@ -454,8 +455,9 @@ const _IIARn = "InvokeInlineAgentResponse";
|
|
|
454
455
|
const _IIM = "InvocationInputMember";
|
|
455
456
|
const _IIS = "ImageInputSource";
|
|
456
457
|
const _IIm = "ImageInputs";
|
|
457
|
-
const _IIn = "
|
|
458
|
-
const _IInv = "
|
|
458
|
+
const _IIn = "InputImage";
|
|
459
|
+
const _IInv = "InvocationInput";
|
|
460
|
+
const _IInvo = "InvocationInputs";
|
|
459
461
|
const _IP = "InputPrompt";
|
|
460
462
|
const _IRM = "InvocationResultMember";
|
|
461
463
|
const _IS = "InvocationStep";
|
|
@@ -675,6 +677,7 @@ const _USR = "UpdateSessionRequest";
|
|
|
675
677
|
const _USRp = "UpdateSessionResponse";
|
|
676
678
|
const _V = "Verb";
|
|
677
679
|
const _VE = "ValidationException";
|
|
680
|
+
const _VS = "VideoSegment";
|
|
678
681
|
const _VSBRC = "VectorSearchBedrockRerankingConfiguration";
|
|
679
682
|
const _VSBRMC = "VectorSearchBedrockRerankingModelConfiguration";
|
|
680
683
|
const _VSRC = "VectorSearchRerankingConfiguration";
|
|
@@ -707,6 +710,7 @@ const _aS = "apiSchema";
|
|
|
707
710
|
const _aT = "agentTraces";
|
|
708
711
|
const _aV = "agentVersion";
|
|
709
712
|
const _at = "attribution";
|
|
713
|
+
const _au = "audio";
|
|
710
714
|
const _b = "body";
|
|
711
715
|
const _bC = "byteContent";
|
|
712
716
|
const _bGE = "badGatewayException";
|
|
@@ -833,7 +837,8 @@ const _hSC = "httpStatusCode";
|
|
|
833
837
|
const _i = "input";
|
|
834
838
|
const _iA = "inputAssessments";
|
|
835
839
|
const _iC = "inferenceConfig";
|
|
836
|
-
const _iCn = "
|
|
840
|
+
const _iCn = "inlineContent";
|
|
841
|
+
const _iCnf = "inferenceConfiguration";
|
|
837
842
|
const _iDS = "inlineDocumentSource";
|
|
838
843
|
const _iFC = "implicitFilterConfiguration";
|
|
839
844
|
const _iFN = "inputFieldName";
|
|
@@ -1031,6 +1036,7 @@ const _sSt = "stopSequences";
|
|
|
1031
1036
|
const _sT = "sourceType";
|
|
1032
1037
|
const _sTt = "startTime";
|
|
1033
1038
|
const _sTu = "summaryText";
|
|
1039
|
+
const _sU = "s3Uri";
|
|
1034
1040
|
const _sW = "startsWith";
|
|
1035
1041
|
const _s_ = "s3";
|
|
1036
1042
|
const _sc = "score";
|
|
@@ -1044,6 +1050,7 @@ const _st = "status";
|
|
|
1044
1050
|
const _sta = "start";
|
|
1045
1051
|
const _str = "stream";
|
|
1046
1052
|
const _stre = "streaming";
|
|
1053
|
+
const _su = "summary";
|
|
1047
1054
|
const _t = "text";
|
|
1048
1055
|
const _tC = "transformationConfiguration";
|
|
1049
1056
|
const _tD = "textDocument";
|
|
@@ -1066,7 +1073,8 @@ const _ta = "tags";
|
|
|
1066
1073
|
const _te = "temperature";
|
|
1067
1074
|
const _ti = "timestamp";
|
|
1068
1075
|
const _to = "topics";
|
|
1069
|
-
const _tr = "
|
|
1076
|
+
const _tr = "transcription";
|
|
1077
|
+
const _tra = "trace";
|
|
1070
1078
|
const _ty = "type";
|
|
1071
1079
|
const _u = "usage";
|
|
1072
1080
|
const _uC = "useCase";
|
|
@@ -1076,6 +1084,7 @@ const _v = "verb";
|
|
|
1076
1084
|
const _vE = "validationException";
|
|
1077
1085
|
const _vSC = "vectorSearchConfiguration";
|
|
1078
1086
|
const _va = "value";
|
|
1087
|
+
const _vi = "video";
|
|
1079
1088
|
const _wL = "webLocation";
|
|
1080
1089
|
const _wP = "wordPolicy";
|
|
1081
1090
|
const _xabact = "x-amzn-bedrock-agent-content-type";
|
|
@@ -1221,6 +1230,7 @@ var ApiResult = [
|
|
|
1221
1230
|
[0, 0, [() => ApiPath, 0], 0, 0, 1, () => ResponseBody, 0],
|
|
1222
1231
|
];
|
|
1223
1232
|
var Attribution = [3, n0, _A, 0, [_ci], [[() => Citations, 0]]];
|
|
1233
|
+
var AudioSegment = [3, n0, _AS, 0, [_sU, _tr], [0, 0]];
|
|
1224
1234
|
var BadGatewayException = [
|
|
1225
1235
|
-3,
|
|
1226
1236
|
n0,
|
|
@@ -1518,7 +1528,7 @@ var FlowTraceDependencyEvent = [
|
|
|
1518
1528
|
[_nN, _ti, _tE],
|
|
1519
1529
|
[0, 5, [() => TraceElements, 0]],
|
|
1520
1530
|
];
|
|
1521
|
-
var FlowTraceEvent = [3, n0, _FTE, 0, [
|
|
1531
|
+
var FlowTraceEvent = [3, n0, _FTE, 0, [_tra], [[() => FlowTrace, 0]]];
|
|
1522
1532
|
var FlowTraceNodeActionEvent = [
|
|
1523
1533
|
3,
|
|
1524
1534
|
n0,
|
|
@@ -1832,7 +1842,7 @@ var InlineAgentTracePart = [
|
|
|
1832
1842
|
n0,
|
|
1833
1843
|
_IATP,
|
|
1834
1844
|
8,
|
|
1835
|
-
[_sIe,
|
|
1845
|
+
[_sIe, _tra, _cCa, _eTv, _cN],
|
|
1836
1846
|
[0, [() => Trace, 0], () => CallerChain, 5, [() => Name, 0]],
|
|
1837
1847
|
];
|
|
1838
1848
|
var InlineBedrockModelConfigurations = [
|
|
@@ -1859,6 +1869,7 @@ var InlineSessionState = [
|
|
|
1859
1869
|
],
|
|
1860
1870
|
];
|
|
1861
1871
|
var InputFile = [3, n0, _IF, 0, [_n, _sou, _uC], [0, [() => FileSource, 0], 0]];
|
|
1872
|
+
var InputImage = [3, n0, _IIn, 0, [_fo, _iCn], [0, [() => ByteContentBlob, 0]]];
|
|
1862
1873
|
var InternalServerException = [
|
|
1863
1874
|
-3,
|
|
1864
1875
|
n0,
|
|
@@ -1874,7 +1885,7 @@ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServe
|
|
|
1874
1885
|
var InvocationInput = [
|
|
1875
1886
|
3,
|
|
1876
1887
|
n0,
|
|
1877
|
-
|
|
1888
|
+
_IInv,
|
|
1878
1889
|
8,
|
|
1879
1890
|
[_tI, _iT, _aGII, _kBLI, _cIII, _aCII],
|
|
1880
1891
|
[
|
|
@@ -2088,7 +2099,7 @@ var KnowledgeBaseLookupOutput = [
|
|
|
2088
2099
|
[() => Metadata, 0],
|
|
2089
2100
|
],
|
|
2090
2101
|
];
|
|
2091
|
-
var KnowledgeBaseQuery = [3, n0, _KBQ, 8, [_t], [0]];
|
|
2102
|
+
var KnowledgeBaseQuery = [3, n0, _KBQ, 8, [_ty, _t, _ima], [0, 0, [() => InputImage, 0]]];
|
|
2092
2103
|
var KnowledgeBaseRetrievalConfiguration = [
|
|
2093
2104
|
3,
|
|
2094
2105
|
n0,
|
|
@@ -2323,7 +2334,7 @@ var ModelInvocationInput = [
|
|
|
2323
2334
|
n0,
|
|
2324
2335
|
_MII,
|
|
2325
2336
|
8,
|
|
2326
|
-
[_tI, _t, _ty, _oL, _pCM,
|
|
2337
|
+
[_tI, _t, _ty, _oL, _pCM, _iCnf, _pM, _fM],
|
|
2327
2338
|
[0, [() => PromptText, 0], 0, 0, 0, () => InferenceConfiguration, 0, 0],
|
|
2328
2339
|
];
|
|
2329
2340
|
var ModelNotReadyException = [
|
|
@@ -2511,7 +2522,7 @@ var PromptConfiguration = [
|
|
|
2511
2522
|
n0,
|
|
2512
2523
|
_PCr,
|
|
2513
2524
|
0,
|
|
2514
|
-
[_pTr, _pCM, _pS, _bPT,
|
|
2525
|
+
[_pTr, _pCM, _pS, _bPT, _iCnf, _pM, _fM, _aMRF],
|
|
2515
2526
|
[0, 0, 0, [() => BasePromptTemplate, 0], () => InferenceConfiguration, 0, 0, 15],
|
|
2516
2527
|
];
|
|
2517
2528
|
var PromptCreationConfigurations = [3, n0, _PCC, 0, [_pCTTI, _ePTS], [1, 2]];
|
|
@@ -2595,8 +2606,8 @@ var RetrievalResultContent = [
|
|
|
2595
2606
|
n0,
|
|
2596
2607
|
_RRC,
|
|
2597
2608
|
8,
|
|
2598
|
-
[_ty, _t, _bC, _row],
|
|
2599
|
-
[0, 0, 0, [() => RetrievalResultContentRow, 0]],
|
|
2609
|
+
[_ty, _t, _bC, _vi, _au, _row],
|
|
2610
|
+
[0, 0, 0, () => VideoSegment, () => AudioSegment, [() => RetrievalResultContentRow, 0]],
|
|
2600
2611
|
];
|
|
2601
2612
|
var RetrievalResultContentColumn = [3, n0, _RRCC, 8, [_cNol, _cV, _ty], [0, 0, 0]];
|
|
2602
2613
|
var RetrievalResultCustomDocumentLocation = [3, n0, _RRCDL, 0, [_id_], [0]];
|
|
@@ -2837,7 +2848,7 @@ var TracePart = [
|
|
|
2837
2848
|
n0,
|
|
2838
2849
|
_TPr,
|
|
2839
2850
|
8,
|
|
2840
|
-
[_sIe,
|
|
2851
|
+
[_sIe, _tra, _cCa, _eTv, _cN, _aI, _aAI, _aV],
|
|
2841
2852
|
[0, [() => Trace, 0], () => CallerChain, 5, [() => Name, 0], 0, 0, 0],
|
|
2842
2853
|
];
|
|
2843
2854
|
var TransformationConfiguration = [
|
|
@@ -2911,6 +2922,7 @@ var VectorSearchRerankingConfiguration = [
|
|
|
2911
2922
|
[_ty, _bRC],
|
|
2912
2923
|
[0, [() => VectorSearchBedrockRerankingConfiguration, 0]],
|
|
2913
2924
|
];
|
|
2925
|
+
var VideoSegment = [3, n0, _VS, 0, [_sU, _su], [0, 0]];
|
|
2914
2926
|
var BedrockAgentRuntimeServiceException = [
|
|
2915
2927
|
-3,
|
|
2916
2928
|
_sm,
|
|
@@ -2960,7 +2972,7 @@ var GuardrailRegexFilterList = [1, n0, _GRFL, 8, [() => GuardrailRegexFilter, 0]
|
|
|
2960
2972
|
var GuardrailTopicList = [1, n0, _GTL, 8, [() => GuardrailTopic, 0]];
|
|
2961
2973
|
var ImageInputs = [1, n0, _IIm, 0, () => ImageInput];
|
|
2962
2974
|
var InputFiles = [1, n0, _IFn, 0, [() => InputFile, 0]];
|
|
2963
|
-
var InvocationInputs = [1, n0,
|
|
2975
|
+
var InvocationInputs = [1, n0, _IInvo, 0, [() => InvocationInputMember, 0]];
|
|
2964
2976
|
var InvocationStepSummaries = [1, n0, _ISSnv, 0, () => InvocationStepSummary];
|
|
2965
2977
|
var InvocationSummaries = [1, n0, _ISnv, 0, () => InvocationSummary];
|
|
2966
2978
|
var KnowledgeBaseConfigurations = [1, n0, _KBCn, 0, [() => KnowledgeBaseConfiguration, 0]];
|
|
@@ -3074,7 +3086,7 @@ var InlineAgentResponseStream = [
|
|
|
3074
3086
|
{
|
|
3075
3087
|
[_stre]: 1,
|
|
3076
3088
|
},
|
|
3077
|
-
[_ch,
|
|
3089
|
+
[_ch, _tra, _rCet, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cE, _dFE, _bGE, _fi],
|
|
3078
3090
|
[
|
|
3079
3091
|
[() => InlineAgentPayloadPart, 0],
|
|
3080
3092
|
[() => InlineAgentTracePart, 0],
|
|
@@ -3205,7 +3217,7 @@ var ResponseStream = [
|
|
|
3205
3217
|
{
|
|
3206
3218
|
[_stre]: 1,
|
|
3207
3219
|
},
|
|
3208
|
-
[_ch,
|
|
3220
|
+
[_ch, _tra, _rCet, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cE, _dFE, _bGE, _mNRE, _fi],
|
|
3209
3221
|
[
|
|
3210
3222
|
[() => PayloadPart, 0],
|
|
3211
3223
|
[() => TracePart, 0],
|
|
@@ -4208,9 +4220,11 @@ const RetrievalResultContentColumnType = {
|
|
|
4208
4220
|
STRING: "STRING",
|
|
4209
4221
|
};
|
|
4210
4222
|
const RetrievalResultContentType = {
|
|
4223
|
+
AUDIO: "AUDIO",
|
|
4211
4224
|
IMAGE: "IMAGE",
|
|
4212
4225
|
ROW: "ROW",
|
|
4213
4226
|
TEXT: "TEXT",
|
|
4227
|
+
VIDEO: "VIDEO",
|
|
4214
4228
|
};
|
|
4215
4229
|
const RetrievalResultLocationType = {
|
|
4216
4230
|
CONFLUENCE: "CONFLUENCE",
|
|
@@ -4377,6 +4391,16 @@ const GuadrailAction = {
|
|
|
4377
4391
|
INTERVENED: "INTERVENED",
|
|
4378
4392
|
NONE: "NONE",
|
|
4379
4393
|
};
|
|
4394
|
+
const InputImageFormat = {
|
|
4395
|
+
gif: "gif",
|
|
4396
|
+
jpeg: "jpeg",
|
|
4397
|
+
png: "png",
|
|
4398
|
+
webp: "webp",
|
|
4399
|
+
};
|
|
4400
|
+
const KnowledgeBaseQueryType = {
|
|
4401
|
+
IMAGE: "IMAGE",
|
|
4402
|
+
TEXT: "TEXT",
|
|
4403
|
+
};
|
|
4380
4404
|
const SessionStatus = {
|
|
4381
4405
|
ACTIVE: "ACTIVE",
|
|
4382
4406
|
ENDED: "ENDED",
|
|
@@ -4449,12 +4473,14 @@ exports.GuardrailTopicType = GuardrailTopicType;
|
|
|
4449
4473
|
exports.GuardrailWordPolicyAction = GuardrailWordPolicyAction;
|
|
4450
4474
|
exports.ImageFormat = ImageFormat;
|
|
4451
4475
|
exports.ImageInputFormat = ImageInputFormat;
|
|
4476
|
+
exports.InputImageFormat = InputImageFormat;
|
|
4452
4477
|
exports.InputQueryType = InputQueryType;
|
|
4453
4478
|
exports.InternalServerException = InternalServerException$1;
|
|
4454
4479
|
exports.InvocationType = InvocationType;
|
|
4455
4480
|
exports.InvokeAgentCommand = InvokeAgentCommand;
|
|
4456
4481
|
exports.InvokeFlowCommand = InvokeFlowCommand;
|
|
4457
4482
|
exports.InvokeInlineAgentCommand = InvokeInlineAgentCommand;
|
|
4483
|
+
exports.KnowledgeBaseQueryType = KnowledgeBaseQueryType;
|
|
4458
4484
|
exports.ListFlowExecutionEventsCommand = ListFlowExecutionEventsCommand;
|
|
4459
4485
|
exports.ListFlowExecutionsCommand = ListFlowExecutionsCommand;
|
|
4460
4486
|
exports.ListInvocationStepsCommand = ListInvocationStepsCommand;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -148,9 +148,11 @@ export const RetrievalResultContentColumnType = {
|
|
|
148
148
|
STRING: "STRING",
|
|
149
149
|
};
|
|
150
150
|
export const RetrievalResultContentType = {
|
|
151
|
+
AUDIO: "AUDIO",
|
|
151
152
|
IMAGE: "IMAGE",
|
|
152
153
|
ROW: "ROW",
|
|
153
154
|
TEXT: "TEXT",
|
|
155
|
+
VIDEO: "VIDEO",
|
|
154
156
|
};
|
|
155
157
|
export const RetrievalResultLocationType = {
|
|
156
158
|
CONFLUENCE: "CONFLUENCE",
|
|
@@ -317,6 +319,16 @@ export const GuadrailAction = {
|
|
|
317
319
|
INTERVENED: "INTERVENED",
|
|
318
320
|
NONE: "NONE",
|
|
319
321
|
};
|
|
322
|
+
export const InputImageFormat = {
|
|
323
|
+
gif: "gif",
|
|
324
|
+
jpeg: "jpeg",
|
|
325
|
+
png: "png",
|
|
326
|
+
webp: "webp",
|
|
327
|
+
};
|
|
328
|
+
export const KnowledgeBaseQueryType = {
|
|
329
|
+
IMAGE: "IMAGE",
|
|
330
|
+
TEXT: "TEXT",
|
|
331
|
+
};
|
|
320
332
|
export const SessionStatus = {
|
|
321
333
|
ACTIVE: "ACTIVE",
|
|
322
334
|
ENDED: "ENDED",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,6 +21,7 @@ const _APp = "ApiParameter";
|
|
|
21
21
|
const _APpi = "ApiParameters";
|
|
22
22
|
const _AR = "ApiResult";
|
|
23
23
|
const _ARB = "ApiRequestBody";
|
|
24
|
+
const _AS = "AudioSegment";
|
|
24
25
|
const _AT = "AgentTraces";
|
|
25
26
|
const _BCB = "ByteContentBlob";
|
|
26
27
|
const _BCD = "ByteContentDoc";
|
|
@@ -206,8 +207,9 @@ const _IIARn = "InvokeInlineAgentResponse";
|
|
|
206
207
|
const _IIM = "InvocationInputMember";
|
|
207
208
|
const _IIS = "ImageInputSource";
|
|
208
209
|
const _IIm = "ImageInputs";
|
|
209
|
-
const _IIn = "
|
|
210
|
-
const _IInv = "
|
|
210
|
+
const _IIn = "InputImage";
|
|
211
|
+
const _IInv = "InvocationInput";
|
|
212
|
+
const _IInvo = "InvocationInputs";
|
|
211
213
|
const _IP = "InputPrompt";
|
|
212
214
|
const _IRM = "InvocationResultMember";
|
|
213
215
|
const _IS = "InvocationStep";
|
|
@@ -427,6 +429,7 @@ const _USR = "UpdateSessionRequest";
|
|
|
427
429
|
const _USRp = "UpdateSessionResponse";
|
|
428
430
|
const _V = "Verb";
|
|
429
431
|
const _VE = "ValidationException";
|
|
432
|
+
const _VS = "VideoSegment";
|
|
430
433
|
const _VSBRC = "VectorSearchBedrockRerankingConfiguration";
|
|
431
434
|
const _VSBRMC = "VectorSearchBedrockRerankingModelConfiguration";
|
|
432
435
|
const _VSRC = "VectorSearchRerankingConfiguration";
|
|
@@ -459,6 +462,7 @@ const _aS = "apiSchema";
|
|
|
459
462
|
const _aT = "agentTraces";
|
|
460
463
|
const _aV = "agentVersion";
|
|
461
464
|
const _at = "attribution";
|
|
465
|
+
const _au = "audio";
|
|
462
466
|
const _b = "body";
|
|
463
467
|
const _bC = "byteContent";
|
|
464
468
|
const _bGE = "badGatewayException";
|
|
@@ -585,7 +589,8 @@ const _hSC = "httpStatusCode";
|
|
|
585
589
|
const _i = "input";
|
|
586
590
|
const _iA = "inputAssessments";
|
|
587
591
|
const _iC = "inferenceConfig";
|
|
588
|
-
const _iCn = "
|
|
592
|
+
const _iCn = "inlineContent";
|
|
593
|
+
const _iCnf = "inferenceConfiguration";
|
|
589
594
|
const _iDS = "inlineDocumentSource";
|
|
590
595
|
const _iFC = "implicitFilterConfiguration";
|
|
591
596
|
const _iFN = "inputFieldName";
|
|
@@ -783,6 +788,7 @@ const _sSt = "stopSequences";
|
|
|
783
788
|
const _sT = "sourceType";
|
|
784
789
|
const _sTt = "startTime";
|
|
785
790
|
const _sTu = "summaryText";
|
|
791
|
+
const _sU = "s3Uri";
|
|
786
792
|
const _sW = "startsWith";
|
|
787
793
|
const _s_ = "s3";
|
|
788
794
|
const _sc = "score";
|
|
@@ -796,6 +802,7 @@ const _st = "status";
|
|
|
796
802
|
const _sta = "start";
|
|
797
803
|
const _str = "stream";
|
|
798
804
|
const _stre = "streaming";
|
|
805
|
+
const _su = "summary";
|
|
799
806
|
const _t = "text";
|
|
800
807
|
const _tC = "transformationConfiguration";
|
|
801
808
|
const _tD = "textDocument";
|
|
@@ -818,7 +825,8 @@ const _ta = "tags";
|
|
|
818
825
|
const _te = "temperature";
|
|
819
826
|
const _ti = "timestamp";
|
|
820
827
|
const _to = "topics";
|
|
821
|
-
const _tr = "
|
|
828
|
+
const _tr = "transcription";
|
|
829
|
+
const _tra = "trace";
|
|
822
830
|
const _ty = "type";
|
|
823
831
|
const _u = "usage";
|
|
824
832
|
const _uC = "useCase";
|
|
@@ -828,6 +836,7 @@ const _v = "verb";
|
|
|
828
836
|
const _vE = "validationException";
|
|
829
837
|
const _vSC = "vectorSearchConfiguration";
|
|
830
838
|
const _va = "value";
|
|
839
|
+
const _vi = "video";
|
|
831
840
|
const _wL = "webLocation";
|
|
832
841
|
const _wP = "wordPolicy";
|
|
833
842
|
const _xabact = "x-amzn-bedrock-agent-content-type";
|
|
@@ -976,6 +985,7 @@ export var ApiResult = [
|
|
|
976
985
|
[0, 0, [() => ApiPath, 0], 0, 0, 1, () => ResponseBody, 0],
|
|
977
986
|
];
|
|
978
987
|
export var Attribution = [3, n0, _A, 0, [_ci], [[() => Citations, 0]]];
|
|
988
|
+
export var AudioSegment = [3, n0, _AS, 0, [_sU, _tr], [0, 0]];
|
|
979
989
|
export var BadGatewayException = [
|
|
980
990
|
-3,
|
|
981
991
|
n0,
|
|
@@ -1273,7 +1283,7 @@ export var FlowTraceDependencyEvent = [
|
|
|
1273
1283
|
[_nN, _ti, _tE],
|
|
1274
1284
|
[0, 5, [() => TraceElements, 0]],
|
|
1275
1285
|
];
|
|
1276
|
-
export var FlowTraceEvent = [3, n0, _FTE, 0, [
|
|
1286
|
+
export var FlowTraceEvent = [3, n0, _FTE, 0, [_tra], [[() => FlowTrace, 0]]];
|
|
1277
1287
|
export var FlowTraceNodeActionEvent = [
|
|
1278
1288
|
3,
|
|
1279
1289
|
n0,
|
|
@@ -1587,7 +1597,7 @@ export var InlineAgentTracePart = [
|
|
|
1587
1597
|
n0,
|
|
1588
1598
|
_IATP,
|
|
1589
1599
|
8,
|
|
1590
|
-
[_sIe,
|
|
1600
|
+
[_sIe, _tra, _cCa, _eTv, _cN],
|
|
1591
1601
|
[0, [() => Trace, 0], () => CallerChain, 5, [() => Name, 0]],
|
|
1592
1602
|
];
|
|
1593
1603
|
export var InlineBedrockModelConfigurations = [
|
|
@@ -1614,6 +1624,7 @@ export var InlineSessionState = [
|
|
|
1614
1624
|
],
|
|
1615
1625
|
];
|
|
1616
1626
|
export var InputFile = [3, n0, _IF, 0, [_n, _sou, _uC], [0, [() => FileSource, 0], 0]];
|
|
1627
|
+
export var InputImage = [3, n0, _IIn, 0, [_fo, _iCn], [0, [() => ByteContentBlob, 0]]];
|
|
1617
1628
|
export var InternalServerException = [
|
|
1618
1629
|
-3,
|
|
1619
1630
|
n0,
|
|
@@ -1629,7 +1640,7 @@ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerExce
|
|
|
1629
1640
|
export var InvocationInput = [
|
|
1630
1641
|
3,
|
|
1631
1642
|
n0,
|
|
1632
|
-
|
|
1643
|
+
_IInv,
|
|
1633
1644
|
8,
|
|
1634
1645
|
[_tI, _iT, _aGII, _kBLI, _cIII, _aCII],
|
|
1635
1646
|
[
|
|
@@ -1843,7 +1854,7 @@ export var KnowledgeBaseLookupOutput = [
|
|
|
1843
1854
|
[() => Metadata, 0],
|
|
1844
1855
|
],
|
|
1845
1856
|
];
|
|
1846
|
-
export var KnowledgeBaseQuery = [3, n0, _KBQ, 8, [_t], [0]];
|
|
1857
|
+
export var KnowledgeBaseQuery = [3, n0, _KBQ, 8, [_ty, _t, _ima], [0, 0, [() => InputImage, 0]]];
|
|
1847
1858
|
export var KnowledgeBaseRetrievalConfiguration = [
|
|
1848
1859
|
3,
|
|
1849
1860
|
n0,
|
|
@@ -2078,7 +2089,7 @@ export var ModelInvocationInput = [
|
|
|
2078
2089
|
n0,
|
|
2079
2090
|
_MII,
|
|
2080
2091
|
8,
|
|
2081
|
-
[_tI, _t, _ty, _oL, _pCM,
|
|
2092
|
+
[_tI, _t, _ty, _oL, _pCM, _iCnf, _pM, _fM],
|
|
2082
2093
|
[0, [() => PromptText, 0], 0, 0, 0, () => InferenceConfiguration, 0, 0],
|
|
2083
2094
|
];
|
|
2084
2095
|
export var ModelNotReadyException = [
|
|
@@ -2266,7 +2277,7 @@ export var PromptConfiguration = [
|
|
|
2266
2277
|
n0,
|
|
2267
2278
|
_PCr,
|
|
2268
2279
|
0,
|
|
2269
|
-
[_pTr, _pCM, _pS, _bPT,
|
|
2280
|
+
[_pTr, _pCM, _pS, _bPT, _iCnf, _pM, _fM, _aMRF],
|
|
2270
2281
|
[0, 0, 0, [() => BasePromptTemplate, 0], () => InferenceConfiguration, 0, 0, 15],
|
|
2271
2282
|
];
|
|
2272
2283
|
export var PromptCreationConfigurations = [3, n0, _PCC, 0, [_pCTTI, _ePTS], [1, 2]];
|
|
@@ -2350,8 +2361,8 @@ export var RetrievalResultContent = [
|
|
|
2350
2361
|
n0,
|
|
2351
2362
|
_RRC,
|
|
2352
2363
|
8,
|
|
2353
|
-
[_ty, _t, _bC, _row],
|
|
2354
|
-
[0, 0, 0, [() => RetrievalResultContentRow, 0]],
|
|
2364
|
+
[_ty, _t, _bC, _vi, _au, _row],
|
|
2365
|
+
[0, 0, 0, () => VideoSegment, () => AudioSegment, [() => RetrievalResultContentRow, 0]],
|
|
2355
2366
|
];
|
|
2356
2367
|
export var RetrievalResultContentColumn = [3, n0, _RRCC, 8, [_cNol, _cV, _ty], [0, 0, 0]];
|
|
2357
2368
|
export var RetrievalResultCustomDocumentLocation = [3, n0, _RRCDL, 0, [_id_], [0]];
|
|
@@ -2592,7 +2603,7 @@ export var TracePart = [
|
|
|
2592
2603
|
n0,
|
|
2593
2604
|
_TPr,
|
|
2594
2605
|
8,
|
|
2595
|
-
[_sIe,
|
|
2606
|
+
[_sIe, _tra, _cCa, _eTv, _cN, _aI, _aAI, _aV],
|
|
2596
2607
|
[0, [() => Trace, 0], () => CallerChain, 5, [() => Name, 0], 0, 0, 0],
|
|
2597
2608
|
];
|
|
2598
2609
|
export var TransformationConfiguration = [
|
|
@@ -2666,6 +2677,7 @@ export var VectorSearchRerankingConfiguration = [
|
|
|
2666
2677
|
[_ty, _bRC],
|
|
2667
2678
|
[0, [() => VectorSearchBedrockRerankingConfiguration, 0]],
|
|
2668
2679
|
];
|
|
2680
|
+
export var VideoSegment = [3, n0, _VS, 0, [_sU, _su], [0, 0]];
|
|
2669
2681
|
export var __Unit = "unit";
|
|
2670
2682
|
export var BedrockAgentRuntimeServiceException = [
|
|
2671
2683
|
-3,
|
|
@@ -2717,7 +2729,7 @@ export var GuardrailRegexFilterList = [1, n0, _GRFL, 8, [() => GuardrailRegexFil
|
|
|
2717
2729
|
export var GuardrailTopicList = [1, n0, _GTL, 8, [() => GuardrailTopic, 0]];
|
|
2718
2730
|
export var ImageInputs = [1, n0, _IIm, 0, () => ImageInput];
|
|
2719
2731
|
export var InputFiles = [1, n0, _IFn, 0, [() => InputFile, 0]];
|
|
2720
|
-
export var InvocationInputs = [1, n0,
|
|
2732
|
+
export var InvocationInputs = [1, n0, _IInvo, 0, [() => InvocationInputMember, 0]];
|
|
2721
2733
|
export var InvocationStepSummaries = [1, n0, _ISSnv, 0, () => InvocationStepSummary];
|
|
2722
2734
|
export var InvocationSummaries = [1, n0, _ISnv, 0, () => InvocationSummary];
|
|
2723
2735
|
export var KnowledgeBaseConfigurations = [1, n0, _KBCn, 0, [() => KnowledgeBaseConfiguration, 0]];
|
|
@@ -2840,7 +2852,7 @@ export var InlineAgentResponseStream = [
|
|
|
2840
2852
|
{
|
|
2841
2853
|
[_stre]: 1,
|
|
2842
2854
|
},
|
|
2843
|
-
[_ch,
|
|
2855
|
+
[_ch, _tra, _rCet, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cE, _dFE, _bGE, _fi],
|
|
2844
2856
|
[
|
|
2845
2857
|
[() => InlineAgentPayloadPart, 0],
|
|
2846
2858
|
[() => InlineAgentTracePart, 0],
|
|
@@ -2971,7 +2983,7 @@ export var ResponseStream = [
|
|
|
2971
2983
|
{
|
|
2972
2984
|
[_stre]: 1,
|
|
2973
2985
|
},
|
|
2974
|
-
[_ch,
|
|
2986
|
+
[_ch, _tra, _rCet, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cE, _dFE, _bGE, _mNRE, _fi],
|
|
2975
2987
|
[
|
|
2976
2988
|
[() => PayloadPart, 0],
|
|
2977
2989
|
[() => TracePart, 0],
|
|
@@ -263,9 +263,17 @@ declare const InvokeAgentCommand_base: {
|
|
|
263
263
|
* // retrievedReferences: [ // RetrievedReferences
|
|
264
264
|
* // { // RetrievedReference
|
|
265
265
|
* // content: { // RetrievalResultContent
|
|
266
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
266
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
267
267
|
* // text: "STRING_VALUE",
|
|
268
268
|
* // byteContent: "STRING_VALUE",
|
|
269
|
+
* // video: { // VideoSegment
|
|
270
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
271
|
+
* // summary: "STRING_VALUE",
|
|
272
|
+
* // },
|
|
273
|
+
* // audio: { // AudioSegment
|
|
274
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
275
|
+
* // transcription: "STRING_VALUE",
|
|
276
|
+
* // },
|
|
269
277
|
* // row: [ // RetrievalResultContentRow
|
|
270
278
|
* // { // RetrievalResultContentColumn
|
|
271
279
|
* // columnName: "STRING_VALUE",
|
|
@@ -651,9 +659,17 @@ declare const InvokeAgentCommand_base: {
|
|
|
651
659
|
* // retrievedReferences: [
|
|
652
660
|
* // {
|
|
653
661
|
* // content: {
|
|
654
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
662
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
655
663
|
* // text: "STRING_VALUE",
|
|
656
664
|
* // byteContent: "STRING_VALUE",
|
|
665
|
+
* // video: {
|
|
666
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
667
|
+
* // summary: "STRING_VALUE",
|
|
668
|
+
* // },
|
|
669
|
+
* // audio: {
|
|
670
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
671
|
+
* // transcription: "STRING_VALUE",
|
|
672
|
+
* // },
|
|
657
673
|
* // row: [
|
|
658
674
|
* // {
|
|
659
675
|
* // columnName: "STRING_VALUE",
|
|
@@ -939,9 +955,17 @@ declare const InvokeAgentCommand_base: {
|
|
|
939
955
|
* // retrievedReferences: [
|
|
940
956
|
* // {
|
|
941
957
|
* // content: {
|
|
942
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
958
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
943
959
|
* // text: "STRING_VALUE",
|
|
944
960
|
* // byteContent: "STRING_VALUE",
|
|
961
|
+
* // video: {
|
|
962
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
963
|
+
* // summary: "STRING_VALUE",
|
|
964
|
+
* // },
|
|
965
|
+
* // audio: {
|
|
966
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
967
|
+
* // transcription: "STRING_VALUE",
|
|
968
|
+
* // },
|
|
945
969
|
* // row: [
|
|
946
970
|
* // {
|
|
947
971
|
* // columnName: "STRING_VALUE",
|
|
@@ -482,9 +482,17 @@ declare const InvokeFlowCommand_base: {
|
|
|
482
482
|
* // retrievedReferences: [ // RetrievedReferences
|
|
483
483
|
* // { // RetrievedReference
|
|
484
484
|
* // content: { // RetrievalResultContent
|
|
485
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
485
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
486
486
|
* // text: "STRING_VALUE",
|
|
487
487
|
* // byteContent: "STRING_VALUE",
|
|
488
|
+
* // video: { // VideoSegment
|
|
489
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
490
|
+
* // summary: "STRING_VALUE",
|
|
491
|
+
* // },
|
|
492
|
+
* // audio: { // AudioSegment
|
|
493
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
494
|
+
* // transcription: "STRING_VALUE",
|
|
495
|
+
* // },
|
|
488
496
|
* // row: [ // RetrievalResultContentRow
|
|
489
497
|
* // { // RetrievalResultContentColumn
|
|
490
498
|
* // columnName: "STRING_VALUE",
|
|
@@ -770,9 +778,17 @@ declare const InvokeFlowCommand_base: {
|
|
|
770
778
|
* // retrievedReferences: [
|
|
771
779
|
* // {
|
|
772
780
|
* // content: {
|
|
773
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
781
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
774
782
|
* // text: "STRING_VALUE",
|
|
775
783
|
* // byteContent: "STRING_VALUE",
|
|
784
|
+
* // video: {
|
|
785
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
786
|
+
* // summary: "STRING_VALUE",
|
|
787
|
+
* // },
|
|
788
|
+
* // audio: {
|
|
789
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
790
|
+
* // transcription: "STRING_VALUE",
|
|
791
|
+
* // },
|
|
776
792
|
* // row: [
|
|
777
793
|
* // {
|
|
778
794
|
* // columnName: "STRING_VALUE",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import {
|
|
4
|
+
import { InvokeInlineAgentResponse } from "../models/models_0";
|
|
5
|
+
import { InvokeInlineAgentRequest } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -476,9 +477,17 @@ declare const InvokeInlineAgentCommand_base: {
|
|
|
476
477
|
* // retrievedReferences: [ // RetrievedReferences
|
|
477
478
|
* // { // RetrievedReference
|
|
478
479
|
* // content: { // RetrievalResultContent
|
|
479
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
480
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
480
481
|
* // text: "STRING_VALUE",
|
|
481
482
|
* // byteContent: "STRING_VALUE",
|
|
483
|
+
* // video: { // VideoSegment
|
|
484
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
485
|
+
* // summary: "STRING_VALUE",
|
|
486
|
+
* // },
|
|
487
|
+
* // audio: { // AudioSegment
|
|
488
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
489
|
+
* // transcription: "STRING_VALUE",
|
|
490
|
+
* // },
|
|
482
491
|
* // row: [ // RetrievalResultContentRow
|
|
483
492
|
* // { // RetrievalResultContentColumn
|
|
484
493
|
* // columnName: "STRING_VALUE",
|
|
@@ -864,9 +873,17 @@ declare const InvokeInlineAgentCommand_base: {
|
|
|
864
873
|
* // retrievedReferences: [
|
|
865
874
|
* // {
|
|
866
875
|
* // content: {
|
|
867
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
876
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
868
877
|
* // text: "STRING_VALUE",
|
|
869
878
|
* // byteContent: "STRING_VALUE",
|
|
879
|
+
* // video: {
|
|
880
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
881
|
+
* // summary: "STRING_VALUE",
|
|
882
|
+
* // },
|
|
883
|
+
* // audio: {
|
|
884
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
885
|
+
* // transcription: "STRING_VALUE",
|
|
886
|
+
* // },
|
|
870
887
|
* // row: [
|
|
871
888
|
* // {
|
|
872
889
|
* // columnName: "STRING_VALUE",
|
|
@@ -1152,9 +1169,17 @@ declare const InvokeInlineAgentCommand_base: {
|
|
|
1152
1169
|
* // retrievedReferences: [
|
|
1153
1170
|
* // {
|
|
1154
1171
|
* // content: {
|
|
1155
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
1172
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
1156
1173
|
* // text: "STRING_VALUE",
|
|
1157
1174
|
* // byteContent: "STRING_VALUE",
|
|
1175
|
+
* // video: {
|
|
1176
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
1177
|
+
* // summary: "STRING_VALUE",
|
|
1178
|
+
* // },
|
|
1179
|
+
* // audio: {
|
|
1180
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
1181
|
+
* // transcription: "STRING_VALUE",
|
|
1182
|
+
* // },
|
|
1158
1183
|
* // row: [
|
|
1159
1184
|
* // {
|
|
1160
1185
|
* // columnName: "STRING_VALUE",
|
|
@@ -493,9 +493,17 @@ declare const ListFlowExecutionEventsCommand_base: {
|
|
|
493
493
|
* // retrievedReferences: [ // RetrievedReferences
|
|
494
494
|
* // { // RetrievedReference
|
|
495
495
|
* // content: { // RetrievalResultContent
|
|
496
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
496
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
497
497
|
* // text: "STRING_VALUE",
|
|
498
498
|
* // byteContent: "STRING_VALUE",
|
|
499
|
+
* // video: { // VideoSegment
|
|
500
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
501
|
+
* // summary: "STRING_VALUE",
|
|
502
|
+
* // },
|
|
503
|
+
* // audio: { // AudioSegment
|
|
504
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
505
|
+
* // transcription: "STRING_VALUE",
|
|
506
|
+
* // },
|
|
499
507
|
* // row: [ // RetrievalResultContentRow
|
|
500
508
|
* // { // RetrievalResultContentColumn
|
|
501
509
|
* // columnName: "STRING_VALUE",
|
|
@@ -781,9 +789,17 @@ declare const ListFlowExecutionEventsCommand_base: {
|
|
|
781
789
|
* // retrievedReferences: [
|
|
782
790
|
* // {
|
|
783
791
|
* // content: {
|
|
784
|
-
* // type: "TEXT" || "IMAGE" || "ROW",
|
|
792
|
+
* // type: "TEXT" || "IMAGE" || "ROW" || "AUDIO" || "VIDEO",
|
|
785
793
|
* // text: "STRING_VALUE",
|
|
786
794
|
* // byteContent: "STRING_VALUE",
|
|
795
|
+
* // video: {
|
|
796
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
797
|
+
* // summary: "STRING_VALUE",
|
|
798
|
+
* // },
|
|
799
|
+
* // audio: {
|
|
800
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
801
|
+
* // transcription: "STRING_VALUE",
|
|
802
|
+
* // },
|
|
787
803
|
* // row: [
|
|
788
804
|
* // {
|
|
789
805
|
* // columnName: "STRING_VALUE",
|