@aws-sdk/client-bedrock-agent-runtime 3.1141.0 → 3.1143.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 +20 -3
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +16 -2
- package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +7 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +32 -34
- package/dist-types/models/models_1.d.ts +35 -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 -8
- package/dist-types/ts3.4/models/models_1.d.ts +11 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
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.1142.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -599,6 +599,8 @@ const _M = "Message";
|
|
|
599
599
|
const _MAS = "MetadataAttributeSchema";
|
|
600
600
|
const _MASL = "MetadataAttributeSchemaList";
|
|
601
601
|
const _MCFR = "MetadataConfigurationForReranking";
|
|
602
|
+
const _MFMC = "MantleFoundationModelConfiguration";
|
|
603
|
+
const _MFMMC = "MantleFoundationModelModelConfiguration";
|
|
602
604
|
const _MII = "ModelInvocationInput";
|
|
603
605
|
const _MNRE = "ModelNotReadyException";
|
|
604
606
|
const _MPC = "ModelPerformanceConfiguration";
|
|
@@ -1027,6 +1029,7 @@ const _mCe = "memoryConfiguration";
|
|
|
1027
1029
|
const _mCem = "memoryContents";
|
|
1028
1030
|
const _mCet = "metadataConfiguration";
|
|
1029
1031
|
const _mF = "metadataFilters";
|
|
1032
|
+
const _mFMC = "mantleFoundationModelConfiguration";
|
|
1030
1033
|
const _mI = "memoryId";
|
|
1031
1034
|
const _mII = "modelInvocationInput";
|
|
1032
1035
|
const _mIO = "modelInvocationOutput";
|
|
@@ -1103,6 +1106,7 @@ const _pCTTI = "previousConversationTurnsToInclude";
|
|
|
1103
1106
|
const _pCe = "performanceConfig";
|
|
1104
1107
|
const _pCr = "promptConfigurations";
|
|
1105
1108
|
const _pE = "piiEntities";
|
|
1109
|
+
const _pI = "projectId";
|
|
1106
1110
|
const _pM = "persistenceMode";
|
|
1107
1111
|
const _pMa = "parserMode";
|
|
1108
1112
|
const _pOC = "promptOverrideConfiguration";
|
|
@@ -1948,8 +1952,8 @@ var FlowTraceNodeOutputNext$ = [3, n0, _FTNON,
|
|
|
1948
1952
|
];
|
|
1949
1953
|
var FoundationModelConfiguration$ = [3, n0, _FMC,
|
|
1950
1954
|
0,
|
|
1951
|
-
[_ty, _bFMC],
|
|
1952
|
-
[0, () => BedrockFoundationModelConfiguration$], 1
|
|
1955
|
+
[_ty, _bFMC, _mFMC],
|
|
1956
|
+
[0, () => BedrockFoundationModelConfiguration$, () => MantleFoundationModelConfiguration$], 1
|
|
1953
1957
|
];
|
|
1954
1958
|
var FunctionDefinition$ = [3, n0, _FD,
|
|
1955
1959
|
0,
|
|
@@ -2386,6 +2390,16 @@ var ManagedSearchRerankingConfiguration$ = [3, n0, _MSRC,
|
|
|
2386
2390
|
[_ty, _bRC],
|
|
2387
2391
|
[0, [() => ManagedSearchBedrockRerankingConfiguration$, 0]], 1
|
|
2388
2392
|
];
|
|
2393
|
+
var MantleFoundationModelConfiguration$ = [3, n0, _MFMC,
|
|
2394
|
+
0,
|
|
2395
|
+
[_mC],
|
|
2396
|
+
[() => MantleFoundationModelModelConfiguration$], 1
|
|
2397
|
+
];
|
|
2398
|
+
var MantleFoundationModelModelConfiguration$ = [3, n0, _MFMMC,
|
|
2399
|
+
0,
|
|
2400
|
+
[_mA, _pI],
|
|
2401
|
+
[0, 0], 1
|
|
2402
|
+
];
|
|
2389
2403
|
var MemorySessionSummary$ = [3, n0, _MSS,
|
|
2390
2404
|
0,
|
|
2391
2405
|
[_mI, _sIe, _sST, _sET, _sTu],
|
|
@@ -3972,6 +3986,7 @@ const PayloadType = {
|
|
|
3972
3986
|
};
|
|
3973
3987
|
const FoundationModelConfigurationType = {
|
|
3974
3988
|
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
3989
|
+
MANTLE_FOUNDATION_MODEL: "MANTLE_FOUNDATION_MODEL",
|
|
3975
3990
|
};
|
|
3976
3991
|
const FoundationModelType = {
|
|
3977
3992
|
CUSTOM: "CUSTOM",
|
|
@@ -4672,6 +4687,8 @@ exports.ManagedSearchBedrockRerankingModelConfiguration$ = ManagedSearchBedrockR
|
|
|
4672
4687
|
exports.ManagedSearchConfiguration$ = ManagedSearchConfiguration$;
|
|
4673
4688
|
exports.ManagedSearchRerankingConfiguration$ = ManagedSearchRerankingConfiguration$;
|
|
4674
4689
|
exports.ManagedSearchRerankingConfigurationType = ManagedSearchRerankingConfigurationType;
|
|
4690
|
+
exports.MantleFoundationModelConfiguration$ = MantleFoundationModelConfiguration$;
|
|
4691
|
+
exports.MantleFoundationModelModelConfiguration$ = MantleFoundationModelModelConfiguration$;
|
|
4675
4692
|
exports.Memory$ = Memory$;
|
|
4676
4693
|
exports.MemorySessionSummary$ = MemorySessionSummary$;
|
|
4677
4694
|
exports.MemoryType = MemoryType;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -53,6 +53,7 @@ export const PayloadType = {
|
|
|
53
53
|
};
|
|
54
54
|
export const FoundationModelConfigurationType = {
|
|
55
55
|
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
56
|
+
MANTLE_FOUNDATION_MODEL: "MANTLE_FOUNDATION_MODEL",
|
|
56
57
|
};
|
|
57
58
|
export const FoundationModelType = {
|
|
58
59
|
CUSTOM: "CUSTOM",
|
|
@@ -331,6 +331,8 @@ const _M = "Message";
|
|
|
331
331
|
const _MAS = "MetadataAttributeSchema";
|
|
332
332
|
const _MASL = "MetadataAttributeSchemaList";
|
|
333
333
|
const _MCFR = "MetadataConfigurationForReranking";
|
|
334
|
+
const _MFMC = "MantleFoundationModelConfiguration";
|
|
335
|
+
const _MFMMC = "MantleFoundationModelModelConfiguration";
|
|
334
336
|
const _MII = "ModelInvocationInput";
|
|
335
337
|
const _MNRE = "ModelNotReadyException";
|
|
336
338
|
const _MPC = "ModelPerformanceConfiguration";
|
|
@@ -759,6 +761,7 @@ const _mCe = "memoryConfiguration";
|
|
|
759
761
|
const _mCem = "memoryContents";
|
|
760
762
|
const _mCet = "metadataConfiguration";
|
|
761
763
|
const _mF = "metadataFilters";
|
|
764
|
+
const _mFMC = "mantleFoundationModelConfiguration";
|
|
762
765
|
const _mI = "memoryId";
|
|
763
766
|
const _mII = "modelInvocationInput";
|
|
764
767
|
const _mIO = "modelInvocationOutput";
|
|
@@ -835,6 +838,7 @@ const _pCTTI = "previousConversationTurnsToInclude";
|
|
|
835
838
|
const _pCe = "performanceConfig";
|
|
836
839
|
const _pCr = "promptConfigurations";
|
|
837
840
|
const _pE = "piiEntities";
|
|
841
|
+
const _pI = "projectId";
|
|
838
842
|
const _pM = "persistenceMode";
|
|
839
843
|
const _pMa = "parserMode";
|
|
840
844
|
const _pOC = "promptOverrideConfiguration";
|
|
@@ -1683,8 +1687,8 @@ export var FlowTraceNodeOutputNext$ = [3, n0, _FTNON,
|
|
|
1683
1687
|
];
|
|
1684
1688
|
export var FoundationModelConfiguration$ = [3, n0, _FMC,
|
|
1685
1689
|
0,
|
|
1686
|
-
[_ty, _bFMC],
|
|
1687
|
-
[0, () => BedrockFoundationModelConfiguration$], 1
|
|
1690
|
+
[_ty, _bFMC, _mFMC],
|
|
1691
|
+
[0, () => BedrockFoundationModelConfiguration$, () => MantleFoundationModelConfiguration$], 1
|
|
1688
1692
|
];
|
|
1689
1693
|
export var FunctionDefinition$ = [3, n0, _FD,
|
|
1690
1694
|
0,
|
|
@@ -2121,6 +2125,16 @@ export var ManagedSearchRerankingConfiguration$ = [3, n0, _MSRC,
|
|
|
2121
2125
|
[_ty, _bRC],
|
|
2122
2126
|
[0, [() => ManagedSearchBedrockRerankingConfiguration$, 0]], 1
|
|
2123
2127
|
];
|
|
2128
|
+
export var MantleFoundationModelConfiguration$ = [3, n0, _MFMC,
|
|
2129
|
+
0,
|
|
2130
|
+
[_mC],
|
|
2131
|
+
[() => MantleFoundationModelModelConfiguration$], 1
|
|
2132
|
+
];
|
|
2133
|
+
export var MantleFoundationModelModelConfiguration$ = [3, n0, _MFMMC,
|
|
2134
|
+
0,
|
|
2135
|
+
[_mA, _pI],
|
|
2136
|
+
[0, 0], 1
|
|
2137
|
+
];
|
|
2124
2138
|
export var MemorySessionSummary$ = [3, n0, _MSS,
|
|
2125
2139
|
0,
|
|
2126
2140
|
[_mI, _sIe, _sST, _sET, _sTu],
|
|
@@ -111,12 +111,18 @@ declare const AgenticRetrieveStreamCommand_base: {
|
|
|
111
111
|
* agenticRetrieveConfiguration: { // AgenticRetrieveConfiguration
|
|
112
112
|
* foundationModelType: "CUSTOM" || "MANAGED",
|
|
113
113
|
* foundationModelConfiguration: { // FoundationModelConfiguration
|
|
114
|
-
* type: "BEDROCK_FOUNDATION_MODEL", // required
|
|
114
|
+
* type: "BEDROCK_FOUNDATION_MODEL" || "MANTLE_FOUNDATION_MODEL", // required
|
|
115
115
|
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
116
116
|
* modelConfiguration: { // BedrockFoundationModelModelConfiguration
|
|
117
117
|
* modelArn: "STRING_VALUE", // required
|
|
118
118
|
* },
|
|
119
119
|
* },
|
|
120
|
+
* mantleFoundationModelConfiguration: { // MantleFoundationModelConfiguration
|
|
121
|
+
* modelConfiguration: { // MantleFoundationModelModelConfiguration
|
|
122
|
+
* modelArn: "STRING_VALUE", // required
|
|
123
|
+
* projectId: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
120
126
|
* },
|
|
121
127
|
* rerankingModelType: "CUSTOM" || "MANAGED" || "NONE",
|
|
122
128
|
* rerankingConfiguration: { // AgenticRetrieveRerankingConfiguration
|
|
@@ -145,6 +145,7 @@ export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
|
|
|
145
145
|
*/
|
|
146
146
|
export declare const FoundationModelConfigurationType: {
|
|
147
147
|
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
148
|
+
readonly MANTLE_FOUNDATION_MODEL: "MANTLE_FOUNDATION_MODEL";
|
|
148
149
|
};
|
|
149
150
|
/**
|
|
150
151
|
* @public
|
|
@@ -1076,6 +1076,33 @@ export interface BedrockFoundationModelConfiguration {
|
|
|
1076
1076
|
*/
|
|
1077
1077
|
modelConfiguration: BedrockFoundationModelModelConfiguration | undefined;
|
|
1078
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>Model configuration for a Mantle foundation model.</p>
|
|
1081
|
+
* @public
|
|
1082
|
+
*/
|
|
1083
|
+
export interface MantleFoundationModelModelConfiguration {
|
|
1084
|
+
/**
|
|
1085
|
+
* <p>The ARN of the Mantle foundation model.</p>
|
|
1086
|
+
* @public
|
|
1087
|
+
*/
|
|
1088
|
+
modelArn: string | undefined;
|
|
1089
|
+
/**
|
|
1090
|
+
* <p>The Amazon Bedrock project ID used for billing and usage attribution. If you don't specify a value, the service uses the default project.</p>
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
1093
|
+
projectId?: string | undefined;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* <p>Configuration for a Mantle foundation model.</p>
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
export interface MantleFoundationModelConfiguration {
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>The model configuration containing the model ARN and project ID.</p>
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
modelConfiguration: MantleFoundationModelModelConfiguration | undefined;
|
|
1105
|
+
}
|
|
1079
1106
|
/**
|
|
1080
1107
|
* <p>Configuration for the foundation model.</p>
|
|
1081
1108
|
* @public
|
|
@@ -1091,6 +1118,11 @@ export interface FoundationModelConfiguration {
|
|
|
1091
1118
|
* @public
|
|
1092
1119
|
*/
|
|
1093
1120
|
bedrockFoundationModelConfiguration?: BedrockFoundationModelConfiguration | undefined;
|
|
1121
|
+
/**
|
|
1122
|
+
* <p>The Mantle foundation model configuration.</p>
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
mantleFoundationModelConfiguration?: MantleFoundationModelConfiguration | undefined;
|
|
1094
1126
|
}
|
|
1095
1127
|
/**
|
|
1096
1128
|
* <p>Configuration for the reranking model.</p>
|
|
@@ -8232,37 +8264,3 @@ export interface RetrieveAndGenerateResponse {
|
|
|
8232
8264
|
*/
|
|
8233
8265
|
guardrailAction?: GuadrailAction | undefined;
|
|
8234
8266
|
}
|
|
8235
|
-
/**
|
|
8236
|
-
* <p>A citation event.</p>
|
|
8237
|
-
* @public
|
|
8238
|
-
*/
|
|
8239
|
-
export interface CitationEvent {
|
|
8240
|
-
/**
|
|
8241
|
-
* <p>The citation.</p>
|
|
8242
|
-
*
|
|
8243
|
-
* @deprecated (since 2024-12-17) Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.
|
|
8244
|
-
* @public
|
|
8245
|
-
*/
|
|
8246
|
-
citation?: Citation | undefined;
|
|
8247
|
-
/**
|
|
8248
|
-
* <p>The generated response to the citation event.</p>
|
|
8249
|
-
* @public
|
|
8250
|
-
*/
|
|
8251
|
-
generatedResponsePart?: GeneratedResponsePart | undefined;
|
|
8252
|
-
/**
|
|
8253
|
-
* <p>The retrieved references of the citation event.</p>
|
|
8254
|
-
* @public
|
|
8255
|
-
*/
|
|
8256
|
-
retrievedReferences?: RetrievedReference[] | undefined;
|
|
8257
|
-
}
|
|
8258
|
-
/**
|
|
8259
|
-
* <p>A guardrail event.</p>
|
|
8260
|
-
* @public
|
|
8261
|
-
*/
|
|
8262
|
-
export interface GuardrailEvent {
|
|
8263
|
-
/**
|
|
8264
|
-
* <p>The guardrail action.</p>
|
|
8265
|
-
* @public
|
|
8266
|
-
*/
|
|
8267
|
-
action?: GuadrailAction | undefined;
|
|
8268
|
-
}
|
|
@@ -1,7 +1,41 @@
|
|
|
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, AgenticRetrieveMemoryConfiguration, AgenticRetrieveMessage, AgenticRetrievePolicyConfiguration, BedrockModelConfigurations,
|
|
4
|
+
import type { AgentActionGroup, AgenticRetrieveConfiguration, AgenticRetrieveMemoryConfiguration, AgenticRetrieveMessage, AgenticRetrievePolicyConfiguration, BedrockModelConfigurations, Citation, CollaboratorConfiguration, ConversationHistory, CustomOrchestration, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GeneratedResponsePart, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, ManagedSearchRerankingConfiguration, OrchestrationConfiguration, PromptCreationConfigurations, PromptOverrideConfiguration, RetrievalResultContent, RetrievalResultLocation, RetrieveAndGenerateInput, RetrieveAndGenerateSessionConfiguration, RetrievedReference, StreamingConfigurations, UserContext, VectorSearchRerankingConfiguration } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>A citation event.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface CitationEvent {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The citation.</p>
|
|
12
|
+
*
|
|
13
|
+
* @deprecated (since 2024-12-17) Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event.
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
citation?: Citation | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The generated response to the citation event.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
generatedResponsePart?: GeneratedResponsePart | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The retrieved references of the citation event.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
retrievedReferences?: RetrievedReference[] | undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>A guardrail event.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export interface GuardrailEvent {
|
|
33
|
+
/**
|
|
34
|
+
* <p>The guardrail action.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
action?: GuadrailAction | undefined;
|
|
38
|
+
}
|
|
5
39
|
/**
|
|
6
40
|
* <p>A retrieve and generate output event.</p>
|
|
7
41
|
* @public
|
|
@@ -220,6 +220,8 @@ export declare var ManagedSearchBedrockRerankingConfiguration$: StaticStructureS
|
|
|
220
220
|
export declare var ManagedSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
|
|
221
221
|
export declare var ManagedSearchConfiguration$: StaticStructureSchema;
|
|
222
222
|
export declare var ManagedSearchRerankingConfiguration$: StaticStructureSchema;
|
|
223
|
+
export declare var MantleFoundationModelConfiguration$: StaticStructureSchema;
|
|
224
|
+
export declare var MantleFoundationModelModelConfiguration$: StaticStructureSchema;
|
|
223
225
|
export declare var MemorySessionSummary$: StaticStructureSchema;
|
|
224
226
|
export declare var Message$: StaticStructureSchema;
|
|
225
227
|
export declare var Metadata$: StaticStructureSchema;
|
|
@@ -64,6 +64,7 @@ export declare const PayloadType: {
|
|
|
64
64
|
export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
|
|
65
65
|
export declare const FoundationModelConfigurationType: {
|
|
66
66
|
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
67
|
+
readonly MANTLE_FOUNDATION_MODEL: "MANTLE_FOUNDATION_MODEL";
|
|
67
68
|
};
|
|
68
69
|
export type FoundationModelConfigurationType =
|
|
69
70
|
(typeof FoundationModelConfigurationType)[keyof typeof FoundationModelConfigurationType];
|
|
@@ -413,9 +413,17 @@ export interface BedrockFoundationModelModelConfiguration {
|
|
|
413
413
|
export interface BedrockFoundationModelConfiguration {
|
|
414
414
|
modelConfiguration: BedrockFoundationModelModelConfiguration | undefined;
|
|
415
415
|
}
|
|
416
|
+
export interface MantleFoundationModelModelConfiguration {
|
|
417
|
+
modelArn: string | undefined;
|
|
418
|
+
projectId?: string | undefined;
|
|
419
|
+
}
|
|
420
|
+
export interface MantleFoundationModelConfiguration {
|
|
421
|
+
modelConfiguration: MantleFoundationModelModelConfiguration | undefined;
|
|
422
|
+
}
|
|
416
423
|
export interface FoundationModelConfiguration {
|
|
417
424
|
type: FoundationModelConfigurationType | undefined;
|
|
418
425
|
bedrockFoundationModelConfiguration?: BedrockFoundationModelConfiguration | undefined;
|
|
426
|
+
mantleFoundationModelConfiguration?: MantleFoundationModelConfiguration | undefined;
|
|
419
427
|
}
|
|
420
428
|
export interface AgenticRetrieveRerankingConfiguration {
|
|
421
429
|
type: AgenticRetrieveRerankingConfigurationType | undefined;
|
|
@@ -3489,11 +3497,3 @@ export interface RetrieveAndGenerateResponse {
|
|
|
3489
3497
|
citations?: Citation[] | undefined;
|
|
3490
3498
|
guardrailAction?: GuadrailAction | undefined;
|
|
3491
3499
|
}
|
|
3492
|
-
export interface CitationEvent {
|
|
3493
|
-
citation?: Citation | undefined;
|
|
3494
|
-
generatedResponsePart?: GeneratedResponsePart | undefined;
|
|
3495
|
-
retrievedReferences?: RetrievedReference[] | undefined;
|
|
3496
|
-
}
|
|
3497
|
-
export interface GuardrailEvent {
|
|
3498
|
-
action?: GuadrailAction | undefined;
|
|
3499
|
-
}
|
|
@@ -29,16 +29,16 @@ import {
|
|
|
29
29
|
AgenticRetrieveMessage,
|
|
30
30
|
AgenticRetrievePolicyConfiguration,
|
|
31
31
|
BedrockModelConfigurations,
|
|
32
|
-
|
|
32
|
+
Citation,
|
|
33
33
|
CollaboratorConfiguration,
|
|
34
34
|
ConversationHistory,
|
|
35
35
|
CustomOrchestration,
|
|
36
36
|
ExternalSourcesRetrieveAndGenerateConfiguration,
|
|
37
37
|
FilterAttribute,
|
|
38
|
+
GeneratedResponsePart,
|
|
38
39
|
GenerationConfiguration,
|
|
39
40
|
GuardrailConfiguration,
|
|
40
41
|
GuardrailConfigurationWithArn,
|
|
41
|
-
GuardrailEvent,
|
|
42
42
|
ImplicitFilterConfiguration,
|
|
43
43
|
InlineBedrockModelConfigurations,
|
|
44
44
|
InlineSessionState,
|
|
@@ -52,10 +52,19 @@ import {
|
|
|
52
52
|
RetrievalResultLocation,
|
|
53
53
|
RetrieveAndGenerateInput,
|
|
54
54
|
RetrieveAndGenerateSessionConfiguration,
|
|
55
|
+
RetrievedReference,
|
|
55
56
|
StreamingConfigurations,
|
|
56
57
|
UserContext,
|
|
57
58
|
VectorSearchRerankingConfiguration,
|
|
58
59
|
} from "./models_0";
|
|
60
|
+
export interface CitationEvent {
|
|
61
|
+
citation?: Citation | undefined;
|
|
62
|
+
generatedResponsePart?: GeneratedResponsePart | undefined;
|
|
63
|
+
retrievedReferences?: RetrievedReference[] | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface GuardrailEvent {
|
|
66
|
+
action?: GuadrailAction | undefined;
|
|
67
|
+
}
|
|
59
68
|
export interface RetrieveAndGenerateOutputEvent {
|
|
60
69
|
text: string | undefined;
|
|
61
70
|
}
|
|
@@ -220,6 +220,8 @@ export declare var ManagedSearchBedrockRerankingConfiguration$: StaticStructureS
|
|
|
220
220
|
export declare var ManagedSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
|
|
221
221
|
export declare var ManagedSearchConfiguration$: StaticStructureSchema;
|
|
222
222
|
export declare var ManagedSearchRerankingConfiguration$: StaticStructureSchema;
|
|
223
|
+
export declare var MantleFoundationModelConfiguration$: StaticStructureSchema;
|
|
224
|
+
export declare var MantleFoundationModelModelConfiguration$: StaticStructureSchema;
|
|
223
225
|
export declare var MemorySessionSummary$: StaticStructureSchema;
|
|
224
226
|
export declare var Message$: StaticStructureSchema;
|
|
225
227
|
export declare var Metadata$: 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.1143.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",
|